Daniel Pfeiffer
51c8ad03e0
C-x ` fixes
2004-04-01 10:42:04 +00:00
Daniel Pfeiffer
b13a305e01
restore (require 'font-lock) which is still needed
2004-03-28 13:23:39 +00:00
Daniel Pfeiffer
24299582eb
doc fixes and restore optionality of next-error's arg
2004-03-28 08:32:16 +00:00
Kim F. Storm
043442b4f3
(compilation-start): Always set compilation-last-buffer and return it.
2004-03-19 00:21:43 +00:00
Stefan Monnier
0cb687c094
(compilation-error-regexp-alist-alist): Whitespace fixup.
2004-03-11 22:46:54 +00:00
Stefan Monnier
7837c24765
(compile-auto-highlight)
...
(compilation-error-list, compilation-old-error-list)
(compilation-parse-errors-function, compilation-parsing-end)
(compilation-error-message, compilation-directory-stack)
(compilation-enter-directory-regexp-alist)
(compilation-leave-directory-regexp-alist)
(compilation-file-regexp-alist, compilation-nomessage-regexp-alist)
(compilation-current-file, compilation-regexps): Remove vars.
(compile-error-at-point, compilation-error-filedata)
(compilation-error-filedata-file-name, compile-reinitialize-errors)
(compilation-next-error-locus, compilation-forget-errors)
(count-regexp-groupings, compilation-parse-errors)
(compile-collect-regexps, compile-buffer-substring): Remove funs.
(compile-internal): Make obsolete.
(compilation-first-column, compilation-error)
(compilation-directory-matcher, compilation-page-delimiter)
(compilation-mode-font-lock-keywords, compilation-debug)
(compilation-error-face, compilation-warning-face)
(compilation-info-face, compilation-line-face)
(compilation-column-face, compilation-enter-directory-face)
(compilation-leave-directory-face, compilation-skip-threshold)
(compilation-skip-visited, compilation-context-lines): New vars.
(compilation-warning-face, compilation-info-face)
(compilation-message-face): New faces.
(compilation-error-regexp-alist-alist): New constant.
(compilation-face, compilation-directory-properties)
(compilation-assq, compilation-error-properties, compilation-start)
(define-compilation-mode, compilation-loop)
(compilation-set-window): New functions.
(compile): Additional argument for interactive compiles like TeX.
2004-03-11 22:39:29 +00:00
Eli Zaretskii
ebb8cb682a
(compilation-directory): New defvar.
...
(compile): Save current directory in compilation-directory.
(recompile): Bind default-directory to compilation-directory if
that is non-nil.
2004-02-16 12:53:25 +00:00
Richard M. Stallman
b34e9a285f
(compile-internal): Use point, not point-min, for set-window-point.
2004-01-03 22:38:10 +00:00
Kim F. Storm
9ac5747987
(grep-command, grep-use-null-device)
...
(grep-find-command, grep-tree-command, grep-tree-files-aliases)
(grep-tree-ignore-case, grep-tree-ignore-CVS-directories)
(grep-regexp-alist, grep-program, find-program)
(grep-find-use-xargs, grep-history, grep-find-history)
(grep-process-setup, grep-compute-defaults)
(grep-default-command, grep, grep-tag-default, grep-find)
(grep-expand-command-macros, grep-tree-last-regexp)
(grep-tree-last-files, grep-tree): Move grep variables, functions
and commands to new file grep.el.
(compilation-mode-map): Remove grep commands from Compile sub-menu.
(compilation-process-setup-function): Doc fix.
(compilation-highlight-regexp, compilation-highlight-overlay): New
defvars used for highlighting current compile error in source buffer.
(compile-internal): New optional args HIGHLIGHT-REGEXP and
LOCAL-MAP which overrides compilation-highlight-regexp and
compilation-mode-map for this compilation.
Delay calling compilation-set-window-height until after running
compilation-process-setup-function so it can buffer-local override
compilation-window-height.
Check buffer-local value of compilation-scroll-output.
(compilation-set-window-height): Use buffer-local value of
compilation-window-height.
(compilation-revert-buffer): Don't pass (undefined)
preserve-modes arg to revert-buffer.
(next-error-no-select, previous-error-no-select): New commands.
(compilation-goto-locus): Temporarily highlight current match in
source buffer using compilation-highlight-regexp.
2003-11-23 20:57:47 +00:00
Richard M. Stallman
59bb4146a3
(compile-auto-highlight): Undo July 7 change.
2003-10-20 23:31:27 +00:00
Richard M. Stallman
dfe02f1424
(compile-internal): Call compilation-set-window-height
...
before setting window start.
2003-09-22 15:25:47 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Eli Zaretskii
00c8f41844
(previous-error): Accept a prefix argument, similarly to next-error.
2003-09-01 05:47:12 +00:00
Alex Schroeder
e1f540f294
2003-08-14 Thu Jari Aalto <jari.aalto@poboxes.com>
...
* progmodes/compile.el (compilation-error-regexp-alist):
Added Java ANt error detection as described in document
http://ant.apache.org/faq.html
2003-08-17 09:49:42 +00:00
John Paul Wallington
c20f961b23
2003-07-28 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
...
* progmodes/compile.el (compilation-environment): New user variable.
(compile-internal): Respect it.
2003-07-28 16:06:55 +00:00
Richard M. Stallman
c72095b345
(compile-auto-highlight): Default now t.
...
(compile): Doc fix.
(compilation-next-error): Fix previous change.
2003-07-07 20:53:19 +00:00
Richard M. Stallman
83b5c8e0e3
(compilation-next-error): When moving fwd,
...
compare position of point with the errors.
2003-06-04 09:31:46 +00:00
Stefan Monnier
812fade808
(compile-internal): Use with-current-buffer.
...
(compilation-set-window-height): Use save-selected-window.
2003-05-13 21:37:28 +00:00
Juanma Barranquero
08815e25e5
(compile-internal): Don't quote nil and t in docstrings.
2003-05-06 17:35:37 +00:00
Richard M. Stallman
9ed2ab9fca
(compilation-revert-buffer): If buffer has a file, revert it in the normal way.
2003-01-13 08:02:47 +00:00
Juanma Barranquero
311ff235fa
(compile-reinitialize-errors): Don't mark the buffer as modified unless it
...
really is.
2002-12-14 23:35:19 +00:00
Markus Rost
37bf89abbd
(compilation-menu-map): Use `kill-compilation' to stop compilation.
2002-12-13 22:37:37 +00:00
Richard M. Stallman
3b5fb045df
(compilation-enter-directory-regexp-alist)
...
(compilation-leave-directory-regexp-alist): Match byte compiler output.
2002-12-07 21:34:44 +00:00
Markus Rost
d408fed8eb
(compilation-shell-minor-mode): Add group.
...
(compilation-minor-mode): Add group.
2002-11-18 04:14:26 +00:00
Richard M. Stallman
ccc41714e7
(compilation-error-regexp-alist): Don't include colon and space after
...
a file name as part of the name.
2002-11-13 11:51:04 +00:00
Stefan Monnier
4282eba157
(grep-default-command): New fun.
...
(grep): Use it.
(compilation-menu-map): New var.
(compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
(compilation-mode-map): Simplify.
(compilation-shell-minor-mode, compilation-minor-mode):
Use define-minor-mode.
2002-11-07 19:16:15 +00:00
Markus Rost
3190299741
(grep-compute-defaults): Move down.
2002-11-07 17:16:09 +00:00
Markus Rost
3755bc9cad
(grep-compute-defaults): Undo previous change.
...
(grep-command, grep-find-command, grep-tree-command): Allow value nil.
Do not declare :get property.
(grep-use-null-device): Doc fix. Fix type. Do not declare :get
property.
2002-11-07 17:05:01 +00:00
Juanma Barranquero
dc2feacf15
(grep-find-use-xargs): Fix docstring. Patch from Matt Swift
...
<swift@alum.mit.edu>.
2002-10-28 07:30:33 +00:00
Richard M. Stallman
543335974d
(grep-compute-defaults): Set the standard-value
...
properties of the variables being initialized.
2002-10-07 22:48:47 +00:00
Colin Walters
23b0c5fcb2
(compile-internal): Add optional argument no-async.
2002-09-07 21:29:44 +00:00
Kim F. Storm
cf3d4f6d57
(grep-tree): Fixed autoload.
...
Corrected use of undefined variable `match-files-aliases'.
2002-07-12 23:56:12 +00:00
Richard M. Stallman
56ce04a351
(compilation-normalize-filename):
...
New subroutine, taken out of compilation-parse-errors.
(compilation-parse-errors): Use that, and for directories too.
Don't check whether a directory really exists.
2002-07-12 17:39:45 +00:00
Kim F. Storm
dafe545282
(grep-tree): Doc fixes.
...
Added SUBDIRS arg for non-interactive use.
2002-06-14 14:00:07 +00:00
Kim F. Storm
9ebd759d59
(grep-tree-command, grep-tree-files-aliases)
...
(grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
New custom variables.
(grep-compute-defaults): Compute grep-tree-command's default value.
(grep-expand-command-macros): New aux function.
(grep-tree-last-regexp, grep-tree-last-files): New aux variables.
(grep-tree): New command like grep-find but extended prompting.
2002-05-30 22:11:29 +00:00
Robert J. Chassell
b765ba644c
Modified doc string to say that the kill-compilation function also
...
kills processes made by a grep command; created a defalias, kill-grep.
2002-05-30 13:47:32 +00:00
Richard M. Stallman
154b2b1008
(compilation-error-regexp-alist):
...
New element to recognize Python error messages.
2002-05-10 01:00:29 +00:00
Richard M. Stallman
fb49f36a2b
(compilation-error-regexp-alist):
...
New alternatives for FILE:LINE.COL and for ranges of columns and lines.
2002-04-06 15:57:47 +00:00
Richard M. Stallman
0eac1faa03
(compilation-handle-exit):
...
If compilation-window-height is 0, display status in echo area.
2002-03-28 18:28:24 +00:00
Richard M. Stallman
347c91407b
(compilation-forget-errors): Don't adjust compilation-parsing-end if it's nil.
2002-03-25 00:39:41 +00:00
Richard M. Stallman
238a5a50e5
(grep-compute-defaults): Definition moved up.
2002-02-06 15:37:35 +00:00
Richard M. Stallman
470927374c
(compilation-handle-exit):
...
Add a compilation-handle-exit property to the "finished" message.
(compilation-parse-errors): Stop parsing when that property is seen.
2002-01-25 02:36:36 +00:00
Richard M. Stallman
75da830272
(compile-internal): Fix previous change.
2001-12-29 20:31:14 +00:00
Richard M. Stallman
62728cf048
Comment change.
2001-12-26 21:27:54 +00:00
Richard M. Stallman
492e159bb0
(compile-internal): Set TERM variable in process-environment.
2001-12-26 21:26:25 +00:00
Miles Bader
c299126f7f
(compilation-error-regexp-alist): Added regexps for RXP.
...
From Reto Stamm <reto@xilinx.com>.
2001-12-06 15:27:53 +00:00
Richard M. Stallman
6867356aba
(recompile): Use compilation-arguments if set, so as to be able to M-x
...
recompile the exact command which created a compilation-mode buffer.
2001-11-14 04:23:45 +00:00
Richard M. Stallman
2827a3c1bf
(compile-goto-error): Fix previous change in the case where subsequent
...
errors have not been parsed yet because they are in a different source file.
2001-11-10 23:19:54 +00:00
Gerd Moellmann
e335e1949d
(compilation-parse-errors-filename-function):
...
New variable.
(compilation-parse-errors): Use it.
2001-10-25 07:47:48 +00:00
Stefan Monnier
0033146f51
(compile-mouse-goto-error, compile-goto-error): Turn caadr into caar of cdr.
2001-10-23 16:57:15 +00:00