GNU bug report logs -
#6979
In compilation buffer, 'gnu-include' rule is not working as intended
Previous Next
Reported by: Paul Pogonyshev <pogonyshev <at> gmx.net>
Date: Fri, 3 Sep 2010 19:18:02 UTC
Severity: normal
Merged with 6966
Found in version 24.0.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 6979 <at> debbugs.gnu.org (full text, mbox):
Chong Yidong wrote:
> Paul Pogonyshev <pogonyshev <at> 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
This bug report was last modified 14 years and 250 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.