GNU bug report logs -
#3965
23.1.50; compilation-mode gnu error regexp mismatching ant, irix, gcc-include
Previous Next
Reported by: Kevin Ryde <user42 <at> zip.com.au>
Date: Wed, 29 Jul 2009 23:20:05 UTC
Severity: normal
Tags: notabug, wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3965 in the body.
You can then email your comments to 3965 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3965
; Package
emacs
.
(Wed, 29 Jul 2009 23:20:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kevin Ryde <user42 <at> zip.com.au>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 29 Jul 2009 23:20:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3965
; Package
emacs
.
(Sun, 02 Aug 2009 22:55:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sun, 02 Aug 2009 22:55:06 GMT)
Full text and
rfc822 format available.
Message #10 received at 3965 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Doing
>
> (setq compilation-error-regexp-alist '(gnu))
>
> and visiting etc/compilation.txt shows some mismatched parts.
>
> Under "ant" ...
> Under "irix"...
> And under "gcc-include"...
>
> 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.
Correct. That's the intended behavior.
> 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 :-)
There's no point changing the gnu pattern just to handle these
additional patterns, which already have their own dedicated entries in
compilation-error-regexp-alist.
Tags added: notabug, wontfix
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Sun, 02 Aug 2009 22:55:09 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to Kevin Ryde <user42 <at> zip.com.au>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Sun, 02 Aug 2009 22:55:09 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3965
; Package
emacs
.
(Tue, 04 Aug 2009 02:00:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kevin Ryde <user42 <at> zip.com.au>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 04 Aug 2009 02:00:05 GMT)
Full text and
rfc822 format available.
Message #19 received at 3965 <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
>
> There's no point changing the gnu pattern just to handle these
> additional patterns, which already have their own dedicated entries in
> compilation-error-regexp-alist.
Can't you have gcc-include and gnu at the same time?
I see in fact that mismatch is a regression. In emacs 22 the gnu
pattern successfully keeps out of gcc-include's hair.
(If it is the "omake" hack then that bit may have a bit to answer for --
stopping the perl pattern working, making the gnu pattern work too much
... :-)
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3965
; Package
emacs
.
(Wed, 05 Aug 2009 23:05:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kevin Ryde <user42 <at> zip.com.au>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 05 Aug 2009 23:05:05 GMT)
Full text and
rfc822 format available.
Message #24 received at 3965 <at> emacsbugs.donarmstrong.com (full text, mbox):
reopen 3965
thanks
When working with gcc it will be usual to have both gnu and gcc-include
patterns active. The way the gnu pattern mismatches the gcc-include
prevents following to the origin of an include error.
bug reopened, originator not changed.
Request was from
Kevin Ryde <user42 <at> zip.com.au>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 05 Aug 2009 23:05:07 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
3965 <at> debbugs.gnu.org and Kevin Ryde <user42 <at> zip.com.au>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 01 Feb 2014 08:19:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 01 Mar 2014 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 109 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.