From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven Date: Mon, 28 Jul 2014 16:30:06 +0400 Message-ID: <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> References: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406550686 30074 80.91.229.3 (28 Jul 2014 12:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2014 12:31:26 +0000 (UTC) Cc: Filipp Gunbin , 18109@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 14:31:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XBk5G-0005Et-20 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 14:31:18 +0200 Original-Received: from localhost ([::1]:39521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBk5F-0001Q8-Mc for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 08:31:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBk56-0001PC-TR for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 08:31:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBk50-00065e-Ec for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 08:31:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBk50-00065a-BP for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 08:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XBk4z-0001Xr-R3 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 08:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Jul 2014 12:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18109 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18109-submit@debbugs.gnu.org id=B18109.14065506215882 (code B ref 18109); Mon, 28 Jul 2014 12:31:01 +0000 Original-Received: (at 18109) by debbugs.gnu.org; 28 Jul 2014 12:30:21 +0000 Original-Received: from localhost ([127.0.0.1]:40371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBk4G-0001Wi-PC for submit@debbugs.gnu.org; Mon, 28 Jul 2014 08:30:20 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42102) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBk49-0001WU-Op for 18109@debbugs.gnu.org; Mon, 28 Jul 2014 08:30:13 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by gateway1.nyi.internal (Postfix) with ESMTP id 17B4F20DDD for <18109@debbugs.gnu.org>; Mon, 28 Jul 2014 08:30:09 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 28 Jul 2014 08:30:09 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=mesmtp; bh=wZdMgpavmEnpsA6LU828E4t 7qTY=; b=Sn5/ICvQ5E7rMWuTvUk1U9NdWaxbiFqLxxWeqOJR4c5grdfOfwn4Kil Z853mrqyW6JmL4/Vy91nDhHXn1+GO02l9GaVJ+/Xk2pV/yGWlesQrAS05bJTDL/c zeD9OJeGLA/Oyo/Dn9VowK7razTAjCEA0Xon0wTLdGxcaTnEpU/Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=wZdMgpavmEnpsA6LU828E4t7qTY=; b=s94oPEIEdfzx+1jPWjDx0Wx+W92r bOVUm/YwJ+i5BdFnPSeR9Y+MeGc+/4qFlfoAO4lLLV0/FL+B0n782KonxljpnAA2 7seLid3QDYMHQO2MjQ9OFTps5la+XZIXb//2m2Cha+JEathcLu447lEREvtun02x rN8PzF5vXMAVuMU= X-Sasl-enc: oLc2tnZJLO6Hshy2nokRAcVdcZpmCd+32yRNIb742rUV 1406550608 Original-Received: from W2139SPB.PlayTeam.ru (unknown [94.25.210.15]) by mail.messagingengine.com (Postfix) with ESMTPA id 560C068021F; Mon, 28 Jul 2014 08:30:08 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Sat, 26 Jul 2014 03:22:24 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (cygwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91881 Archived-At: Glenn, On 26/07/2014 03:22 -0400, Glenn Morris wrote: > Please explain why it is wrong, and show an example of what is is > supposed to match. The current one in etc/compilation.txt is: > > * maven 2.0.9 > > symbol: maven > > FooBar.java:[111,53] no interface expected here Oh yes, sorry for the bad report. While the original regexp catches these errors: D:\cygwin\root\my-project\src\main\java\my\project\controllers\MainController.java:[27,12] error: cannot find symbol [ERROR] symbol: class SomeService location: class MainController it does not catch these, which Maven emits sometimes: [ERROR] D:\cygwin\root\my-project\src\main\java\my\project\controllers\MainController.java:[21,1] error: cannot find symbol [ERROR] symbol: class Controller My version catches both. Also, the original regexp seems to be more complicated than it really should be. Tested on Maven 2.2.1 and 3.0.4. -- Filipp