Commit graph

429 commits

Author SHA1 Message Date
Karl Heuer
7933678bcb (compilation-mode-map): Use more meaningful menu name. 1997-09-27 16:06:15 +00:00
Richard M. Stallman
bb40e751be (compilation-parse-errors): Fixed two bugs that
could make compilation-parse-errors loop infinitely.  Each round
of the parsing loop now either moves point ahead at least a line
or sets `found-desired' to true to stop the loop.
1997-09-12 19:53:33 +00:00
Richard M. Stallman
e83be08050 (compilation-ask-about-save): Add autoload cookie. 1997-09-05 19:41:25 +00:00
Richard M. Stallman
d2705a1815 (compilation-error-regexp-alist): Allow spaces in file names for Microsoft C;
check more carefully for the rest of the error message.
1997-08-29 02:08:28 +00:00
Richard M. Stallman
96db060f63 (compilation-error-regexp-alist): New regexp for Caml. 1997-08-14 22:11:09 +00:00
Richard M. Stallman
2f5f9dbd56 (compilation-parse-errors): Fix previous change. 1997-08-06 02:47:18 +00:00
Richard M. Stallman
51e9459c62 (compilation-error-regexp-alist): Make the
MIPS/DEC pattern more specific at the start; accept warnings
as well as errors.
1997-08-05 08:06:52 +00:00
Richard M. Stallman
61c4aaf86e (compile-command): More doc fix. 1997-07-27 19:25:02 +00:00
Richard M. Stallman
f610c00ada (compile-command): Doc fix. 1997-07-25 19:02:00 +00:00
Richard M. Stallman
5dfa3d3536 (compilation-error-regexp-alist): Add elt for EPC F90.
compilation-mode-font-lock-keywords: Ensure that each
regexp generated from compilation-error-regexp-alist begins with "^".
1997-07-25 17:29:29 +00:00
Richard M. Stallman
b1b56e0136 (compilation-error-regexp-alist):
Support for IAR Systems C compiler added.
1997-07-04 21:05:11 +00:00
Richard M. Stallman
9cab952df9 (compilation-parse-errors): Skip 2 lines only for Compilation major mode. 1997-07-02 19:29:45 +00:00
Richard M. Stallman
7ce22b4126 (compilation-error-regexp-alist): New item, for Oracle compiler. 1997-06-27 22:35:21 +00:00
Richard M. Stallman
000a6a765e (grep-program): Comment out the use of zgrep. 1997-06-16 23:20:46 +00:00
Richard M. Stallman
5885633586 (compilation-parse-errors): Fix paren error.
(compilation-arguments): New local variable.
(compile-internal): Set the variable compilation-arguments.
(compilation-revert-buffer): New function.
(compilation-mode): Set revert-buffer-function.
1997-05-19 01:04:04 +00:00
Richard M. Stallman
0a35bd795b (compilation-mode): Add a mode-class property. 1997-05-05 01:08:45 +00:00
Richard M. Stallman
c5049fa0d9 Use defgroup and defcustom. 1997-05-04 02:29:41 +00:00
Richard M. Stallman
a24770bc7b Support compilers that give a message each time the file being
compiled changes but don't include a file name each error message.
Speed up by searching for regexps one by one instead of combining.
(compile-internal): Takes more optional arguments.  All five regexp
alists can be given as argument.
Change name of variable regexp-alist to error-regexp-alist. Change
some local variables directly by setq instead of rebinding by let.
(compilation-shell-minor-mode): New minor mode.
Similar to compilation-minor-mode, but key bindings don't
collide with shell mode.
(compilation-shell-minor-mode-map, compilation-shell-minor-mode):
New variables.
(compile-auto-highlight): Doc fix.
(compilation-error-regexp-alist): Removed unnecessary line break
in first regexp.  Replaced \\(\\|.* on \\) by \\(.* on \\)? in
regexp for Absoft FORTRAN 77 Compiler 3.1.3.  Added regexp for
SPARCcompiler Pascal.  Divided long line in regexp for Cray C
compiler error messages.  Made comment fit in line at regexp for
Sun Ada (VADS, Solaris).  FILE-IDX may be nil, meaning an
error message with no file name, so the file name must be taken
from an earlier message.  LINE-IDX may be a function which is
called with two arguments the file name and column strings and
returns an error position descriptor.
(compilation-enter-directory-regexp-alist)
(compilation-leave-directory-regexp-alist): New variables.
(compilation-file-regexp-alist)
(compilation-nomessage-regexp-alist): New variables.
(grep-regexp-alist): Removed unnecessary ^ at beginning of regexp.
(compilation-enter-directory-regexp)
(compilation-leave-directory-regexp): Variables deleted.
Replaced by compilation-enter-directory-regexp-alist and
compilation-leave-directory-regexp-alist.
(compilation-buffer-p): Return true also for buffer in
compilation-shell-minor-mode.
(compilation-next-error-locus): Split a long line.
(count-regexp-groupings): Comment about this function not being
needed any more.
(compilation-current-file, compilation-regexps); New variables.
(compilation-parse-errors): Large parts rewritten.  Don't put the
regexps together in one large regexp, instead match them one by one.
Support the generalized subexpression indices.
(compile-collect-regexps, compile-buffer-substring): New functions
supporting compilation-parse-errors.
1997-05-03 04:37:52 +00:00
Richard M. Stallman
cbf7f476d4 (compilation-error-regexp-alist): Add regexp for Perl -w. 1997-04-27 21:54:54 +00:00
Richard M. Stallman
54bfce8a12 (grep-null-device): Move before first use. 1997-04-01 22:17:59 +00:00
Richard M. Stallman
201bf3329c (grep-program): New variable.
(grep-command): Use it, and test whether it supports the -e
option; fix doc string (last command is stored in history variable).
(grep-null-device): Declare before grep-program and grep-command.
(grep-find-use-xargs, grep-find-command, grep-find-history):
New variables.
(grep-find): New command.
(grep): Only concatenate grep-null-device to COMMAND when it's
not nil (to support grep-find).
1997-03-24 23:59:44 +00:00
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