* bug#6979: In compilation buffer, 'gnu-include' rule is not working as intended
@ 2010-09-03 19:18 Paul Pogonyshev
2010-09-04 13:57 ` bug#6979: More information Paul Pogonyshev
0 siblings, 1 reply; 7+ messages in thread
From: Paul Pogonyshev @ 2010-09-03 19:18 UTC (permalink / raw)
To: 6979
[-- Attachment #1: Type: Text/Plain, Size: 489 bytes --]
Example file 'compilation.txt' claims it is supported to mark only the
last message as the error, skipping all 'included from...' lines,
which are often not interesting. However, instead it marks all lines
except the first as errors.
To reproduce:
M-x customize-variable
compilation-error-regexp-alist
and follow the 'see also example file' link.
Screenshot of what I see is attached.
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-09-02 on gonzo
Paul
[-- Attachment #2: emacs-gcc-include.png --]
[-- Type: image/png, Size: 12342 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#6979: More information
2010-09-03 19:18 bug#6979: In compilation buffer, 'gnu-include' rule is not working as intended Paul Pogonyshev
@ 2010-09-04 13:57 ` Paul Pogonyshev
2010-09-04 18:54 ` Chong Yidong
0 siblings, 1 reply; 7+ messages in thread
From: Paul Pogonyshev @ 2010-09-04 13:57 UTC (permalink / raw)
To: 6979
I've found that 'gcc-include' rule is wrongly overriden by 'ruby': if
I disable the latter in 'compilation-error-regexp-alist', highlighting
is back to normal. I'm not sure what a correct fix would be. Maybe
ruby error highlighting should also highlight 'from' lines as info,
not errors.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#6979: More information
2010-09-04 13:57 ` bug#6979: More information Paul Pogonyshev
@ 2010-09-04 18:54 ` Chong Yidong
2010-09-04 19:06 ` Paul Pogonyshev
0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2010-09-04 18:54 UTC (permalink / raw)
To: Paul Pogonyshev; +Cc: 6979
Paul Pogonyshev <pogonyshev@gmx.net> writes:
> I've found that 'gcc-include' rule is wrongly overriden by 'ruby': if
> I disable the latter in 'compilation-error-regexp-alist', highlighting
> is back to normal. I'm not sure what a correct fix would be. Maybe
> ruby error highlighting should also highlight 'from' lines as info,
> not errors.
Could you please provide some examples?
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#6979: More information
2010-09-04 18:54 ` Chong Yidong
@ 2010-09-04 19:06 ` Paul Pogonyshev
2010-09-16 3:57 ` Glenn Morris
0 siblings, 1 reply; 7+ messages in thread
From: Paul Pogonyshev @ 2010-09-04 19:06 UTC (permalink / raw)
To: Chong Yidong; +Cc: 6979
Chong Yidong wrote:
> Paul Pogonyshev <pogonyshev@gmx.net> writes:
>
> > I've found that 'gcc-include' rule is wrongly overriden by 'ruby': if
> > I disable the latter in 'compilation-error-regexp-alist', highlighting
> > is back to normal. I'm not sure what a correct fix would be. Maybe
> > ruby error highlighting should also highlight 'from' lines as info,
> > not errors.
>
> Could you please provide some examples?
As I wrote in my original mail:
> To reproduce:
>
> M-x customize-variable
> compilation-error-regexp-alist
>
> and follow the 'see also example file' link.
Look for the string 'gcc-include' in the example. In description it
claims that the first two lines would be highlighted as information
and the last as error. In reality, second line:
from /usr/include/c++/3.3/backward/iostream.h:31,
is also highlighted as an error because it is handled by 'ruby' rule.
I would also argue that _all three_ lines should be information
because real error follows those, but that is a different issue.
Paul
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-09-16 18:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-03 19:18 bug#6979: In compilation buffer, 'gnu-include' rule is not working as intended Paul Pogonyshev
2010-09-04 13:57 ` bug#6979: More information Paul Pogonyshev
2010-09-04 18:54 ` Chong Yidong
2010-09-04 19:06 ` Paul Pogonyshev
2010-09-16 3:57 ` Glenn Morris
2010-09-16 18:35 ` Paul Pogonyshev
2010-09-16 18:43 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.