From: Chong Yidong <cyd@stupidchicken.com>
Cc: handa@m17n.org, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: subtle problem of font-lock in *compilation* buffer
Date: Wed, 13 Sep 2006 16:17:39 -0400 [thread overview]
Message-ID: <874pvbv7vg.fsf@stupidchicken.com> (raw)
In-Reply-To: <jwv3bavmu2m.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed\, 13 Sep 2006 15\:45\:23 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> 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:\\)\\|\
next prev parent reply other threads:[~2006-09-13 20:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 8:16 subtle problem of font-lock in *compilation* buffer Kenichi Handa
2006-09-11 2:59 ` Chong Yidong
2006-09-11 3:56 ` Kenichi Handa
2006-09-11 19:57 ` Richard Stallman
2006-09-12 22:50 ` Chong Yidong
2006-09-13 3:42 ` Chong Yidong
2006-09-13 4:07 ` Kenichi Handa
2006-09-13 19:24 ` Richard Stallman
2006-09-13 19:24 ` Richard Stallman
2006-09-13 19:45 ` Stefan Monnier
2006-09-13 20:17 ` Chong Yidong [this message]
2006-09-15 14:29 ` Richard Stallman
2006-09-15 16:27 ` Stefan Monnier
2006-09-16 19:04 ` Richard Stallman
2006-09-17 19:17 ` Juri Linkov
2006-09-18 18:50 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874pvbv7vg.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).