Commit graph

739 commits

Author SHA1 Message Date
Glenn Morris
5e339ee2a3 Move some autoloaded auto-mode-alist entries to files.el.
* image-mode.el, progmodes/compile.el, progmodes/gud.el:
* progmodes/mixal-mode.el, textmodes/bibtex-style.el:
* textmodes/css-mode.el, textmodes/dns-mode.el:
Move autoloaded auto-mode-alist entries to files.el.
* files.el (auto-mode-alist): Move entries here.
2010-09-23 20:06:33 -07:00
Stefan Monnier
331b2b903c * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Not a const.
(compilation-error-regexp-alist-alist): Rule out ": " in file names
for the `gnu' messages.
(compilation-set-skip-threshold): New command.
(compilation-start): Use \' rather than $.
(compilation-forget-errors): Use clrhash.
2010-09-08 17:53:08 +02:00
Chong Yidong
13ef65a483 Fix Ruby compilation error matching.
* progmodes/compile.el (compilation-error-regexp-alist-alist):
Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
Recognize leading tab in gcc-include regexp.  Ignore names with
leading "from" or "in" in gnu regexp (Bug#6937).
2010-09-04 16:42:03 -04:00
Chong Yidong
c68263b1fd Give Ruby compilation rule a lower priority than Gnu (Bug#6778).
* progmodes/compile.el (compilation-error-regexp-alist-alist):
Give the Ruby rule a lower priority than Gnu (Bug#6778).

* etc/compilation.txt: Make Cucumber test less verbose.
2010-08-14 20:04:53 -04:00
Juanma Barranquero
0ed082fedf Merge from emacs-23 2010-07-27 04:10:05 +02:00
Chong Yidong
e72b6fa4b2 Doc fix to commentary (Bug#6653). 2010-07-17 17:57:06 -04:00
Aleksei Gusev
dce3463576 Add compilation regexps for cucumber and ruby.
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add
regexps for cucumber and ruby.
2010-07-10 15:47:59 -04:00
Stefan Monnier
f913fe7d54 * progmodes/compile.el (compilation-buffer-modtime): Rename from
buffer-modtime.  Adjust users.
2010-05-08 16:51:08 -04:00
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