]> code.delx.au - gnu-emacs/commitdiff
(compilation-mode-font-lock-keywords): Don't highlight start/end markers
authorRomain Francoise <romain@orebokech.com>
Sun, 9 Jul 2006 15:17:05 +0000 (15:17 +0000)
committerRomain Francoise <romain@orebokech.com>
Sun, 9 Jul 2006 15:17:05 +0000 (15:17 +0000)
as compilation messages.

lisp/ChangeLog
lisp/progmodes/compile.el

index 2ef7629a5b49caacdc94a8bce35212abbe1c8688..bae1c4e10de93333263650c8819003fffc69fc61 100644 (file)
@@ -1,5 +1,8 @@
 2006-07-09  Romain Francoise  <romain@orebokech.com>
 
+       * progmodes/compile.el (compilation-mode-font-lock-keywords):
+       Don't highlight start/end markers as compilation messages.
+
        * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion'
        to t.
 
index 3c9d074178392db0c5269678cb4bb8e472801edb..5f10bec032a57927379ab66e1bba60cb4f71b22e 100644 (file)
@@ -400,7 +400,10 @@ you may also want to change `compilation-page-delimiter'.")
   "Value of `page-delimiter' in Compilation mode.")
 
 (defvar compilation-mode-font-lock-keywords
-   '(;; configure output lines.
+   '(;; Don't highlight this as a compilation message.
+     ("^Compilation started at.*"
+      (0 '(face nil message nil help-echo nil mouse-face nil) t))
+     ;; configure output lines.
      ("^[Cc]hecking \\(?:[Ff]or \\|[Ii]f \\|[Ww]hether \\(?:to \\)?\\)?\\(.+\\)\\.\\.\\. *\\(?:(cached) *\\)?\\(\\(yes\\(?: .+\\)?\\)\\|no\\|\\(.*\\)\\)$"
       (1 font-lock-variable-name-face)
       (2 (compilation-face '(4 . 3))))
@@ -408,9 +411,11 @@ you may also want to change `compilation-page-delimiter'.")
      ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:"
       (1 font-lock-function-name-face) (3 compilation-line-face nil t))
      (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1)
-     ("^Compilation \\(finished\\)"
+     ("^Compilation \\(finished\\).*"
+      (0 '(face nil message nil help-echo nil mouse-face nil) t)
       (1 compilation-info-face))
-     ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?"
+     ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*"
+      (0 '(face nil message nil help-echo nil mouse-face nil) t)
       (1 compilation-error-face)
       (2 compilation-error-face nil t)))
    "Additional things to highlight in Compilation mode.