* lisp/progmodes/compile.el (compilation-mode-font-lock-keywords):
authorJuri Linkov <juri@jurta.org>
Mon, 22 Aug 2011 12:46:45 +0000 (15:46 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 22 Aug 2011 12:46:45 +0000 (15:46 +0300)
Revert regexp that highlights output switches to its old
pre-2010-10-28 value and remove one `?' from it (bug#9319).

etc/compilation.txt
lisp/ChangeLog
lisp/progmodes/compile.el

index 888c1f9..2e452b5 100644 (file)
@@ -546,9 +546,18 @@ checking whether to build shared libraries... yes
 checking whether -lc should be explicitly linked in... (cached) no
 checking For GLIB - version >= 2.0.0... yes (version 2.1.0)
 checking FONTCONFIG_CFLAGS...
-g++ -o foo.o foo.cc
-tool1 -output=foo foo.x
-tool2 --outfile foo foo.y
+tool -o foo.o foo.c
+tool -o=foo.o foo.c
+tool -output foo.o foo.c
+tool -output=foo.o foo.c
+tool -outfile foo.o foo.c
+tool -outfile=foo.o foo.c
+tool --output foo.o foo.c
+tool --output=foo.o foo.c
+tool --outfile foo.o foo.c
+tool --outfile=foo.o foo.c
+tool --omega foo.c
+tool --output-html-file foo.c
 
 Compilation started at Wed Jul 20 12:20:10
 Compilation interrupt at Wed Jul 20 12:20:10
index bfcbaa2..4c73061 100644 (file)
@@ -1,5 +1,9 @@
 2011-08-22  Juri Linkov  <juri@jurta.org>
 
+       * progmodes/compile.el (compilation-mode-font-lock-keywords):
+       Revert regexp that highlights output switches to its old
+       pre-2010-10-28 value and remove one `?' from it (bug#9319).
+
        * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
        to check for empty output (bug#9226).
 
index 2fb0ac8..79fec08 100644 (file)
@@ -523,7 +523,7 @@ you may also want to change `compilation-page-delimiter'.")
      ;; Command output lines.  Recognize `make[n]:' lines too.
      ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:"
       (1 font-lock-function-name-face) (3 compilation-line-face nil t))
-     (" -\\(?:o[= ]?\\|-\\(?:outfile\\|output\\)[= ]\\)\\(\\S +\\)" . 1)
+     (" --?o\\(?:utfile\\|utput\\)?[= ]\\(\\S +\\)" . 1)
      ("^Compilation \\(finished\\).*"
       (0 '(face nil compilation-message nil help-echo nil mouse-face nil) t)
       (1 compilation-info-face))