1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 02:20:21 -08:00
Commit graph

253 commits

Author SHA1 Message Date
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
Karl Heuer
d1208263cd (grep): Fix previous change. 1998-06-01 03:08:53 +00:00
Karl Heuer
a46fddeb85 (compilation-scroll-output): Correct the :version
keyword to be a string.
1998-05-30 15:00:07 +00:00
Richard M. Stallman
7cd960e6e0 (grep-tag-default): New function.
(grep): New default arg when prefix arg is specified.
1998-05-24 01:10:12 +00:00
Andreas Schwab
aa53db6a6e * progmodes/compile.el (compilation-directory-stack): Doc fix.
(compilation-mode): Accept optional parameter and initialize
mode-name from it.
(compile-internal): Pass name-of-mode to compilation-mode.  Don't
set mode-name here.
(compilation-minor-mode): Don't let mode-line-process change.
(compilation-next-error-locus): Use forward-char instead of
move-to-column.
(compilation-parse-errors): Set default-directory from head of
compilation-directory-stack.
1998-05-04 08:35:40 +00:00
Richard M. Stallman
4d60e093d5 (compilation-error-regexp-alist):
Handle f90 in  DEC AXP OSF/1 cc  pattern.
1998-03-20 04:41:13 +00:00
Dave Love
9b7dee8699 (compilation-error-regexp-alist): Allow initial
program name in first pattern.
1998-02-24 12:45:02 +00:00
Dave Love
b5812513a4 (compilation-scroll-output): New variable.
(compile-internal): Use it.  Set lazy-lock-defer-on-scrolling.
1998-02-09 19:40:38 +00:00
Karl Heuer
c7c5bbc0b8 (compilation-error-regexp-alist):
New element for Sun F90.
1997-10-27 03:53:24 +00:00
Karl Heuer
355345fd1a (compilation-forget-errors):
Reinit compilation-directory-stack the way compile-internal does.
(compilation-parse-errors): Don't let default-directory change.
1997-10-15 23:34:58 +00:00
Karl Heuer
22052f1d13 (compilation-mode-font-lock-keywords): Font-lock column numbers. 1997-09-27 16:12:51 +00:00
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