Simon Marshall
c81b38d300
compilation-mode-font-lock-keywords tweak
1995-11-09 08:20:16 +00:00
Roland McGrath
01f89d1183
(compilation-exit-message-function): New variable.
...
(compilation-sentinel): If compilation-exit-message-function is non-nil,
call it to produce messages for buffer and mode line.
(grep): Use that variable to produce snazzier messages.
1995-08-21 22:15:58 +00:00
Roland McGrath
cfda7e6dda
(compilation-error-regexp-alist): Add regexp for Sun ada.
1995-08-04 18:02:02 +00:00
Richard M. Stallman
09843b4a11
(grep-null-device): Defined.
...
(grep): Use grep-null-device.
1995-06-16 04:36:55 +00:00
Roland McGrath
cd494de497
(compilation-find-file): If FILENAME is absolute, apply
...
abbreviate-file-name to it and then use its directory part as the first
search path element, searching for its nondirectory part.
Fix prompting code not to use a free variable.
(compilation-parse-errors, compile-abbreviate-directory): Use
abbreviate-file-name on directories.
1995-06-14 15:47:10 +00:00
Karl Heuer
0949ba2b07
(compilation-mode-map): Fix capitalization in menu bar.
1995-05-30 22:42:32 +00:00
Roland McGrath
19ae9cb06f
(compilation-error-regexp-alist): In "Cray C" regexp, don't allow newlines.
1995-05-30 19:35:59 +00:00
Roland McGrath
54de3248dc
(compilation-error-regexp-alist): In "IBM C/C++ Tools" regexp, disallow
...
leading spaces and disallow whitespace chars within the file name.
1995-05-26 16:24:57 +00:00
Roland McGrath
eae2c972e7
(compilation-next-error-locus): Ignore zero column number.
...
(compilation-parse-errors): Don't store the beginning of the line
containing the end of the error-regexp match. Instead, store the beginning
of the line containing the start of the match, unless the match starts
with a newline, in which case the beginning of the next line.
1995-05-12 17:26:59 +00:00
Roland McGrath
4dbf8a2c70
(compilation-error-regexp-alist): Add regexps for IBM and Cray compilers.
...
(compilation-next-error-locus): Ignore a column number that is zero.
1995-05-11 00:44:51 +00:00
Richard M. Stallman
5d5ab7ac50
(compile-internal): Disable undo before erasing
...
the buffer, then enable again afterward.
(compilation-sentinel): Use force-mode-line-update.
1995-04-29 16:37:06 +00:00
Roland McGrath
b97089fa54
(compilation-error-regexp-alist): Remove superfluous SGI cc regexp.
1995-04-10 16:45:47 +00:00
Roland McGrath
984ae4edd2
(compilation-error-regexp-alist): Extend Ultrix 3.0 f77 to also match SGI cc.
1995-04-08 20:15:20 +00:00
Karl Heuer
12b4943a37
(compilation-sentinel): Use format';
concat' doesn't
...
stringize integers anymore.
1995-03-24 00:48:45 +00:00
Roland McGrath
20c1daecbc
(compilation-buffer-p): Fix braino in last change: switch to the buffer first.
...
(compilation-error-regexp-alist): Doc fix: optional cdrs give
string containing %s to produce the file name from the matched text.
(compilation-find-file): Reorder args: MARKER first, then FILENAME, DIR,
and new arg &rest FORMATS (as they appear in parsed the fileinfo lists).
Try each of the FORMATS in each directory tried.
(compilation-next-error-locus): Apply compilation-find-file to the FILEINFO
list.
(compilation-parse-errors): Instead of a cons (DIR . FILE), make a list
(FILE DIR [FORMATS...]) using the 4th cdr of the matching elt of
regexp-alist.
1995-03-06 15:51:22 +00:00
Roland McGrath
8fca6c30ae
(compilation-buffer-p): Check for compilation-minor-mode or
...
compilation-mode major mode, rather than internal state variables. Don't
want to match a buffer that was once in compilation-minor-mode but is not now.
1995-02-26 21:37:30 +00:00
Richard M. Stallman
4dba7b41a4
(compile-internal): Force redisplay on compilation
...
buffer before executing compile process.
1995-01-20 23:45:34 +00:00
Richard M. Stallman
4e7ce12e67
(compilation-minor-mode-map): Bind C-m to compilation-goto-error.
1994-12-27 03:47:06 +00:00
Roland McGrath
2d325322c1
(compilation-next-error-locus): Finish last change.
1994-11-30 21:48:37 +00:00
Roland McGrath
4ad26d84e1
(compilation-next-error-locus): Parsed column numbers are 1-origin.
1994-11-30 19:37:48 +00:00
Roland McGrath
08b1edf49f
(compile): With prefix arg, prompt even if (not compilation-read-command).
...
(compilation-error-regexp-alist): Make first regexp match column numbers too.
Remove regexp for "prog:file:line: error".
Replace GNAT 1.82 regexp with "prog: file:line\(:col\)?: error".
(compilation-parse-errors): If spec has a column subexpr, but it was
optional and didn't match, ignore it.
1994-11-10 23:01:15 +00:00
Richard M. Stallman
4cd90f206f
(compilation-error-regexp-alist): Add an element for Irix 5.2 warnings.
1994-11-09 12:46:54 +00:00
Richard M. Stallman
991c70f894
(compilation-filter): Do nothing if buffer is dead.
1994-10-13 07:40:50 +00:00
Simon Marshall
63a2daf6d0
* compile.el: (compilation-mode): Set font-lock-defaults.
1994-10-12 08:13:56 +00:00
Richard M. Stallman
9af0d3093f
(compilation-mode-font-lock-keywords): New variable.
...
(compilation-mode): Use kill-all-local-variables.
Set font-lock-keywords locally.
1994-10-07 09:52:36 +00:00
Richard M. Stallman
fe213bf888
Fix indentation.
1994-09-21 19:05:52 +00:00
Richard M. Stallman
2bb240a98c
(compile-internal): Set EMACS=t in process-environment.
1994-09-16 23:54:06 +00:00
Karl Heuer
5cb9f2dba5
(compilation-sentinel): Include exit status in modeline.
1994-09-16 21:40:54 +00:00
Richard M. Stallman
203a571104
(grep-command): Doc fix.
1994-09-01 21:18:15 +00:00
Richard M. Stallman
8205cbfc8f
(compilation-set-window-height): Add save-excursion.
1994-08-11 21:45:47 +00:00
Richard M. Stallman
c94b02d6f7
(compilation-set-window-height): New function,
...
broken out from compile-internal.
Don't change window height if it is the frame root window.
(compile-internal): Call it.
(compilation-goto-locus): Call it.
Use any visible frame already showing the compilation buffer.
1994-08-08 09:02:40 +00:00
Richard M. Stallman
e60476ca9c
Set up a "Compile" menubar item.
...
(recompile): New function.
(previous-error): New function.
(first-error): New function.
1994-08-02 21:01:04 +00:00
Richard M. Stallman
05d9e5954d
(compilation-error-regexp-alist): Fix previous change.
...
Add alternatives for GNU error messages with program name in them.
1994-08-01 00:39:26 +00:00
Richard M. Stallman
69d4d27f67
(compilation-error-regexp-alist): Make separate
...
regexp for Borland C++; the combined one matched too much.
1994-07-31 19:00:42 +00:00
Richard M. Stallman
d86bdede4d
(compilation-error-regexp-alist): Fix bug in Borland
...
C++ change. Make first regexp reject cases that give column
numbers. Add new regexp for GNU format with column numbers.
1994-07-27 17:52:02 +00:00
Richard M. Stallman
7fb63acd84
Finish installing previous change.
1994-07-26 21:23:38 +00:00
Richard M. Stallman
b4300a1a6c
(compilation-next-error-locus): New arg SILENT.
1994-07-26 19:18:06 +00:00
Richard M. Stallman
37fd22082c
(compilation-error-regexp-alist): Allow `(' after
...
linenum in "FILE", line LINENUM. Add backslash so C-M-a works.
1994-07-19 20:03:12 +00:00
Richard M. Stallman
8eb2676516
(compilation-next-error-locus): Don't call
...
compilation-forget-errors if compilation is still runing.
1994-07-12 04:09:07 +00:00
Richard M. Stallman
6e1dbafa9a
(compilation-window-height): Use defvar.
...
(compilation-leave-directory-regexp): Likewise.
(compilation-enter-directory-regexp): Likewise.
1994-07-11 00:24:26 +00:00
Roland McGrath
81d93b5e63
Fix regexp in last change.
1994-06-14 00:58:05 +00:00
Roland McGrath
e7601974b0
(compilation-error-regexp-alist): Extend first regexp to handle Borland C++
...
msgs: "Warning" or "Error" before file name.
1994-06-13 23:27:44 +00:00
Richard M. Stallman
c021b7a5dc
(compilation-error-regexp-alist): Stricter Lucid regexp.
1994-06-02 18:15:13 +00:00
Richard M. Stallman
e89a7d771b
(compilation-goto-locus): Handle case where *compilation*
...
is in a dedicated window.
1994-05-19 21:50:30 +00:00
Karl Heuer
f89fdaed3d
(compilation-error-regexp-alist): Add fortran pattern.
1994-04-27 21:57:57 +00:00
Roland McGrath
5d1fa1a04e
(compilation-next-error-locus): Use compilation-error-message instead of
...
"Moved past last error" when MOVE is 1 (default value).
1994-04-25 22:31:41 +00:00
Richard M. Stallman
ebf0b439d5
(compilation-setup, compilation-sentinel):
...
Remove space after `:' in mode-line-process.
1994-04-24 08:15:18 +00:00
Roland McGrath
8425a49a3c
(compilation-parse-errors): Fix references for column number, 3 elt not
...
2nd.
1994-04-20 19:52:37 +00:00
Karl Heuer
676a14e169
(compile-reinitialize-errors): Fix typo in comment.
1994-04-05 02:19:02 +00:00
Karl Heuer
e78e10caf2
(compile-mouse-goto-error): Simplify.
...
(compilation-parse-errors-function): Doc fix.
1994-04-02 05:07:50 +00:00