aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/compile.el11
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2ef7629a5b4..bae1c4e10de 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12006-07-09 Romain Francoise <romain@orebokech.com> 12006-07-09 Romain Francoise <romain@orebokech.com>
2 2
3 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4 Don't highlight start/end markers as compilation messages.
5
3 * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion' 6 * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion'
4 to t. 7 to t.
5 8
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 3c9d0741783..5f10bec032a 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -400,7 +400,10 @@ you may also want to change `compilation-page-delimiter'.")
400 "Value of `page-delimiter' in Compilation mode.") 400 "Value of `page-delimiter' in Compilation mode.")
401 401
402(defvar compilation-mode-font-lock-keywords 402(defvar compilation-mode-font-lock-keywords
403 '(;; configure output lines. 403 '(;; Don't highlight this as a compilation message.
404 ("^Compilation started at.*"
405 (0 '(face nil message nil help-echo nil mouse-face nil) t))
406 ;; configure output lines.
404 ("^[Cc]hecking \\(?:[Ff]or \\|[Ii]f \\|[Ww]hether \\(?:to \\)?\\)?\\(.+\\)\\.\\.\\. *\\(?:(cached) *\\)?\\(\\(yes\\(?: .+\\)?\\)\\|no\\|\\(.*\\)\\)$" 407 ("^[Cc]hecking \\(?:[Ff]or \\|[Ii]f \\|[Ww]hether \\(?:to \\)?\\)?\\(.+\\)\\.\\.\\. *\\(?:(cached) *\\)?\\(\\(yes\\(?: .+\\)?\\)\\|no\\|\\(.*\\)\\)$"
405 (1 font-lock-variable-name-face) 408 (1 font-lock-variable-name-face)
406 (2 (compilation-face '(4 . 3)))) 409 (2 (compilation-face '(4 . 3))))
@@ -408,9 +411,11 @@ you may also want to change `compilation-page-delimiter'.")
408 ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" 411 ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:"
409 (1 font-lock-function-name-face) (3 compilation-line-face nil t)) 412 (1 font-lock-function-name-face) (3 compilation-line-face nil t))
410 (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1) 413 (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1)
411 ("^Compilation \\(finished\\)" 414 ("^Compilation \\(finished\\).*"
415 (0 '(face nil message nil help-echo nil mouse-face nil) t)
412 (1 compilation-info-face)) 416 (1 compilation-info-face))
413 ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?" 417 ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*"
418 (0 '(face nil message nil help-echo nil mouse-face nil) t)
414 (1 compilation-error-face) 419 (1 compilation-error-face)
415 (2 compilation-error-face nil t))) 420 (2 compilation-error-face nil t)))
416 "Additional things to highlight in Compilation mode. 421 "Additional things to highlight in Compilation mode.