Commit graph

739 commits

Author SHA1 Message Date
Stefan Monnier
8f36a284bc (compile-mouse-goto-error, compile-goto-error):
Consider the text between two errors as belonging to the first error.
(compilation-goto-locus): Use pop-to-buffer rather than
switch-to-buffer-other-frame.
2001-10-12 17:43:05 +00:00
Gerd Moellmann
7bdb67b2b3 (compilation-buffer-name): New function.
(compile-internal): Use it to determine the name of the
compilation buffer.
2001-10-05 12:43:13 +00:00
Miles Bader
a45717daf6 (grep-use-null-device): New variable.
(grep-command): Mention `grep-use-null-device'.
(grep-compute-defaults): Compute `grep-use-null-device' if necessary.
Make computation of `grep-command' respect `grep-use-null-device'.
(grep): Respect `grep-use-null-device'.
Call `grep-compute-defaults' even if grep-command is set, if
grep-use-null-device is still tentative.
2001-10-05 12:30:52 +00:00
Sam Steingold
005e3bb665 w32 find cannot be used with `grep-find'. 2001-09-19 20:59:24 +00:00
Gerd Moellmann
bcdb34a4a3 (grep-compute-defaults): Don't set
grep-command/grep-find-command when it is already non-nil.
(grep-command): Make it a user option.
(grep-find-command): Likewise.
2001-09-13 09:11:53 +00:00
Eli Zaretskii
31fac3b80f (compile-internal): If EMACS is already
defined in the environment, don't override its value.
2001-07-23 15:24:00 +00:00
Stefan Monnier
5b6858da26 (compilation-parse-errors): `linenum' might return a this-error using
the alternative format (a pair of markers).
2001-07-19 21:46:37 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Eli Zaretskii
08de70d7bc (compile-reinitialize-errors): Add help-echo to mouse-highlighted messages.
(compilation-forget-errors): Remove help-echo property as well.
2001-06-17 11:21:07 +00:00
Eli Zaretskii
ec321d7767 (grep-compute-defaults): Use null-device
instead of literal /dev/null. Reported by Jens Schmidt
<schmidt@mathematik.uni-kl.de>.
2001-04-06 14:44:27 +00:00
Eli Zaretskii
0d140e65af (grep-regexp-alist): Remove the blank from
the character class after the (optional) drive, to support file
names with embedded blanks.
2001-02-16 11:52:52 +00:00
Gerd Moellmann
e751216899 (compilation-forget-errors): Fix indentation. 2000-12-23 15:42:36 +00:00
Stefan Monnier
3f314699c3 (grep): `tag-default' can be nil. 2000-11-14 19:30:53 +00:00
Stefan Monnier
02c1bd081b (compile-collect-regexps): Use dolist and push. 2000-10-05 23:47:14 +00:00
Stefan Monnier
ffb4b7a11d (grep): Provide a default set of files.
(next-error): Docstring fix.
(compilation-find-file): Avoid find-file (fails in a dedicated window).
2000-08-16 20:20:43 +00:00
Gerd Moellmann
18aac618fa (compilation-setup): Make variable
compilation-error-screen-columns buffer-local, as some comment
in the code suggests it should be.
2000-08-08 18:30:47 +00:00
Stefan Monnier
32d6fffb81 (compile-internal): Style typo. 2000-05-23 20:14:43 +00:00
Dave Love
f1ed9461a9 Add to debug-ignored-errors. 2000-05-22 17:41:53 +00:00
Gerd Moellmann
2497076e21 (compilation-parse-errors): Collect
`nomessage' regexps last.
2000-05-16 14:31:54 +00:00
Gerd Moellmann
92d8844ebe (compile-internal): Display the compilation
buffer in a different frame, if it's already displayed there.
2000-04-03 21:20:05 +00:00
Thien-Thi Nguyen
721cfafec9 (compilation-goto-locus): Delete hideshow overlays if they interfere.
(compilation-find-file): Make intangible overlays tangible.
1999-12-26 12:59:52 +00:00
Gerd Moellmann
9dd1cf67c2 (compilation-parse-errors): Use
compilation-buffer-p instead of testing major-mode.
1999-11-18 15:57:55 +00:00
Gerd Moellmann
e8d017d059 * progmodes/compile.el (compilation-error-regexp-alist):
Undo previous change.
1999-10-30 19:15:17 +00:00
Gerd Moellmann
40d63d1fee (compilation-error-regexp-alist): Recognize
MIPS Pro 7.3 compiler error message syntax.
1999-10-28 11:20:17 +00:00
Dave Love
851231e955 Checkdoc-inspired fixes. 1999-10-27 22:38:17 +00:00
Dave Love
04f12e5765 Comment. 1999-09-09 20:16:02 +00:00
Richard M. Stallman
e3c0f9ded6 (compilation-error-regexp-alist): New item for SGI IRIX MipsPro compilers. 1999-08-29 19:54:39 +00:00
Richard M. Stallman
3d8be0c945 (compilation-error-regexp-alist):
Fix the Perl -w entry to allow period after line number.
Don't allow newlines in file name, but allow them after line number
for Perl debugging traces.
1999-08-29 19:44:22 +00:00
Richard M. Stallman
c4d7c00a24 (compilation-parsing-end,compilation-setup)
(compilation-filter, compilation-forget-errors)
(compilation-parse-errors): Use a marker instead of an integer for
`compilation-parsing-end'.
1999-08-29 19:07:33 +00:00
Karl Heuer
47d1bc29bb Deal with compilation-error-screen-columns being buffer-local. 1999-06-27 21:43:52 +00:00
Dave Love
a0730fbd38 (compilation-error-regexp-alist): Allow
digits in program name in first pattern.
1999-06-09 17:57:05 +00:00
Karl Heuer
717149ecaf (compilation-error-regexp-alist): Recognize C++Build 4.0 error message syntax. 1999-04-26 05:09:59 +00:00
Karl Heuer
ac6b7d7858 (grep-compute-defaults): If xargs -e isn't supported, use find -exec. 1999-04-26 04:49:42 +00:00
Richard M. Stallman
01c504479b (compilation-handle-exit): Do right thing
if (car status) doesn't end in a newline.
1999-04-03 14:04:39 +00:00
Richard M. Stallman
bccc6e3d9f (compile-internal): Use save-selected-window. 1999-02-16 03:36:28 +00:00
Richard M. Stallman
4315d68ee5 (compile-auto-highlight): Customize. 1999-02-09 09:14:34 +00:00
Richard M. Stallman
474d71ae8b (compilation-setup): Set value of
compilation-directory-stack as in compilation-forget-errors.
(compile-reinitialize-errors): Bind buffer-undo-list and deactivate-mark.
(compilation-forget-errors): Likewise.
1999-02-08 23:50:42 +00:00
Dave Love
41a3354e11 (compile-mouse-goto-error): Don't lose with
null markers.
(compile-goto-error): Likewise.
1999-02-05 15:19:54 +00:00
Richard M. Stallman
667aec946d (compilation-next-error-locus): Don't decrease argument FIND-AT-LEAST
of compilation-next-error-locus.
1999-02-01 10:38:08 +00:00
Richard M. Stallman
d28701c72f (compilation-goto-locus): If already in the
compilation buffer's window, keep it in that window.
(compile-mouse-goto-error): Add Doc.  Don't play with windows.
(compile-goto-error): Don't play with windows.
1999-01-18 01:10:25 +00:00
Richard M. Stallman
7052680be6 (compilation-shell-minor-mode): New function. 1999-01-11 17:37:34 +00:00
Karl Heuer
d914bed56b (compilation-error-regexp-alist): Insist on a non-digit in the file name. 1998-12-14 03:12:21 +00:00
Karl Heuer
e228c7e2d4 (compilation-error-regexp-alist): Fix regexp to match
"ChangeLog:1:1998-12-09 ..."
1998-12-14 03:06:46 +00:00
Andreas Schwab
f8e03ecbd3 (compilation-error-screen-columns): New
variable.
(compilation-next-error-locus): Use it to decide whether to use
forward-char or move-to-column.
1998-09-18 09:06:20 +00:00
Karl Heuer
ae9e2dc7ae (compilation-error-regexp-alist):
Fix previous change: allow . and _ in command name.
1998-09-10 15:58:37 +00:00
Karl Heuer
8d9fbccc36 (compilation-error-regexp-alist):
In first pattern (GNU utilities and other things),
allow a space after the optional program name at the beginning.
1998-09-06 14:20:14 +00:00
Richard M. Stallman
966c0a72c3 (next-error): Doc fix.
(grep): Doc fix.
1998-08-09 06:31:29 +00:00
Richard M. Stallman
c6d464ec64 (grep): Doc fix.
(next-error): Doc fix.
1998-07-19 22:17:03 +00:00
Richard M. Stallman
1ffddaf4d4 (grep-command): Initialize to nil.
(grep-find-command): Initialize to nil.
(grep-find-use-xargs): Initialize to nil.
(grep-compute-defaults): New function, sets those three vars properly.
(grep, grep-find): Call grep-compute-defaults if ...command variable
is still nil.
(grep-program): Doc fix.
1998-06-23 15:51:47 +00:00
Richard M. Stallman
cb60918c9c (grep-null-device): Variable deleted.
(grep-command, grep-find-use-xargs): Use null-device.
(grep, grep-find): Use null-device.
1998-06-09 02:52:12 +00:00