From: Kevin Ryde <user42@zip.com.au>
To: emacs-pretest-bug@gnu.org
Subject: bug#3965: 23.1.50; compilation-mode gnu error regexp mismatching ant, irix, gcc-include
Date: Thu, 30 Jul 2009 09:13:29 +1000 [thread overview]
Message-ID: <87vdlbqe06.fsf@blah.blah> (raw)
Doing
(setq compilation-error-regexp-alist '(gnu))
and visiting etc/compilation.txt shows some mismatched parts.
Under "ant"
[jikes] foo.java:3:5:7:9: blah blah
Under "irix"
cfe: Warning 600: xfe.c: 170: Not in a conditional directive while ...
/usr/lib/cmplrs/cc/cfe: Error: foo.c: 1: blah blah
/usr/lib/cmplrs/cc/cfe: warning: foo.c: 1: blah blah
And under "gcc-include"
from test_clt.cc:1:
In each the match has the wrong part as the filename. For example the
"ant" one matches "[jikes] foo.java". With all patterns enabled
`next-error' offers those wrong matches instead of what the specific
patterns for those parts get -- I suppose because the gnu match is
earlier in the line.
Maybe the "ant" and "gcc-include" cases could be attacked by not
allowing leading whitespace. The "omake" indentation hack might get in
the way there; but is its indentation arbitrary, or a fixed-ish amount?
My best idea for the irix ones would be to disallow ": " in the gnu
pattern filename part. Other colons could be allowed for dos drive
letters or the occasional filename with a colon, but rate colon+space as
more likely to be a separator than a part of a name. Mind you the gnu
pattern is already far too complicated for me to want to do anything to
it :-)
In GNU Emacs 23.1.50.4 (i586-pc-linux-gnu, GTK+ Version 2.16.4)
of 2009-07-24 on blah.blah
configured using `configure 'CFLAGS=-O -g' '--prefix=/down/emacs/b/inst' '--with-x-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_AU
value of $XMODIFIERS: nil
locale-coding-system: iso-latin-1-unix
default-enable-multibyte-characters: t
next reply other threads:[~2009-07-29 23:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87eirtq1de.fsf@cyd.mit.edu>
2009-07-29 23:13 ` Kevin Ryde [this message]
[not found] ` <handler.3965.C.124925321931570.notifdonectrl.0@emacsbugs.donarmstrong.com>
2009-08-05 22:57 ` bug#3965: acknowledged by developer (close 3965) Kevin Ryde
2009-08-05 23:05 ` Processed: Re: bug#3965 " Emacs bug Tracking System
2009-08-02 22:55 ` Processed: close 3965 Emacs bug Tracking System
2009-08-02 22:46 bug#3965: 23.1.50; compilation-mode gnu error regexp mismatching ant, irix, gcc-include Chong Yidong
2009-08-04 1:52 ` Kevin Ryde
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=87vdlbqe06.fsf@blah.blah \
--to=user42@zip.com.au \
--cc=3965@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@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).