From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs 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 Message-ID: <87vdlbqe06.fsf@blah.blah> Reply-To: Kevin Ryde , 3965@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248910683 19061 80.91.229.12 (29 Jul 2009 23:38:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2009 23:38:03 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 30 01:37:57 2009 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.50) id 1MWIia-000207-AU for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 01:37:56 +0200 Original-Received: from localhost ([127.0.0.1]:59808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWIiZ-0006WD-Qm for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Jul 2009 19:37:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWIiK-0006RF-J7 for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWIiF-0006QX-Kt for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:39 -0400 Original-Received: from [199.232.76.173] (port=52559 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWIiF-0006QS-BL for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55332) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWIiE-0003zj-LB for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6TNbVd5005312; Wed, 29 Jul 2009 16:37:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6TNK50B003063; Wed, 29 Jul 2009 16:20:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kevin Ryde Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 29 Jul 2009 23:20:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3965 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12489092522040 (code B ref -1); Wed, 29 Jul 2009 23:20:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 29 Jul 2009 23:14:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6TNE7DC002033 for ; Wed, 29 Jul 2009 16:14:08 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:52917 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MWILX-0007JM-0V for emacs-pretest-bug@gnu.org; Wed, 29 Jul 2009 19:14:07 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MWILV-0007lI-5y for emacs-pretest-bug@gnu.org; Wed, 29 Jul 2009 19:14:06 -0400 Original-Received: from mailout2-10.pacific.net.au ([125.255.80.137]:35776 helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWILU-0007l4-Ka for emacs-pretest-bug@gnu.org; Wed, 29 Jul 2009 19:14:05 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout2.pacific.net.au (Postfix) with ESMTP id 3D837183EB5 for ; Thu, 30 Jul 2009 09:14:03 +1000 (EST) Original-Received: from blah.blah (ppp2FA7.dyn.pacific.net.au [61.8.47.167]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 7E7688C20 for ; Thu, 30 Jul 2009 09:14:02 +1000 (EST) Original-Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1MWIKw-000231-3U for emacs-pretest-bug@gnu.org; Thu, 30 Jul 2009 09:13:30 +1000 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 29 Jul 2009 19:37:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:29716 gmane.emacs.pretest.bugs:24881 Archived-At: 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