Stefan Monnier
3b548e1b3a
* progmodes/compile.el: (compilation-start): Abbreviate default directory.
2010-04-23 11:59:32 -04:00
Chong Yidong
790c2e44de
Revert 2009-10-12 change to compilation-next-error-function (Bug#5983).
...
* progmodes/compile.el (compilation-next-error-function): Revert
2009-10-12 change (Bug#5983).
2010-04-20 12:04:05 -04:00
Glenn Morris
ba33df004a
* compile.el (compilation-save-buffers-predicate): Add missing :version tag.
2010-04-09 19:18:09 -07:00
Sam Steingold
4a8ae76f68
(compilation-save-buffers-predicate): Remove the "autoload" cookie.
2010-04-09 11:52:45 -04:00
Sam Steingold
9e86ab0bc7
(compilation-save-buffers-predicate): New custom variable.
...
(compile, recompile): Pass it to `save-some-buffers'.
2010-04-07 12:20:35 -04:00
Chong Yidong
f6f8aa1251
Fix for `compile' (Bug#5771).
...
* progmodes/compile.el (compilation-start): Fix regexp detection
of initial cd command (Bug#5771).
2010-03-28 15:51:55 -04:00
Sam Steingold
5f2484c238
fix a typo in last patch
2010-03-24 09:41:07 -04:00
Sam Steingold
f4087766ce
Fix bug#5620: recalculate all markers on compilation buffer
...
modifications, not on file modifications.
(buffer-modtime): New buffer-local variable:
the buffer modification time, for buffers not associated with files.
(compilation-mode): Create it.
(compilation-filter): Update it.
(compilation-next-error-function): Use it instead of
`visited-file-modtime' for timestamp.
2010-03-23 14:22:46 -04:00
Chong Yidong
3e39928c77
* progmodes/compile.el (compilation-error-regexp-alist-alist): In
...
`watcom' anchor regexp to start of line, to avoid slowness
(Bug#5599).
2010-02-20 08:53:06 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Chong Yidong
4d9bbfa616
* compile.el (compilation-read-command): Doc fix.
2010-01-09 16:14:50 -05:00
Chong Yidong
fa7b5f7b98
Fix compile-command's safe-local-variable condition.
...
* progmodes/compile.el: Don't treat compile-command as safe if
compilation-read-command might be nil (Bug#4218).
2010-01-09 15:53:55 -05:00
Dan Nicolaescu
6d341a2a09
* textmodes/ispell.el (ispell-skip-region-alist):
...
* textmodes/css-mode.el (auto-mode-alist):
* progmodes/compile.el (auto-mode-alist):
* international/mule.el (ctext-non-standard-encodings-alist)
(ctext-non-standard-encodings-regexp):
* simple.el (shell-command-switch, text-read-only):
* replace.el (occur-mode-map):
* paths.el (rmail-file-name):
* jka-cmpr-hook.el (jka-compr-build-file-regexp):
* find-file.el (ff-special-constructs):
* files.el (file-name-handler-alist):
* composite.el: Purecopy strings.
2009-11-12 06:55:39 +00:00
Dan Nicolaescu
aaa448c984
* widget.el (define-widget): Purecopy the docstring.
...
* international/mule-cmds.el (charset): Do not purecopy the
docstring here, define-widget does it.
* textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
* textmodes/bibtex-style.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-prompt):
* progmodes/compile.el (compile-command):
* language/korea-util.el (default-korean-keyboard):
* international/mule-conf.el (file-coding-system-alist):
* emacs-lisp/eldoc.el (eldoc-minor-mode-string):
* tooltip.el (tooltip-frame-parameters):
* newcomment.el (comment-end, comment-padding):
* dired.el (dired-trivial-filenames):
* comint.el (comint-file-name-prefix): Purecopy initial values.
2009-11-11 19:24:20 +00:00
Chong Yidong
951802d0c1
* compilation.txt: Add one more error message for msft (Bug#4100).
2009-11-08 16:30:52 +00:00
Juanma Barranquero
057bce6f17
Fix typos in comments.
...
* minibuf.c (Fall_completions): Fix typo in docstring.
2009-10-26 15:18:03 +00:00
Sam Steingold
1d57e5e2e3
fix a typo in the last patch
2009-10-13 02:59:19 +00:00
Sam Steingold
0cd16af432
(compilation-mode-font-lock-keywords): Do not prepend "^ *" to
...
non-anchored patterns, like the perl one (bug#3928).
2009-10-12 21:04:15 +00:00
Sam Steingold
cd29f88b1d
(compilation-next-error-function): Fix the
...
timestamps if the buffer has been visited before
2009-10-12 20:42:45 +00:00
Richard M. Stallman
1fc01b083c
* progmodes/compile.el (compilation-goto-locus): Use next-error-move-function.
2009-08-13 00:58:54 +00:00
Chong Yidong
6807d8ca51
Update comment (from Kevin Ryde).
2009-08-10 02:44:58 +00:00
Sam Steingold
2b1d2412c5
(compilation-mode-font-lock-keywords): Omake sometimes indents the
...
errors it prints, so allow all regexps to start with spaces.
2009-07-10 18:23:49 +00:00
Chong Yidong
f7a2e63478
* progmodes/compile.el (compilation-error-regexp-alist-alist):
...
Comment out 2007-07-25 change adding support for Maven error
messages; this regexp is too slow on long lines (Bug#3441).
2009-06-17 16:33:41 +00:00
Richard M. Stallman
0b508a2736
* progmodes/compile.el (compilation-filter): If inserting at end
...
of accessible part of buffer, keep end of output visible.
2009-05-18 16:30:59 +00:00
Sam Steingold
0fdb20bb32
(compilation-error-regexp-alist-alist): Handle "omake -P" messages "file foo changed".
2009-03-04 14:33:42 +00:00
Sam Steingold
ee15d7591b
(compilation-move-to-column): Guard against negative col values.
2009-03-03 22:26:24 +00:00
Chong Yidong
721451bc13
Fix last change.
2009-02-21 19:50:17 +00:00
Chong Yidong
2f49167cb2
(compilation-error-regexp-alist-alist): Tweak regexp (Bug#2173).
2009-02-21 18:52:19 +00:00
Nick Roberts
8fca05449a
(compilation-error-regexp-alist-alist):
...
Move entry for maven (alphabetical order).
2009-02-19 06:54:22 +00:00
Sam Steingold
72fcf38256
Require comint at top level to fix the last patch.
2009-02-18 15:37:40 +00:00
Sam Steingold
2017951613
(compilation-filter): Call comint-carriage-motion', just like
comint-output-filter'.
2009-02-17 16:49:40 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Sam Steingold
430aee8b91
(compilation-read-command): Extracted from compile.
...
(compile): Use it.
(recompile): Accept an optional argument to enable editing the command line.
2008-12-04 23:04:39 +00:00
Juri Linkov
6cc725cde5
(compilation-auto-jump-to-first-error):
...
Fix docstring - change "during `compile'" to "during compilation".
2008-11-22 20:42:18 +00:00
Sam Steingold
dd93e6daf7
(compilation-start-hook): New hook.
...
(compilation-start): Run it on the compilation process.
2008-11-18 14:14:37 +00:00
Chong Yidong
6d83103879
Minor doc fix, suggested by Juri Linkov.
2008-11-17 01:52:22 +00:00
Chong Yidong
b4bd2cbe6d
(compilation-mode-tool-bar-map): Check if tool-bar-map has been
...
initialized before setting it up.
2008-10-12 13:46:28 +00:00
Chong Yidong
dac05b9cae
(compilation-mode-tool-bar-map): Initialize it unconditionally.
2008-10-11 19:59:11 +00:00
Eli Zaretskii
2a12d736c1
(compilation-start): Resurrect the version for systems that don't support
...
asynchronous subprocesses.
2008-10-09 13:46:25 +00:00
Martin Rudalics
e6f3e10423
(compilation-start): Make sure to move to point-max
...
only when we are in the compilation buffer.
2008-10-04 10:09:46 +00:00
Stefan Monnier
ec4e0abcd2
* progmodes/compile.el (compilation-start): Don't disable undo in
...
comint buffer. Don't override the comint-filter with our own.
(compilation-filter): Change point's insertion-type.
* comint.el (comint-output-filter): Use copy-marker.
2008-06-13 16:22:16 +00:00
Stefan Monnier
d3d31fad69
(compilation-filter): Fix up last change.
2008-06-11 02:47:57 +00:00
Stefan Monnier
a1562258dc
* window.c (Vwindow_point_insertion_type): New var.
...
(set_window_buffer): Use it.
(syms_of_window): Init and export it to Lisp.
* progmodes/compile.el (compilation-mode):
Set window-point-insertion-type.
(compilation-filter): Don't use insert-before-markers any more.
* emacs-lisp/trace.el (trace-make-advice):
Set window-point-insertion-type in the trace buffer.
* startup.el (normal-top-level): Set window-point-insertion-type in
*Messages*.
* net/telnet.el (telnet-mode): Set window-point-insertion-type.
(telnet-filter): Don't use insert-before-markers any more.
* comint.el (comint-mode): Set window-point-insertion-type.
(comint-output-filter): Don't use insert-before-markers any more.
* button.el (make-text-button): Allow `start' to be a string.
2008-06-10 16:08:48 +00:00
Sam Steingold
86c7460fae
(compilation-minor-mode-map, compilation-mode-map):
...
Bind "g" to recompile and "q" to quit-window.
(grep-mode-map): Use `set-keymap-parent' to connect it
to `compilation-minor-mode-map' (instead of an explicit `cons').
2008-05-08 17:28:05 +00:00
Glenn Morris
b1fc2b5014
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 07:25:26 +00:00
Chong Yidong
ed66ce2115
Fix last fix.
2008-05-06 03:31:55 +00:00
Chong Yidong
bf3e72ae05
(compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to
...
distinguish between errors and warnings.
2008-05-06 03:23:26 +00:00
Nick Roberts
9d8a1adde0
(compilation-error-regexp-alist-alist):
...
Add regexp for Open Watcom compiler output.
2008-05-05 11:59:04 +00:00
Sam Steingold
5f3ca1ba63
* progmodes/compile.el (compilation-start): Move setting of
...
compilation-directory after (funcall mode) as that resets local
variables, this fixes recompile in grep buffers.
* grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
2008-05-02 18:37:07 +00:00
Juri Linkov
93c0985f4c
(compilation-auto-jump): Set window point to `pos' explicitly.
2008-05-01 23:56:52 +00:00