From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#6979: More information Date: Sat, 4 Sep 2010 22:06:41 +0300 Message-ID: <201009042206.42465.pogonyshev@gmx.net> References: <201009032218.03867.pogonyshev@gmx.net> <201009041657.41353.pogonyshev@gmx.net> <871v999w5m.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283627415 18350 80.91.229.12 (4 Sep 2010 19:10:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Sep 2010 19:10:15 +0000 (UTC) Cc: 6979@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 04 21:10:14 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ory7u-0003DV-9d for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Sep 2010 21:10:10 +0200 Original-Received: from localhost ([127.0.0.1]:42404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ory7t-0005Th-Fx for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Sep 2010 15:10:09 -0400 Original-Received: from [140.186.70.92] (port=51502 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ory7h-0005TC-VV for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 15:09:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ory7g-0003ri-RO for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 15:09:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39149) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ory7g-0003re-Np for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 15:09:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ory2v-0003LP-LM; Sat, 04 Sep 2010 15:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Sep 2010 19:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6979 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6979-submit@debbugs.gnu.org id=B6979.128362707712848 (code B ref 6979); Sat, 04 Sep 2010 19:05:01 +0000 Original-Received: (at 6979) by debbugs.gnu.org; 4 Sep 2010 19:04:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ory2W-0003LB-WF for submit@debbugs.gnu.org; Sat, 04 Sep 2010 15:04:37 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Ory2U-0003L5-Au for 6979@debbugs.gnu.org; Sat, 04 Sep 2010 15:04:35 -0400 Original-Received: (qmail invoked by alias); 04 Sep 2010 19:06:22 -0000 Original-Received: from unknown (EHLO gonzo.localnet) [91.149.173.2] by mail.gmx.net (mp036) with SMTP; 04 Sep 2010 21:06:22 +0200 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX19vhE0r5eJvNDPgq67GUgFk49bygPU/j7HExdlJIQ dq2R0SQfH+uwRO User-Agent: KMail/1.13.5 (Linux/2.6.29-2-686; KDE/4.4.5; i686; ; ) In-Reply-To: <871v999w5m.fsf@stupidchicken.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Sep 2010 15:05:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39965 Archived-At: Chong Yidong wrote: > Paul Pogonyshev 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