Richard M. Stallman
35f7e85bda
(compile-internal): Extended to work without asynchronous subprocesses.
1994-01-06 04:33:55 +00:00
Richard M. Stallman
900162957b
(compilation-read-command, compilation-ask-about-save): New variables.
...
(compile): Obey them.
1994-01-01 16:32:44 +00:00
Richard M. Stallman
98b63c412b
(grep-command): New variable.
...
(grep): Use it.
Don't repeat at load time any bindings that are autoloaded.
1993-12-23 02:43:28 +00:00
Roland McGrath
a0c567b516
(compilation-error-regexp-alist): Generalize `"foo.c", line 13:' regexp to
...
also match `"foo.c", line 13 pos 1...".
1993-12-09 01:12:13 +00:00
Brian Fox
a72ba9295c
(compile-internal): Back out jimb change of making buffer read-only. It
...
is non-ergonomic.
1993-09-21 07:00:37 +00:00
Richard M. Stallman
ba2700dbbe
(compilation-parse-errors): Don't add multiple errors for one source line.
1993-08-14 03:45:08 +00:00
Roland McGrath
ed814f55e1
(next-error): Handle zero and negative prefix args.
1993-08-11 21:26:38 +00:00
Roland McGrath
d6bd8dca5d
(compilation-minor-mode): Make variable buffer-local.
...
(compilation-minor-mode): Autoload this function.
1993-08-03 21:38:31 +00:00
Roland McGrath
cacf1905d9
(compilation-error-regexp-alist): Broaden RS6000 regexp to match
...
"lines N-M," or "line N,".
1993-07-30 05:32:45 +00:00
Roland McGrath
fc0094d7bf
(compilation-error-list): An elt's cdr's car is again a cons (DIRECTORY .
...
FILE) if it's not a marker. The conversion to using a string containing an
expanded file name was never finished, and anyway it utterly broke
compilation-search-path and few other things.
(next-error): Expect them that way.
(compilation-parse-errors): Make them that way.
(compile-file-of-error): Function removed.
(compilation-error-filedata, compilation-error-filedata-file-name): New
defsubsts.
(compilation-next-file): Use them instead of compile-file-of-error.
1993-07-18 20:41:08 +00:00
Roland McGrath
2e4301efa5
(compilation-parse-errors): After skipping two lines, move one char back so
...
point before the newline.
1993-07-15 03:08:17 +00:00
Roland McGrath
ff7351344a
(compilation-error-regexp-alist): Broaden ``Line N of "FILE": msg'' regexp
...
to also match Ultrix f77: ``Error on line N of FILE: msg''.
1993-07-08 23:31:58 +00:00
Richard M. Stallman
51501e543e
(compile-abbreviate-directory): New function.
...
(compilation-parse-errors): Use that, to visit files with a dirname
more like the one the user specified.
1993-06-30 22:03:15 +00:00
Jim Blandy
aead2f9fa6
* compile.el (compile-file-of-error): Remember that
...
compilation-error-list stores file names as strings, not as (DIR .
FILE) pairs.
1993-06-22 03:54:25 +00:00
Richard M. Stallman
6d68d7937b
(compilation-error-regexp-alist): Generalize the
...
Apollo/BSD4.3 regexp to handle IBM RS6k too.
1993-06-18 21:40:46 +00:00
Jim Blandy
29478cc523
Doc fix.
1993-06-10 07:22:07 +00:00
Jim Blandy
18710add3c
* compile.el (compilation-error-list): When we haven't yet
...
generated a marker for the source position of an error message,
store (FILENAME . LINE-NUMBER), not ((DIRECTORY . FILE)
LINE-NUMBER). Doc fix.
(next-error, compilation-parse-errors): Adjusted appropriately.
1993-06-10 07:17:33 +00:00
Richard M. Stallman
d4ece6796d
(compile-internal): Alter current buffer only temporarily.
1993-06-06 05:28:30 +00:00
Richard M. Stallman
d973d76918
Make C-x ` binding just once.
1993-05-26 22:36:32 +00:00
Richard M. Stallman
4f6e4ad6cd
(Setting minor-mode-map-alist):
...
Put the map directly in the alist, not a variable name.
1993-05-13 03:14:07 +00:00
Roland McGrath
0b18a8f6e1
Add compilation-minor-mode to minor-mode-alist and minor-mode-map-alist.
...
(compilation-minor-mode): New defvar.
(compilation-minor-mode-map): New defvar; keymap with the bindings
from compilation-mode-map except SPC and DEL.
(compilation-mode-map): Construct this keymap to inherit from
compilation-minor-mode-map.
(compilation-setup): New function, code broken out of compilation-mode.
(compilation-mode): Call it.
(compilation-minor-mode): New function to toggle
compilation-minor-mode; if setting it, call compilation-setup.
1993-04-28 22:44:29 +00:00
Roland McGrath
0e8ec8d0cc
(compile-internal): Initialize the process-mark.
1993-04-07 20:58:20 +00:00
Roland McGrath
f34a4d8dcc
(compilation-error-regexp-alist): Tighten first regexp so that it
...
requires a colon or open-paren before the line number, not just
whitespace.
1993-04-07 20:14:29 +00:00
Roland McGrath
e0446ff70d
(compilation-parse-errors): Remove debugging setq.
1993-04-07 19:57:10 +00:00
Roland McGrath
ad62b7f198
(compilation-filter): New function.
...
(compile-internal): Make it the process's filter.
1993-04-07 18:34:17 +00:00
Roland McGrath
d4035a267d
(compilation-error-regexp-alist): Fixed MIPS CC regexp to match file
...
names longer than one char.
(compilation-parse-errors): Error if compilation-error-regexp-alist is nil.
1993-04-07 18:26:27 +00:00
Roland McGrath
7ee790acbd
(compilation-error-regexp-alist): Merged HP-UX 7.0 fc regexp with the
...
GNU format regexp: just allowing blanks to terminate the line number
makes that one handle the HP case. Merged MIPS RISC CC regexp with
Apollo cc regexp: make "s optional, and don't anchor to bol.
1993-04-05 22:35:50 +00:00
Roland McGrath
7e8d262512
(compilation-error-regexp-alist): Changed MIPS RISC CC regexp (last one) to
...
be anchored at bol, and to never match multiple lines.
1993-04-05 21:13:43 +00:00
Eric S. Raymond
5cc5784116
Fix library headers.
1993-03-23 18:27:03 +00:00
Eric S. Raymond
e41b2db1da
Added or corrected Commentary sections
1993-03-22 03:27:18 +00:00
Eric S. Raymond
e9571d2a21
Add or correct keywords
1993-03-18 21:29:42 +00:00
Roland McGrath
bd3910fef2
(compilation-forget-errors): Just set
...
compilation-directory-stack to nil; no need to loop through it.
(next-error): For a non-numeric prefix arg, pass nil for
compile-reinitialize-errors's FIND-AT-LEAST arg.
(next-error): When getting marker for error source location, be
sure to examine buffer local value of compilation-old-error-list
before switching to source file buffer.
1993-02-08 20:46:10 +00:00
Richard M. Stallman
fdcba502fa
(compilation-sentinel): Change buffer-read-only with let.
1993-01-02 21:21:14 +00:00
Jim Blandy
57c8389c3d
* compile.el (compilation-error-regexp-alist): Tightened up
...
BSD/GNU regexp to insist that line number end with a colon or
close-paren.
* compile.el (compilation-error-regexp-alist): Add regexp for the
MIPS CC distributed with Ultrix.
1992-12-24 06:00:03 +00:00
Jim Blandy
bea1d57a78
* compile.el (compile-internal): Use NAME-OF-MODE in the prompt
...
when offering to kill an existing process.
1992-11-07 06:12:11 +00:00
Roland McGrath
1f82d0e4d0
(compilation-parse-errors): Save (match-beginning 0) in a variable, so the
...
looking-at call doesn't clobber its value when we want to use it to back up
before the error we discard.
Make sure compilation-error-list is at least two elts long before checking
its first two elts for being in the same file.
1992-10-01 02:00:41 +00:00
Roland McGrath
41acdfa97a
(compilation-parse-errors): After we get enough errors to stop early, toss
...
the last one (which is for a different file), so we don't lose
the same way on the next run.
1992-09-30 01:45:47 +00:00
Roland McGrath
3f9e2e5121
(compilation-parse-errors): When we reach FIND-AT-LEAST errors, keep going
...
until we have seen all the consecutive errors in the same file.
1992-09-29 23:59:26 +00:00
Richard M. Stallman
6c43f2f9e9
entered into RCS
1992-09-14 01:33:12 +00:00
Roland McGrath
15d1a8dab6
*** empty log message ***
1992-09-02 23:15:36 +00:00
Roland McGrath
d1ed447584
*** empty log message ***
1992-08-06 23:56:50 +00:00
Roland McGrath
9cac31b842
*** empty log message ***
1992-08-04 22:31:21 +00:00
Roland McGrath
dadb11fbc1
*** empty log message ***
1992-08-04 21:29:26 +00:00
Roland McGrath
b5bb472ebe
*** empty log message ***
1992-08-04 02:02:27 +00:00
Roland McGrath
c540863c29
*** empty log message ***
1992-08-02 03:36:38 +00:00
Roland McGrath
643f763f7d
*** empty log message ***
1992-07-31 00:08:13 +00:00
Roland McGrath
353b13c3e4
*** empty log message ***
1992-07-30 21:09:53 +00:00
Roland McGrath
646bd33103
*** empty log message ***
1992-07-29 05:06:36 +00:00
Roland McGrath
b2bb6ec8ff
*** empty log message ***
1992-07-27 19:54:35 +00:00
Richard M. Stallman
1fcf5f9263
*** empty log message ***
1992-07-24 19:27:07 +00:00