1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

349 Commits

Author SHA1 Message Date
Juri Linkov
6a1cdc5bee (compilation-setup):
Set `next-error-overlay-arrow-position' to nil.  Also set it to
nil in the local hook `kill-buffer-hook'.  Make local variable
`overlay-arrow-string' and set it to "=>".
(compilation-goto-locus): Set BOL position to
`next-error-overlay-arrow-position' instead of
`overlay-arrow-position'.
2005-04-07 15:15:38 +00:00
Juri Linkov
073fcaf68b (compilation-goto-locus):
Use `next-error-highlight-timer' instead of `sit-for'.
2005-03-29 04:57:52 +00:00
Daniel Pfeiffer
deda0c6558 Add comment for compilation-directory-properties. 2005-03-03 20:08:21 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Eli Zaretskii
cf63e6fa17 (compilation-start): Bind buffer-read-only to nil before
invoking call-process.  Reset buffer's modified flag after
fontifying it in the no-async branch.
2005-01-29 15:52:07 +00:00
Richard M. Stallman
749354f058 (compilation-find-buffer): Rename arg. 2004-12-27 16:09:37 +00:00
Kim F. Storm
0ac804df79 (compilation-minor-mode-map)
(compilation-button-map, compilation-mode-map):
Map follow-link to mouse-face.
2004-12-17 15:18:39 +00:00
Richard M. Stallman
261b01c642 *** empty log message *** 2004-11-25 03:22:56 +00:00
Richard M. Stallman
5988691b04 (compilation-mode-map): Don't inherit from compilation-minor-mode-map;
copy its bindings instead.  But the menu bar Compile entry now does
inherit from compilation-menu-map.
2004-11-25 03:01:10 +00:00
Daniel Pfeiffer
12221c849b (compilation-start): In cd command use substitute-env-vars -- not quite shell compatible but better than nothing.
(compilation-error-regexp-alist-alist): Simplify ftnchek to only handle the newer versions messages, which are more parseable.
2004-11-22 23:31:28 +00:00
Stefan Monnier
bd8c6db5dc (compilation-setup): Don't set buffer-read-only.
(compilation-mode): Set it here instead.
2004-11-16 04:52:19 +00:00
Stefan Monnier
9c8e6c852c (compilation-move-to-column): New fun.
(compilation-internal-error-properties)
(compilation-next-error-function): Use it to make sure we don't go past
the end of line.
2004-11-15 23:10:38 +00:00
Stefan Monnier
930a3e462e (compilation-internal-error-properties):
Fix up a transposition-typo.  Check end-col before using it.
2004-11-15 04:51:50 +00:00
Juri Linkov
20320c6516 (compile): Don't overwrite last command in minibuffer history
with default command if they are not equal.
2004-11-08 12:19:14 +00:00
Daniel Pfeiffer
9fcabe7952 (compilation-error-regexp-alist-alist) extend irix for NAG Fortran and add ftnchek-* 2004-10-27 09:10:27 +00:00
Daniel Pfeiffer
199143f1fb (compilation-start): Rely on `cd' to get dir right and also allow argumentless cd. 2004-10-20 22:31:56 +00:00
Richard M. Stallman
4f331dedca (compilation-setup): Don't set buffer-read-only if MINOR is non-nil. 2004-10-19 16:48:30 +00:00
Juri Linkov
577bf5d26e (compilation-start): Move let-binding of
`process-environment' into `with-current-buffer' body.
Reported by Matt Hodges <MPHodges@member.fsf.org>.
2004-10-16 18:38:36 +00:00
Richard M. Stallman
d42c87ab53 (compilation-start): Assume compilation-mode will make the buffer read-only.
(compilation-mode): Take arg name-of-mode.
(compilation-setup): Make buffer read-only.
(compilation-handle-exit): Bind inhibit-read-only.
2004-10-16 15:12:25 +00:00
Daniel Pfeiffer
489a8034ae Parse command to see if it starts with a cd, and if so perform it for the *compilation* buffer. Change the header to reflect this. 2004-09-12 18:08:12 +00:00
Juri Linkov
221206e334 (compilation-mode-map): Rename next-error-follow-mode' to next-error-follow-minor-mode'. 2004-09-08 20:21:15 +00:00
Juri Linkov
8041ea759c (compilation-start): Use copy of `process-environment'
created by `copy-sequence' to not override env-vars
in the global `process-environment'.
2004-09-07 18:21:45 +00:00
Eli Zaretskii
e99212b659 (compilation-mode-map): Bind toggle-next-error-follow-mode. 2004-09-04 12:47:21 +00:00
Juri Linkov
9dc3a46a44 (compilation-error-properties): Allow to funcall col and end-col.
(compilation-mode-font-lock-keywords): Check col and end-col by `integerp'.
(compilation-goto-locus): If end-mk is non-nil in transient mark
mode don't activate the mark (and don't display message in
push-mark), but highlight overlay between mk and end-mk.
2004-09-02 16:35:17 +00:00
Juri Linkov
e4aa3c9497 (compilation-buffer-name): Compare major
mode with second element of compilation-arguments instead of third
to reflect latest changes in compilation-arguments structure.
(recompile): Use global variable `compilation-directory' to get
recent compilation directory only when `recompile' is invoked NOT
in the compilation buffer.  Otherwise, use `default-directory' of
the compilation buffer.
2004-09-02 09:45:31 +00:00
Juri Linkov
2beb6aa0e0 (compilation-goto-locus): Use next-error' face instead of region'.
Set 4-th argument of `move-overlay' to `current-buffer' to move overlay
to different source buffers.  Use new variable `next-error-highlight'.
2004-09-01 18:44:35 +00:00
Richard M. Stallman
8ff2ed527d (compilation-mode): Doc fix. 2004-08-16 22:44:56 +00:00
Daniel Pfeiffer
c0090c20f8 (compilation-error-properties): Store one more than end-col, if present, so
that transient-mark-mode will highlight last char too.
2004-06-18 23:00:46 +00:00
Daniel Pfeiffer
b3ef54c5fa (compilation-set-window-height): Rearrange the save-* functions because a buffer can have several current point in different windows.
(compilation-error-regexp-alist-alist): Recognize {standard input} GNU messages (for gcc --pipe) and more kinds of Oracle messages.
2004-06-08 21:36:37 +00:00
Stefan Monnier
eeb3ede408 (compilation-error-regexp-alist): Use expand-file-name and data-directory. 2004-05-28 21:11:41 +00:00
Eli Zaretskii
bc3621a08e (compilation-warning-face, compilation-info-face): Use min-colors. 2004-05-15 12:17:22 +00:00
Daniel Pfeiffer
0e52264f1c (compilation-set-window-height): Use save-excursion to protect against misplaced marker. 2004-05-12 18:46:24 +00:00
Daniel Pfeiffer
c39bf546b9 (compile): Add universal prefix arg.
(compilation-error-regexp-alist-alist): Add edg patterns.
2004-05-10 21:00:00 +00:00
Stefan Monnier
822001db2a Arch-tags shouldn't be outline headers. 2004-05-02 20:45:51 +00:00
Stefan Monnier
e3bef839dd (compilation-gcpro): New var
(compilation-fake-loc): Use it.
(compilation-forget-errors): Reset it.
2004-05-02 20:44:55 +00:00
Eli Zaretskii
052ca4d1d2 (compilation-start): In the no-async-subprocesses branch, fontify
the buffer explicitly after the process exits.
2004-05-02 17:23:04 +00:00
Eli Zaretskii
cf8f099f0a (compilation-start): In the no-async-subprocesses branch, call
sit-for to give redisplay a chance to show the updated process
status in the mode line.
2004-05-02 15:38:02 +00:00
Stefan Monnier
9b7b51a21e (compilation-messages-start): New var.
(compilation-mode): Don't setup next-error-function here.
(compilation-setup): Set it up here instead (for minor modes as well).
Make compilation-messages-start buffer local.
(compilation-next-error-function): Use it.
(compilation-forget-errors): Set compilation-messages-start.
2004-05-01 21:13:00 +00:00
Stefan Monnier
0ff7f01e85 (compilation-last-buffer): Add var alias. 2004-04-29 19:02:12 +00:00
Juri Linkov
a3a9c080fa (compilation-context-lines): Add nil option to disable compilation output window scrolling.
(compilation-set-window): Use it.
2004-04-29 15:31:38 +00:00
Richard M. Stallman
cc366e3370 (compilation-context-lines): Default now 0. 2004-04-28 08:36:09 +00:00
Daniel Pfeiffer
dbd9767235 (compilation-error-regexp-alist-alist): Also recognize severe Irix et al. messages.
(compilation-normalize-filename, compile-abbreviate-directory): Delete functions.

(compilation-get-file-structure): New function inherits functionality of the two preceding ones.

(compilation-internal-error-properties, compilation-fake-loc): Use it so that different paths to the same file share the same markers.  Also optimize finding adjacent marker slightly.
2004-04-25 12:55:43 +00:00
Stefan Monnier
f71d34b0a8 (compilation-mode-font-lock-keywords):
Minor sanity check on the `hyperlink' slot.
2004-04-21 22:37:16 +00:00
Kim F. Storm
5d9f0de2de From: Teodor Zlatanov <tzz@lifelogs.com>
(compilation-start): Set next-error-last-buffer so
next-error knows where to jump.
(compilation-setup): Set the buffer-local variable
next-error-function to 'compilation-next-error-function.
(compilation-buffer-p, compilation-buffer-internal-p): Use an
alternate way to find if a buffer is a compilation buffer, for
next-error convenience.
(next-error-no-select, previous-error-no-select, next-error)
(previous-error, first-error): Move to simple.el.
(compilation-find-buffer): Move to next-error-find-buffer in simple.el.
(compilation-last-buffer): Remove.
(compilation-start, compilation-next-error, compilation-setup)
(compilation-next-error-function, compilation-find-buffer):
Remove compilation-last-buffer use.
2004-04-21 21:37:18 +00:00
Stefan Monnier
efb0e677c7 (compilation-error-properties): Split in two.
(compilation-internal-error-properties): New one.
(compilation-compat-error-properties): Use it to fix the non-marker case.
2004-04-20 20:36:43 +00:00
Andreas Schwab
fe4dda18f0 (compilation-start): Set window start to
point-min if compilation-scroll-output is nil.
2004-04-18 11:04:24 +00:00
Stefan Monnier
6f5b76274c Doc fixes.
(compilation-error-regexp-alist-alist)
(compilation-mode-font-lock-keywords): Allow non-ASCII where possible.
(compilation-assq): Wrap in eval-when-compile.
(compilation-mode-font-lock-keywords): Don't use list*.
(compilation-start): Avoid warning.
(compilation-compat-error-properties)
(compilation-directory-properties): Add keymap property.
(compilation-parsing-end): Make it a marker for better compatibility.
2004-04-16 23:22:07 +00:00
Daniel Pfeiffer
eb6fb6e2d5 (compilation-error-properties): Fix for adding messages when there are already
markers for their file.
(compilation-fake-loc): New function.
2004-04-16 23:06:34 +00:00
Stefan Monnier
60470fd2ec (compilation-button-map): New keymap.
(compilation-error-properties): Use it.
(compilation-shell-minor-mode-map): Don't bind mouse-2.
2004-04-14 18:12:05 +00:00
Stefan Monnier
a6cd3f650d (compile-goto-error): Use it. 2004-04-14 17:30:49 +00:00