Simon Marshall
32f4ab179e
Add ... to relevant menu entries.
1997-02-21 09:46:03 +00:00
Simon Marshall
e93b2a5541
Rewrite Font Lock support.
1997-02-21 09:42:44 +00:00
Eli Zaretskii
acffd065e3
(grep-process-setup): New function, sets up the
...
exit message function in a way that works when async processes
aren't supported.
(grep): Use `grep-process-setup'.
1997-02-20 16:11:48 +00:00
Eli Zaretskii
167d14181c
(compile-mouse-goto-error): Move to end of line
...
before calling `compile-reinitialize-errors', so that it always
sees the entire filename.
1997-02-19 15:48:50 +00:00
Eli Zaretskii
49683a1376
* (compilation-process-setup-function): New variable.
...
(compile-internal): Call compilation-process-setup-function if
it is non-nil.
1997-02-09 16:03:50 +00:00
Richard M. Stallman
e1ebe229b9
(compilation-enter-directory-regexp)
...
(compilation-leave-directory-regexp): Add .* at beginning.
1997-01-31 06:17:06 +00:00
Richard M. Stallman
e82654b771
(compilation-error-regexp-alist): Undo 1/21 change.
...
In the GNU message with program name alternative,
allow digits in the program name after the first character.
1997-01-28 05:04:25 +00:00
Richard M. Stallman
2fa55e202f
(compilation-parse-errors): Use looking-at on each line.
...
(compilation-error-regexp-alist): Change these regexps
so that they assume matching only at start of line.
Delete \n at beginning; otherwise add `.*'.
1997-01-23 21:49:59 +00:00
Richard M. Stallman
7a38448799
(compilation-error-regexp-alist):
...
In MIPS lint and Sun Ada regexps, reject newline in some
[^...] constructs. Require newline at start in MIPS lint.
1997-01-22 08:02:25 +00:00
Karl Heuer
d9b73ccc49
compile.el (first-error): Doc fix.
1997-01-15 00:20:37 +00:00
Richard M. Stallman
01e6e8c904
(compile-auto-highlight): Renamed from
...
compile-highlight-display-limit.
1996-11-05 18:42:30 +00:00
Richard M. Stallman
37f5f97896
(compile-highlight-display-limit): New variable.
...
(compilation-handle-exit): Parse error messages here
as specified by compile-highlight-display-limit.
(compile-reinitialize-errors): Add highlighting to error messages
once they are parsed.
(compilation-forget-errors): Remove highlighting properties here.
1996-11-05 18:27:52 +00:00
Karl Heuer
c41fe44640
(compilation-skip-to-next-location): Defined.
...
(compilation-next-error-locus, compilation-parse-errors): Respect it.
1996-10-20 05:37:38 +00:00
Richard M. Stallman
4cc36b1786
(compilation-finish-functions): New variable.
...
(compilation-handle-exit): Run compilation-finish-functions.
1996-09-01 20:23:30 +00:00
Richard M. Stallman
0c43cc8912
(compilation-error-regexp-alist): Add regexp
...
for Microsoft VC++ error messages containing drive letters.
1996-04-26 19:45:16 +00:00
Roland McGrath
95d219b53e
(compilation-find-buffer): Only choose compilation-last-buffer if it is
...
compilation-buffer-p.
1996-03-14 15:32:38 +00:00
Richard M. Stallman
f50adf13bd
(compilation-parse-errors):
...
Collapse //'s using command-line-normalize-file-name.
1996-03-01 20:13:42 +00:00
Erik Naggum
b90a00f27f
(compilation-minor-mode): Add missing `)'.
1996-02-22 02:45:43 +00:00
Roland McGrath
fee3f63a1c
(compilation-minor-mode): Run compilation-minor-mode-hook.
1996-02-21 16:32:37 +00:00
Roland McGrath
6014138c23
(compilation-parse-errors): Detect doubled slashes in file names matched
...
and fix them up in the buffer.
1996-02-13 03:05:14 +00:00
Richard M. Stallman
d89793b7b8
(compilation-filter): Run compilation-filter-hook.
1996-02-01 07:22:14 +00:00
Karl Heuer
52f8462227
(compilation-handle-exit): Undo previous change.
...
Don't reference `proc' object.
Pass current buffer to `compilation-finish-function'.
1996-01-23 17:51:09 +00:00
Karl Heuer
d91cddc27a
(compilation-handle-exit): If process-status doesn't
...
exist (e.g. on MSDOS), use an empty string.
1996-01-21 03:55:57 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Roland McGrath
3e8258e7f5
(compilation-error-regexp-alist, grep-regexp-alist
...
compilation-mode-font-lock-keywords): Allow leading "[a-zA-Z]:" in file
name regexps, for DOS drive letters.
1996-01-06 21:20:51 +00:00
Roland McGrath
369d3cdc63
Mon Nov 6 18:01:01 1995 Dave Love <d.love@dl.ac.uk>
...
* compile.el (compilation-error-regexp-alist): Add MIPS lint
regexps.
1996-01-06 21:11:08 +00:00
Roland McGrath
b1707ae465
(compilation-error-regexp-alist): Broaden GNAT regexp to match column numbers.
1996-01-06 21:09:40 +00:00
Roland McGrath
21f47958e4
(compilation-error-regexp-alist): Add regexp for IBM AIX xlc compiler.
1996-01-06 21:03:47 +00:00
Roland McGrath
fd5e58d78d
(compilation-handle-exit): New function, broken out of compilation-sentinel.
...
(compilation-sentinel, compile-internal): Use it.
(compilation-exit-message-function): Doc fix for protocol change: take
process status and exit-code args instead of process object.
(grep): Use new protocol for compilation-exit-message-function.
1996-01-06 20:54:19 +00:00
Karl Heuer
9c09c0080c
(compilation-error-list): Doc fix.
1996-01-04 23:30:53 +00:00
Richard M. Stallman
d3e5689115
(compile-internal): On systems with no asynchronous
...
processes: do relevant parts of compilation-sentinel after the
process exits; make modeline during and after compilation be
similar to what compilation-sentinel displays.
1995-12-23 07:13:31 +00:00
Roland McGrath
501cf4283f
(compilation-mode): Add autoload cookie.
1995-12-20 19:41:30 +00:00
Richard M. Stallman
256e4874e9
(compilation-sentinel): Use the local value of
...
compilation-exit-message-function in the process buffer.
1995-11-14 03:48:33 +00:00
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