[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: subtle problem of font-lock in *compilation* buffer
From: |
Chong Yidong |
Subject: |
Re: subtle problem of font-lock in *compilation* buffer |
Date: |
Wed, 13 Sep 2006 16:17:39 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> OTOH it's still rather unusual to have " -" in a file name, so maybe
> we can use that as a telltale sign that we're not looking at a file
> name (and hence not an error message either)?
Good idea. This seems to work, as far as I can tell.
*** emacs/lisp/progmodes/compile.el.~1.407.~ 2006-09-12 12:50:21.000000000
-0400
--- emacs/lisp/progmodes/compile.el 2006-09-13 16:15:56.000000000 -0400
***************
*** 229,235 ****
;; the last line tries to rule out message where the info after the
;; line number starts with "SS". --Stef
"^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
! \\([0-9]*[^0-9\n].*?\\): ?\
\\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\
\\(?:-\\([0-9]+\\)?\\(?:\\3\\([0-9]+\\)\\)?\\)?:\
\\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
--- 229,235 ----
;; the last line tries to rule out message where the info after the
;; line number starts with "SS". --Stef
"^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
! \\([0-9]*[^0-9\n]\\(?:[^\n ]\\| [^-\n]\\)*?\\): ?\
\\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\
\\(?:-\\([0-9]+\\)?\\(?:\\3\\([0-9]+\\)\\)?\\)?:\
\\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
- subtle problem of font-lock in *compilation* buffer, Kenichi Handa, 2006/09/06
- Re: subtle problem of font-lock in *compilation* buffer, Chong Yidong, 2006/09/10
- Re: subtle problem of font-lock in *compilation* buffer, Kenichi Handa, 2006/09/10
- Re: subtle problem of font-lock in *compilation* buffer, Richard Stallman, 2006/09/11
- Re: subtle problem of font-lock in *compilation* buffer, Richard Stallman, 2006/09/13
- Re: subtle problem of font-lock in *compilation* buffer, Stefan Monnier, 2006/09/13
- Re: subtle problem of font-lock in *compilation* buffer,
Chong Yidong <=
- Re: subtle problem of font-lock in *compilation* buffer, Richard Stallman, 2006/09/15
- Re: subtle problem of font-lock in *compilation* buffer, Stefan Monnier, 2006/09/15
- Re: subtle problem of font-lock in *compilation* buffer, Richard Stallman, 2006/09/16
- Re: subtle problem of font-lock in *compilation* buffer, Juri Linkov, 2006/09/17
- Re: subtle problem of font-lock in *compilation* buffer, Richard Stallman, 2006/09/18