Commit graph

520 commits

Author SHA1 Message Date
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
Stefan Monnier
bb6da2f86f (compilation-error-regexp-alist-alist) <gnu>:
Rule out trailing spaces in file and directory names as well.
2008-04-30 08:12:20 +00:00
Juanma Barranquero
ddb1f2e352 (compile-internal): Add WHEN to obsolescence declaration. 2008-04-18 10:33:17 +00:00
Jan Djärv
5af370aba7 (compilation-mode-tool-bar-map): Only enable
kill if a process is running.
2008-03-28 10:06:13 +00:00
Stefan Monnier
286d4b3b7d * progmodes/compile.el (compile):
* progmodes/grep.el (grep, grep-find): Use read-shell-command.
2008-03-20 19:56:58 +00:00
Dan Nicolaescu
388059876a * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
(standard-mode-line-position): Add mouse-face.

* progmodes/compile.el (compilation-menu-map):
(compilation-mode-map):
* progmodes/grep.el (grep-mode-map):  Add :help.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
initialize in one step.  Add :help.  Use :enable to activate menu
items. Show the key binding for edebug-defun.
(lisp-interaction-mode-map): Add a menu.

* term.el (term-mode-map): Define and initialize in one step.

* ediff-init.el (ediff-color-display-p): Simplify.
(Xor): Remove unused function.
(ediff-with-syntax-table): Simplify for emacs.

* ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
menu-bar being loaded, it always is.
2008-03-05 04:09:24 +00:00
Dan Nicolaescu
9326028376 (compilation-menu-map): Add menu entries
for useful options.
2008-03-02 01:10:30 +00:00
Jan Djärv
df1a5d7dde (compilation-mode-tool-bar-map): The same. 2008-02-26 14:41:25 +00:00
Jan Djärv
c45e48d29a (tool-bar): Rquire tool-bar.
(compilation-mode-tool-bar-map): New variable.
(compilation-mode): Use compilation-mode-tool-bar-map.
2008-02-25 10:52:09 +00:00
Juri Linkov
a46b95a834 (compilation-handle-exit):
Use compilation-error face instead of font-lock-warning-face.
Display the same message in the minibuffer as is inserted
at the end of the compilation buffer.
2008-02-24 23:21:56 +00:00
Dan Nicolaescu
a8bdd228f8 (compilation-start): Specify a face for
mode-line-process.
(compilation-handle-exit): Specify a face and a tooltip for
mode-line-process.
2008-02-24 20:44:24 +00:00
Miles Bader
b03f96dc5a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00