From unknown Sat Sep 06 04:31:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18109 <18109@debbugs.gnu.org> To: bug#18109 <18109@debbugs.gnu.org> Subject: Status: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven Reply-To: bug#18109 <18109@debbugs.gnu.org> Date: Sat, 06 Sep 2025 11:31:32 +0000 retitle 18109 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp= for Maven reassign 18109 emacs submitter 18109 Filipp Gunbin severity 18109 normal tag 18109 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 25 16:40:30 2014 Received: (at submit) by debbugs.gnu.org; 25 Jul 2014 20:40:31 +0000 Received: from localhost ([127.0.0.1]:38093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAmI0-0001BV-6q for submit@debbugs.gnu.org; Fri, 25 Jul 2014 16:40:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52038) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAjNL-0005B1-6z for submit@debbugs.gnu.org; Fri, 25 Jul 2014 13:33:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAjN9-0003ON-CA for submit@debbugs.gnu.org; Fri, 25 Jul 2014 13:33:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAjN9-0003OJ-8i for submit@debbugs.gnu.org; Fri, 25 Jul 2014 13:33:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAjN3-0001Ot-6U for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 13:33:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAjMx-0003LF-LK for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 13:33:29 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAjMx-0003LB-Ds for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 13:33:23 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by gateway1.nyi.internal (Postfix) with ESMTP id BC40F21712 for ; Fri, 25 Jul 2014 13:33:21 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 25 Jul 2014 13:33:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:mime-version:content-type; s= mesmtp; bh=FnTAo9jTwlKbuPAASixYYIIhwbg=; b=UmHdn5qtnCGnXRIxzpjI/ Geb3T2MqsOfYQ7FHSWLxB/TyDrr73oLtyicAsEFs+LKkRryhd3C0ozC1lEchRHud PD9d/+Q0ZZLM4HJICEZ+3XVP3fAckXfb62eqGlupqD3xqe9tdrlRkm41LMob+R3s j32YzJW+7d++pS2ntxh/iQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=FnTAo9jTwlKbuPAASixYYI Ihwbg=; b=EUW3ZyO2k84IW29eGLCdTXpe5nJm6LXl0XUL4tweRgUnIAo1HRzIid aN81SzYw+9kr/cfEMObqFJ4sM/THp90MbdtJ5akjx49Xjt0e5CYj7JX0MNPc7J7G bTgEkBQ+BnbMvIskhzsiYrwSZ5R8yNNA2kAzVaT5fuc1JFK5mVrsE= X-Sasl-enc: 97Yoefmh0BOQuwB7H5JqZ9WBpyxiF5KmrE1Qte96HkSO 1406309600 Received: from W2139SPB.PlayTeam.ru (unknown [94.25.210.15]) by mail.messagingengine.com (Postfix) with ESMTPA id 930D968021D for ; Fri, 25 Jul 2014 13:33:20 -0400 (EDT) From: Filipp Gunbin To: bug-gnu-emacs@gnu.org Subject: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven Date: Fri, 25 Jul 2014 21:33:18 +0400 Message-ID: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 25 Jul 2014 16:40:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Below is the corrected (I hope) version of the regexp. === modified file 'lisp/progmodes/compile.el' --- lisp/progmodes/compile.el 2014-05-29 03:45:29 +0000 +++ lisp/progmodes/compile.el 2014-07-22 18:33:53 +0000 @@ -211,12 +211,9 @@ (jikes-file "^\\(?:Found\\|Issued\\) .* compiling \"\\(.+\\)\":$" 1 nil nil 0) - - ;; This used to be pathologically slow on long lines (Bug#3441), - ;; due to matching filenames via \\(.*?\\). This might be faster. (maven ;; Maven is a popular free software build tool for Java. - "\\([^ \n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 1 2 3) + "\\(?:\\[ERROR\\]\\s-+\\)?\\([^[\n]+\\):\\[\\([[:digit:]]+\\),\\([[:digit:]]+\\)\\]" 1 2 3) (jikes-line "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" -- Filipp From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 03:22:28 2014 Received: (at 18109) by debbugs.gnu.org; 26 Jul 2014 07:22:28 +0000 Received: from localhost ([127.0.0.1]:38458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAwJH-0000Bh-Me for submit@debbugs.gnu.org; Sat, 26 Jul 2014 03:22:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34351 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAwJG-0000Ba-BV for 18109@debbugs.gnu.org; Sat, 26 Jul 2014 03:22:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XAwJE-0002Fq-Sc; Sat, 26 Jul 2014 03:22:25 -0400 From: Glenn Morris To: Filipp Gunbin Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven References: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> X-Spook: FSF JUWTF Ft. Knox Soviet ASIO halcon Bosnia corporate X-Ran: dlQt,THTRX2_Ah|jrN'(w"E4c.%u\aO<'e/?JGveHQaq'x#v"6L7te:H@0AAV{PaRaKtW. X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 26 Jul 2014 03:22:24 -0400 In-Reply-To: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> (Filipp Gunbin's message of "Fri, 25 Jul 2014 21:33:18 +0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 18109 Cc: 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 28 08:30:21 2014 Received: (at 18109) by debbugs.gnu.org; 28 Jul 2014 12:30:21 +0000 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 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 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) 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 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) From: Filipp Gunbin To: Glenn Morris Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven References: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> Date: Mon, 28 Jul 2014 16:30:06 +0400 In-Reply-To: (Glenn Morris's message of "Sat, 26 Jul 2014 03:22:24 -0400") Message-ID: <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (cygwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109 Cc: Filipp Gunbin , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 03 11:12:32 2014 Received: (at 18109) by debbugs.gnu.org; 3 Aug 2014 15:12:32 +0000 Received: from localhost ([127.0.0.1]:56100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XDxSZ-0007Sf-TQ for submit@debbugs.gnu.org; Sun, 03 Aug 2014 11:12:32 -0400 Received: from dancol.org ([96.126.100.184]:42803) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XDxSW-0007SU-NI for 18109@debbugs.gnu.org; Sun, 03 Aug 2014 11:12:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=bCdG7L/e3bfMMzY4pk96z1OBjGxT3pQNnB4VSLBYiGw=; b=gZ/+1tugsy/XyURy14AvUch+5pzEEH3LR4Jznxzupm+QDCxrWleYz6p5m6SyZ2Oh5Zgzx5Oj99LFv3qcUff1SdclUP+wV7vjzLPcfpydhMQn6Dh92bL5YeG8BnCL4Ay3G7UQluSkuSpGDdD94UMbUC5IFL2o236SgEvEsg5R0xlICcyndufmk6dV9njCLg14SQu8qD5IwmCkUaYaHKRgE8ws6IUO6OLDGuD6H9AA/YArAcyy3p8WIRj721qbQiODChs6+Lp1RUs6n1y0dFyw+P7aRbgic109Zb1qLFVbRX1AQyH8GNpSpYnDexyYDLANZHUFg1K83OayQpfHHUssuA==; Received: from c-67-171-18-24.hsd1.wa.comcast.net ([67.171.18.24] helo=[192.168.1.50]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XDxSS-0000H0-H2; Sun, 03 Aug 2014 08:12:24 -0700 Message-ID: <53DE5157.9060909@dancol.org> Date: Sun, 03 Aug 2014 08:12:23 -0700 From: Daniel Colascione User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Filipp Gunbin , Glenn Morris Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven References: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> In-Reply-To: <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8usVrPDvopDeNDu9HNKqBfd3Ikjoe4C86" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109 Cc: 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8usVrPDvopDeNDu9HNKqBfd3Ikjoe4C86 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07/28/2014 05:30 AM, Filipp Gunbin wrote: > Glenn, >=20 > On 26/07/2014 03:22 -0400, Glenn Morris wrote: >=20 >> 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 >=20 > Oh yes, sorry for the bad report. >=20 > While the original regexp catches these errors: >=20 > D:\cygwin\root\my-project\src\main\java\my\project\controllers\MainCont= roller.java:[27,12] error: cannot find symbol > [ERROR] symbol: class SomeService > location: class MainController >=20 > it does not catch these, which Maven emits sometimes: >=20 > [ERROR] D:\cygwin\root\my-project\src\main\java\my\project\controllers\= MainController.java:[21,1] error: cannot find symbol > [ERROR] symbol: class Controller >=20 > My version catches both. >=20 > Also, the original regexp seems to be more complicated than it really > should be. >=20 > Tested on Maven 2.2.1 and 3.0.4. >=20 Would you please consider converting this regexp to rx form? --8usVrPDvopDeNDu9HNKqBfd3Ikjoe4C86 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJT3lFXAAoJEMAaIROpHW7I3SYP/RUBRVjQuGski6SMRWJ9vOBW CQnbkHO/q+82oWODxmuXCiortpUo6fo9M69s6dCFAqv8ZWAXcv7DYozVcLf8zzUg Pus70jhTQ6+pxllxUdeLokh25cw1zmsBo6QMj627JM/0EqldqaW4oScc6cSZmMPr hvn6qhyccL9MCPpWEzPsvyH/1Wx8+6sokST+MibQXISJKJKYVOqT8tEx4jlnzLU3 z4VyzxcqVnxHM1qJfa3EYeQRhyU9HCDIBT3IWKpCFy2BcuoSy2MenKAk721+J/k6 zKtO8Nac/Lz7xiPA3XLIrGoBgpR+9nRyt2RSlpyiAr4HfZcB5tU+o5C7WIErOX19 dVNOYYcJUsDJEvIeCPjzVdrOOoUNj6XKxYtiHzaugAZvvkEa46/1gEXPRjAzH8u7 iqLscQQs+D3gbWexnrUq3trUOODjf8ZvXAtjaEYJA7zMpK9vi+i8VpNQt4HZq0fD Ucti/Jr9ujqaDE/j5vOVgYSp3ERPm9q25nm8i2y4OJnTWR4o8n8KXtCAdWWbpI2x ZrUMWMslR5obsP3+pk3GAUL78iU6jJ+sSnlTz4WtmufFDdmuuTYai6IjZ0hSJ5L7 SY8hOBkEYNR8XRPpj6nQNkWTcQmMfA0d8N0FnsMGnd46/kkUEuu074iiARIu2OKZ w7nI6YVr3hdGsKD//ma2 =sOYO -----END PGP SIGNATURE----- --8usVrPDvopDeNDu9HNKqBfd3Ikjoe4C86-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 07:16:33 2020 Received: (at 18109) by debbugs.gnu.org; 9 Sep 2020 11:16:33 +0000 Received: from localhost ([127.0.0.1]:57463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFy5Y-0007ui-Q6 for submit@debbugs.gnu.org; Wed, 09 Sep 2020 07:16:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFy5W-0007uQ-6n for 18109@debbugs.gnu.org; Wed, 09 Sep 2020 07:16:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DoeE5yXfHXbSrfh/7JK7Xt265IvbvO+5U6CxdyfZNnE=; b=oEDis3KndkB5mg4uQ163v8tTFB 17x+gt+oj1G4iQNNddi4H5+1tw+YZoIyCJyf/8AOgCm4WRJDEsPKdl6VOzN4dv/9BZl4vRUYRU25+ SeBXMpnqqYHv5e6nw9yds4KKuCu9PtjSnO/7bLyWVnQP2NtxiFdwSBceYV6RacFUSL8Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFy5M-0001md-4K; Wed, 09 Sep 2020 13:16:23 +0200 From: Lars Ingebrigtsen To: Filipp Gunbin Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven References: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> X-Now-Playing: Cosey Fanni Tutti's _Tutti_: "Split" Date: Wed, 09 Sep 2020 13:16:18 +0200 In-Reply-To: <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> (Filipp Gunbin's message of "Mon, 28 Jul 2014 16:30:06 +0400") Message-ID: <87zh5zci9p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Filipp Gunbin writes: > 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] sy [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18109 Cc: Glenn Morris , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Filipp Gunbin writes: > 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. There wasn't much of a follow-up on this afterwards (six years ago), but this regexp was rewritten to use rx this year: (maven ;; Maven is a popular free software build tool for Java. ,(rx bol ;; It is unclear whether the initial [type] tag is always present. (? "[" (or "ERROR" (group-n 1 "WARNING") (group-n 2 "INFO")) "] ") (group-n 3 ; File (not (any "\n [")) (* (or (not (any "\n :")) (: " " (not (any "\n/-"))) (: ":" (not (any "\n [")))))) ":[" (group-n 4 (+ digit)) ; Line "," (group-n 5 (+ digit)) ; Column "] ") 3 4 5 (1 . 2)) Looking at the new version, it does seem more similar to the proposed patch than it was before the rewrite. So does this work satisfactorily now (i.e., in Emacs 28)? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 07:16:38 2020 Received: (at control) by debbugs.gnu.org; 9 Sep 2020 11:16:38 +0000 Received: from localhost ([127.0.0.1]:57466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFy5e-0007uz-0k for submit@debbugs.gnu.org; Wed, 09 Sep 2020 07:16:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFy5c-0007ub-AY for control@debbugs.gnu.org; Wed, 09 Sep 2020 07:16:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ouWaaZvI1B/kxiMJA5ZvsQ8FJkkOkDGL+VBJqZvp/Lo=; b=e6ZuT1vw3oAl/ffdUHyWfKjKMF 5HrNfIj1HF9Un3c4A8BU6XJblqjaGn1oD7c5kPOHFpMdd93/ZMhbd/tg2y0LTCOekePVK4EIllYQ7 E71VJ09mHvRxNOGyFObMUUVSVWEB/1Xs/MdGS/K1z/EDViTTSZCLp1FF3Jfzifp374qk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFy5U-0001mm-H5 for control@debbugs.gnu.org; Wed, 09 Sep 2020 13:16:30 +0200 Date: Wed, 09 Sep 2020 13:16:27 +0200 Message-Id: <87y2ljci9g.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18109 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18109 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18109 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 09:59:32 2020 Received: (at 18109) by debbugs.gnu.org; 3 Dec 2020 14:59:32 +0000 Received: from localhost ([127.0.0.1]:41268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkq4y-0001ir-1k for submit@debbugs.gnu.org; Thu, 03 Dec 2020 09:59:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkq4v-0001ic-T9 for 18109@debbugs.gnu.org; Thu, 03 Dec 2020 09:59:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=o2ik7/9kXLPyrWaxMg6vMKd6mRTNtkbsEVFckhHhfMw=; b=j9h9nuWIu9svwm40GJjqOsr53I 1k91fbVxkdf1M4DjfTBV84EAnJmUL9yZ2tTecpwTUmJlIjN3+GFItyc1veOIpKxhAdsh91K36fZtR 7FfFOsF6Mmj2zVVIVG5fKt2jM7vk+yXog2GXHzXrGXYARMFaG90XnMA6kcbuq6BUSPts=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkq4m-0004qv-Qh; Thu, 03 Dec 2020 15:59:23 +0100 From: Lars Ingebrigtsen To: Filipp Gunbin Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven References: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> <87zh5zci9p.fsf@gnus.org> X-Now-Playing: Bob Dylan's _Highway 61 Revisited_: "Ballad Of A Thin Man" Date: Thu, 03 Dec 2020 15:59:19 +0100 In-Reply-To: <87zh5zci9p.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 09 Sep 2020 13:16:18 +0200") Message-ID: <87wnxzndfc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Looking at the new version, it does seem more similar to the proposed > patch than it was before the rewrite. > > So does this work satisfactorily now (i.e., in Emacs 28)? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18109 Cc: Glenn Morris , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Looking at the new version, it does seem more similar to the proposed > patch than it was before the rewrite. > > So does this work satisfactorily now (i.e., in Emacs 28)? More information was requested, but no response was given within a few months, so I'm closing this bug report. If the problem still exists, please respond to this email and we'll reopen the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 09:59:38 2020 Received: (at control) by debbugs.gnu.org; 3 Dec 2020 14:59:38 +0000 Received: from localhost ([127.0.0.1]:41271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkq54-0001j8-8E for submit@debbugs.gnu.org; Thu, 03 Dec 2020 09:59:38 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkq52-0001ip-NL for control@debbugs.gnu.org; Thu, 03 Dec 2020 09:59:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VJVMj9pYWCP39xN+RVvcMkw2L4X/EbdJNTiOTdVtmE4=; b=lFKRZb93JvDG2gbgTfLW7aGm+q YNLIgQcZa8gaQeguU00KQRfSE84zbGxKneEeUrkm/pHeMicWLOicdWw8lOkFa8LYtPgUF2KztNDmx 8hILQz/D1csmLXs6iBpmfC/HB9Ki0iWG94kQMpEY9ai6YulXrrpDyhMUlGRLe8ARQKd4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkq4u-0004r7-QE for control@debbugs.gnu.org; Thu, 03 Dec 2020 15:59:31 +0100 Date: Thu, 03 Dec 2020 15:59:27 +0100 Message-Id: <87v9djndf4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18109 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 18109 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 18109 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 13:12:11 2020 Received: (at 18109) by debbugs.gnu.org; 4 Dec 2020 18:12:11 +0000 Received: from localhost ([127.0.0.1]:45617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klFYw-0006nU-Qq for submit@debbugs.gnu.org; Fri, 04 Dec 2020 13:12:11 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klFYr-0006mm-Cw for 18109@debbugs.gnu.org; Fri, 04 Dec 2020 13:12:09 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 58FAF5C0158; Fri, 4 Dec 2020 13:11:59 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 04 Dec 2020 13:11:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=N4/WXMzOYXm5v2v+XpRgSw2hRk jR/uDmKP9fY9Hvjao=; b=MCaazwxhTooRj5SzI3k/TPNHLZNDee2luqL0hG/dLG DcofCVxrjHeda/+Km+i4E91Sspb2Ogp/5PaeB26Was7TtQctdNtLm7hL9GOJdFeg snUAExLKw2UpDjulHtRi9njfdlLwHui2T+ZDS12ajR2qUvldP/17I5XbdCdTgNje aBp5omToDj4CJPbRz+1DvvSvkZg5Hp/mRu3TkwMWdjv8uD3b+NN9plzv9o4zXT2h 03yVLy4gaGzUGAnCxkaFgrQYG5R85cdL061HtDK1ypn9R58MNwB2EbBI46W9pjm5 hjBtjtgexNTHsIbnziwb7LGjwMmqQdYZ9yLN+tWYqdfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=N4/WXM zOYXm5v2v+XpRgSw2hRkjR/uDmKP9fY9Hvjao=; b=N1bX8RkN/TpodJsukFWelo Gc3wPWiWG9jfBx1bBVYsKsHZjNcbgRoGHea71gkl9/jNUGRaSfxC8h0NKcTV5bXl /uQYfJHbFXhAwwYzp7OBLQltq6QueWPBMHtbm38ZJZa/20iqYR9Rd4c2m77DdysA 6UvtbJC7ms23F0igmaq8LMvTof/yM8XmXnQ/U8Q10usKm35tTj8xRSbOUBZgBOnB sknlAkzqiUq71AR6Ry3o8Keu5AlUjPgMuRMUgyZ1NOJOcRjoVVuIJ1q26rWKEDUE uq2NNgZVM5oF5d40Y/cKwBEKhjCthIiXmOQWoEIsIadVtvMvaTuCH+ZGuJ9xe5Ug == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeikedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesthdtredttdertdenucfhrhhomhephfhilhhi phhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmqeenucggtf frrghtthgvrhhnpedvveekffdvueevhfdutdejheekvdeufeevtedttdevuddugfeiffei veeivefhtdenucfkphepkeegrddvtdegrdduleefrddutdeinecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgr ihhlrdhfmh X-ME-Proxy: Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA id 6EA5024005A; Fri, 4 Dec 2020 13:11:58 -0500 (EST) From: Filipp Gunbin To: Lars Ingebrigtsen Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven In-Reply-To: <87wnxzndfc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 03 Dec 2020 15:59:19 +0100") References: <861tt9uyw1.fsf@W2139SPB.PlayTeam.ru> <867g2xvf75.fsf@W2139SPB.PlayTeam.ru> <87zh5zci9p.fsf@gnus.org> <87wnxzndfc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Date: Fri, 04 Dec 2020 21:11:56 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109 Cc: Glenn Morris , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 03/12/2020 15:59 +0100, Lars Ingebrigtsen wrote: > Lars Ingebrigtsen writes: > >> Looking at the new version, it does seem more similar to the proposed >> patch than it was before the rewrite. >> >> So does this work satisfactorily now (i.e., in Emacs 28)? > > More information was requested, but no response was given within a few > months, so I'm closing this bug report. If the problem still exists, > please respond to this email and we'll reopen the bug report. Thanks for looking at this, the regexp now seems to catch both my examples from years ago. Filipp From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:22:54 2020 Received: (at 18109) by debbugs.gnu.org; 4 Dec 2020 19:22:54 +0000 Received: from localhost ([127.0.0.1]:45891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGfN-0000FQ-OU for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:22:53 -0500 Received: from mail1478c50.megamailservers.eu ([91.136.14.78]:60290 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGfL-0000F9-N6 for 18109@debbugs.gnu.org; Fri, 04 Dec 2020 14:22:52 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1607109764; bh=CV4HqUfMdqtFe+KfgGejlQz0qB51MzxQptkNlRflSgo=; h=From:Subject:Date:Cc:To:From; b=KdyfRKY/Sas5czc1DSBNk46a9hzXCtmtamsLvvlaa4fGIZIE7MJKBvwX9nlYxxHZO 3RjG6uZ/LxwsN9LP+sZ8qYW/pyQmw8bRiBnfRjX5Rd57ir0RxqX6mRWjlen629FWU4 QzQBH2EU9mK22ocdiCjgnYc36WizxX0t3JZLUsNA= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-064ae655.032-75-73746f71.bbcust.telenor.se [85.230.74.6]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0B4JMgKw023136; Fri, 4 Dec 2020 19:22:43 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven Message-Id: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> Date: Fri, 4 Dec 2020 20:22:41 +0100 To: Filipp Gunbin , Lars Ingebrigtsen X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F21.5FCA8C84.006A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=HYRqsRM8 c=1 sm=1 tr=0 a=Ni+dBsiEfW2GqKMPYZim9A==:117 a=Ni+dBsiEfW2GqKMPYZim9A==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=XKPVjIrC8mtMuj-6nxoA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 4.1 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Thanks for looking at this, the regexp now seems to catch both my examples from years ago. We weren't sure whether messages always were prefixed by [ERROR] etc or could occur without such tags. The Maven documentation and source tree didn't help much, but perhaps I was looking in the wrong [...] Content analysis details: (4.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [91.136.14.78 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 3.1 FAKE_REPLY_B No description available. X-Debbugs-Envelope-To: 18109 Cc: 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Thanks for looking at this, the regexp now seems to catch both my examples from years ago. We weren't sure whether messages always were prefixed by [ERROR] etc or could occur without such tags. The Maven documentation and source tree didn't help much, but perhaps I was looking in the wrong [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [91.136.14.78 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 3.1 FAKE_REPLY_B No description available. > Thanks for looking at this, the regexp now seems to catch both my = examples from years ago.=20 We weren't sure whether messages always were prefixed by [ERROR] etc or = could occur without such tags. The Maven documentation and source tree = didn't help much, but perhaps I was looking in the wrong places. Could = you help resolve the issue? From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 17:22:25 2020 Received: (at 18109) by debbugs.gnu.org; 5 Dec 2020 22:22:26 +0000 Received: from localhost ([127.0.0.1]:48407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klfwf-0006X5-Nc for submit@debbugs.gnu.org; Sat, 05 Dec 2020 17:22:25 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klfwe-0006Wq-0x for 18109@debbugs.gnu.org; Sat, 05 Dec 2020 17:22:24 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BDE475C009C; Sat, 5 Dec 2020 17:22:18 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 05 Dec 2020 17:22:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= u3gY066AWImmL3AOqGRCTwnON2VVq4OhNTtjY5AHfr8=; b=DIFJAKdZeNvEA0F3 kmhBLsK+XKJLjuvkmxwzBSjdCMqKL8iFPDE31N6pUuG30mgPEN9Cydsywa3hybNq FavaOOzCkPeKyKlPgZ0gY0Vlu516onB9QwfND9ri6uC8SBk7ypRggdVE+UWWAlwj shKmfsi9AW5N/GlOiX1dCTcGLuqU0ZaadhjQWSSwhiY0P2pw5gFd2mc0c0uRxXxF A+9n+PGhCg9mG8ivsZjfkDqSCn8N99cFITIFINsLahiRzExrFQOB3pzi2lGnBn4E 89/vHTGbttcv+86IqrfIgw9VB0GDtKywJ5F+4NuaH1G5SboEQB1wm9nUrUupp88P xESclw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=u3gY066AWImmL3AOqGRCTwnON2VVq4OhNTtjY5AHf r8=; b=imZS1FcYh71Quwd319f/5CkFsRe7fHdVof/u2MwGhMDi5Tjt90sCnZKGT US7dY8QL+6UEY2Ws98VrMmQsTNrHJKwy72S3+lvOtH3dZP0AO3oIEyyG948xfiwe vyGOElkSwrTf3/g9oiS625Fv2XlRc8UNWM3eDR8LVgftzVdDAnmGt3MBUYCnx0PN TY1mWIy8Peho3Ojpi3gxGrLaBSvW/XmV+LueRmHpvhwa7X9SGehJS8VXqRDbZx2Z MwNu4LnW+A37VkGXUXZSVxyNtTEBYA3erzoHbAWhMOOBz4kyenawbcfFz9hKV6AS FF5zxO3vemJpRdgKinE/sUyWOLSnA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejtddgudeigecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpefhihhl ihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecugg ftrfgrthhtvghrnhepkedvkeduledvtddvleevjeegtedugfdvlefgfeetgfekjeehheev hffgteffiefgnecukfhppeekfedruddtvddrvddtfedrudeileenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhm rghilhdrfhhm X-ME-Proxy: Received: from fgunbin.local (unknown [83.102.203.169]) by mail.messagingengine.com (Postfix) with ESMTPA id C1E02108005B; Sat, 5 Dec 2020 17:22:17 -0500 (EST) From: Filipp Gunbin To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven In-Reply-To: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Fri, 4 Dec 2020 20:22:41 +0100") References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Date: Sun, 06 Dec 2020 01:21:46 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 04/12/2020 20:22 +0100, Mattias Engdeg=C3=A5rd wrote: >> Thanks for looking at this, the regexp now seems to catch both my exampl= es from years ago.=20 > > We weren't sure whether messages always were prefixed by [ERROR] etc > or could occur without such tags. The Maven documentation and source > tree didn't help much, but perhaps I was looking in the wrong > places. Could you help resolve the issue? Now the regexp seems to catch both prefixed and non-prefixed messages, what else should be resolved here? Filipp From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 04:32:33 2020 Received: (at 18109) by debbugs.gnu.org; 6 Dec 2020 09:32:33 +0000 Received: from localhost ([127.0.0.1]:48910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klqPA-0001iP-Tr for submit@debbugs.gnu.org; Sun, 06 Dec 2020 04:32:33 -0500 Received: from mail205c50.megamailservers.eu ([91.136.10.215]:57076 helo=mail193c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klqP9-0001iH-EN for 18109@debbugs.gnu.org; Sun, 06 Dec 2020 04:32:32 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1607247150; bh=AT/go0ymDqyIrZExBw7ERIv0d2QBKTSuLyaZ0fXFnYw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=LoXbya6yIsB0DJOtqpSWAdiCeLOIDedkhuMqznlKf7uheUNbeyWHCvn+U7SRFbQRV FWcmZpT07vzqUi9bqey3rWR0fYssGnK715Nmwd1PtDDjItCBNmO9W79ytNys8gIhBY n6tXZ9mZSh1xGYNlRGeiWYiTS6JwX7MA2trkdn/A= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail193c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0B69WRQf027999; Sun, 6 Dec 2020 09:32:29 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Sun, 6 Dec 2020 10:32:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> To: Filipp Gunbin X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F29.5FCCA52D.0089, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=TYHoSiYh c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=7QlR9HwxabTWQS-y42IA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 5 dec. 2020 kl. 23.21 skrev Filipp Gunbin : > Now the regexp seems to catch both prefixed and non-prefixed messages, > what else should be resolved here? Ah, yes. Apart from the examples in compilation.txt, I could not find = any evidence for non-prefixed messages ever being emitted. Since I'm not = a Maven user myself, it would be useful to know if the non-prefixed = example was just an oversight or an actual occurrence. It is not a major problem but I like doing a proper work. Having = patterns that match more than their strict minimum can be troublesome = for two reasons: a regexp may accidentally catch a message intended for = another pattern, and it may slow down message matching. Both have been = issues several times in the past, which is why I'm wary of having = too-loose regexps in the list. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 09:22:54 2020 Received: (at 18109) by debbugs.gnu.org; 6 Dec 2020 14:22:55 +0000 Received: from localhost ([127.0.0.1]:49239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kluwA-0004h5-KP for submit@debbugs.gnu.org; Sun, 06 Dec 2020 09:22:54 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kluw7-0004gl-Tm for 18109@debbugs.gnu.org; Sun, 06 Dec 2020 09:22:52 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 953675C0085; Sun, 6 Dec 2020 09:22:46 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 06 Dec 2020 09:22:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= l2LQjb7oFY+xzr5LsM7XzQHFHLB8/1cesIfCT97/Ew0=; b=XNVrXSpoKK220wNY eHWoWwFYuvq2hPmxSubSy8gCS3ZR1GFF4amQZ2GRZ7jaRN9yrJuGmZoWqqcA+ak3 E6b0FpWRgwCT795vpxR/gCdWzdSS35EmJkU4ZkiXjVNTRXIJJ4G+7yi1NL98zmxy WOWCcheYw4jJbtoAuUAwbIHTh1b9pzcS5X2TA8Fh5Q/xZnnXoT8p+JxM0XLRYU6b oJSFFO7jYawlYcRX2yaHTfKWztXYS/3Gx7aqqYo4l804Bn4y4o1cCa6DSBoFPv4G 9FcC7xSCELAao15kh+mKndR4dUlkVsjZEmf7cmVyrDwuFpOG37qwf5htsTI3Dtkp X7kyuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=l2LQjb7oFY+xzr5LsM7XzQHFHLB8/1cesIfCT97/E w0=; b=TXDENYU2GWWOOmteUu/cykHtKqF1XeXPM4vqL+1ZFkwRtHOA+M1WP+Scp SgIzTW1ooCweB70ON5pK6KmQEDMW765GjcGuWQCKjwR4MmP8Y9KAwaDRO8tOv9mm bLqFurIYFF/FzPJXWX+/uUg2XQHc9RKl72DbGjZ489u7E4bfSH0s5swZgE9MyQWu BukTsvxYU/pWkG9DYrnrZm0FkO5a3mE/B1C7tTwTLm4Xc/uN/x39fP8UXcPCa8NW QPwZS4mozqWHvI75lcmlG5R53EWeSnRXbc3bQ4/W3c1uH0+O//M6grXOxiJKyJ/q lVg/KwO6l0kQ0KnFw2Ps22PefT9mg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejvddgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtgfesthhqredttderjeenucfhrhhomhephfhilhhi phhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmqeenucggtf frrghtthgvrhhnpeekvdekudelvddtvdelveejgeetudfgvdelgfeftefgkeejheehvefh gfetffeigfenucfkphepkeefrddutddvrddvtdefrdduieelnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgr ihhlrdhfmh X-ME-Proxy: Received: from fgunbin.local (unknown [83.102.203.169]) by mail.messagingengine.com (Postfix) with ESMTPA id 876681080059; Sun, 6 Dec 2020 09:22:45 -0500 (EST) From: Filipp Gunbin To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven In-Reply-To: ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Sun, 6 Dec 2020 10:32:27 +0100") References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Date: Sun, 06 Dec 2020 17:22:21 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 06/12/2020 10:32 +0100, Mattias Engdeg=C3=A5rd wrote: > 5 dec. 2020 kl. 23.21 skrev Filipp Gunbin : > >> Now the regexp seems to catch both prefixed and non-prefixed messages, >> what else should be resolved here? > > Ah, yes. Apart from the examples in compilation.txt, I could not find > any evidence for non-prefixed messages ever being emitted. Since I'm > not a Maven user myself, it would be useful to know if the > non-prefixed example was just an oversight or an actual occurrence. > > It is not a major problem but I like doing a proper work. Having > patterns that match more than their strict minimum can be troublesome > for two reasons: a regexp may accidentally catch a message intended > for another pattern, and it may slow down message matching. Both have > been issues several times in the past, which is why I'm wary of having > too-loose regexps in the list. Hm, I rarely use Maven these days (many projects switched to Gradle), and I'm not on Windows any more, so I cannot reproduce the original problem now. If you think it's very improbable to have non-prefixed message - just make the regexp more strict, and let's see whether someone reports it again. Filipp From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 10:05:32 2020 Received: (at 18109) by debbugs.gnu.org; 6 Dec 2020 15:05:32 +0000 Received: from localhost ([127.0.0.1]:50697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvbQ-0001tC-7U for submit@debbugs.gnu.org; Sun, 06 Dec 2020 10:05:32 -0500 Received: from mail1476c50.megamailservers.eu ([91.136.14.76]:48116 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvbO-0001sx-44 for 18109@debbugs.gnu.org; Sun, 06 Dec 2020 10:05:31 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1607267123; bh=K/Ml8/cxHTxyfVoerCtmceY9JzXxG21MR/0omSnJbUA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=hpJjxCavrg5akhkKiIX+si7crZc9kHL3LUEXDxrNdFw9ZaUA9K6xI5JbZOo9HEMLx JutkI2jRH4dnuNZex6Me8bBdFK5xEzBBGUFwoLX1x/Q34AvWtNjuPrze5KWwsdWaXH Ku5sE/9wF+5Zfiyd3t4bblj+R+VhCcgFtHhehpik= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0B6F5KsZ016721; Sun, 6 Dec 2020 15:05:22 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Sun, 6 Dec 2020 16:05:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> To: Filipp Gunbin X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F27.5FCCF333.000C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=HYRqsRM8 c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=6oRtVurhXDSkwXCM-FwA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 6 dec. 2020 kl. 15.22 skrev Filipp Gunbin : > Hm, I rarely use Maven these days (many projects switched to Gradle), > and I'm not on Windows any more, so I cannot reproduce the original > problem now. If you think it's very improbable to have non-prefixed > message - just make the regexp more strict, and let's see whether > someone reports it again. Thank you, maybe we should indeed do that. It is good to have someone knowing Gradle! That pattern could need some = work as well. It currently is (in rx form): (rx bol (| (group "w") nonl) ":" (* " ") ; ?? (group (? (in "A-Za-z") ":") (+ (not (in "\n:")))) ":" (* " ") ; ?? "(" (group (+ (in "0-9"))) "," (* " ") ; ?? (group (+ (in "0-9"))) ")") but the examples (from compilation.txt) look like: e: /src/Test.kt: (34, 15): foo: bar w: /src/Test.kt: (34, 15): foo: bar Thus it looks like we can expect exactly one space each after the first = and second colon and after the comma, instead of zero-or-more spaces = (the '??' comments above). As a Gradle user, can you confirm this? The way the pattern is written makes it prone to matching other messages = entirely or partly, with potential negative consequences for = correctness, performance or both. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 10:25:39 2020 Received: (at 18109) by debbugs.gnu.org; 6 Dec 2020 15:25:39 +0000 Received: from localhost ([127.0.0.1]:50766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvus-0004YD-V5 for submit@debbugs.gnu.org; Sun, 06 Dec 2020 10:25:39 -0500 Received: from mail1458c50.megamailservers.eu ([91.136.14.58]:47552 helo=mail267c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klvuq-0004Xy-Dx for 18109@debbugs.gnu.org; Sun, 06 Dec 2020 10:25:37 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1607268330; bh=LSjS7p+CjD42sn4ITwQLvzH7xTN5xGXtKnfDuroQn28=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=JRQYwXrbVKhqaIOf0h5zh3P8FGQlkAsIIT/b/fXVwjKADvSX3x2gxa72kNmRzQ5rY 4Lr96qYYSsXUNxTjPJ3DwtuWey1T0XtlhF6nxiS0uXwq/sF+FD+yUSKVHnfdu8qYgF 7eImRW4/zK4GCBSVcBDYolu9MdXrNpTMYyPp3jtI= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail267c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0B6FPRSw022554; Sun, 6 Dec 2020 15:25:29 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Message-Id: <28953AAF-3AE5-4D36-9120-60FA1E467BA9@acm.org> Content-Type: multipart/mixed; boundary="Apple-Mail=_81B9021F-4816-46CA-8524-9D7B8415A2BC" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven Date: Sun, 6 Dec 2020 16:25:27 +0100 In-Reply-To: To: Filipp Gunbin References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F19.5FCCF7EA.0001, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=arrM9hRV c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=M51BFTxLslgA:10 a=mDnvgWRhAAAA:20 a=asJLb5P1BOyo8pTtX3YA:9 a=CjuIK1q_8ugA:10 a=2WrZxbmVkUsA:10 a=VlZU0XKO32wA:10 a=u4KBlVihIGsgXrorn8oA:9 a=B2y7HmGcmWMA:10 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Thus it looks like we can expect exactly one space each after the first and second colon and after the comma, instead of zero-or-more spaces Looking at https://github.com/JetBrains/kotlin/commit/ffe8ae3840d7b9bdc82170c8181031f05ced68bd, it looks likely; here is a proposed patch. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --Apple-Mail=_81B9021F-4816-46CA-8524-9D7B8415A2BC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Thus it looks like we can expect exactly one space each after the = first and second colon and after the comma, instead of zero-or-more = spaces Looking at = https://github.com/JetBrains/kotlin/commit/ffe8ae3840d7b9bdc82170c8181031f= 05ced68bd, it looks likely; here is a proposed patch. --Apple-Mail=_81B9021F-4816-46CA-8524-9D7B8415A2BC Content-Disposition: attachment; filename=0001-Stricter-gradle-kotlin-message-pattern.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Stricter-gradle-kotlin-message-pattern.patch" Content-Transfer-Encoding: quoted-printable =46rom=20125b6d1c9c4d852fa638a86652f0fde9a89c9d0d=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Sun,=206=20Dec=202020=2016:22:09=20+0100=0A= Subject:=20[PATCH]=20Stricter=20gradle-kotlin=20message=20pattern=0A=0A*=20= lisp/progmodes/compile.el=20(compilation-error-regexp-alist-alist):=0A= Rule=20'gradle-kotlin':=20don't=20be=20more=20forgiving=20than=20= necessary;=20we=20know=0Aexactly=20what=20the=20output=20looks=20like=20= (see=0Ahttps://github.com/JetBrains/kotlin/commit/\=0A= ffe8ae3840d7b9bdc82170c8181031f05ced68bd)=20and=20there=20is=20no=20= reason=20to=0Arisk=20mismatches=20or=20expensive=20backtracking=20= (bug#18109).=20=20Recognise=0A'info'=20level=20messages.=20=20Convert=20= to=20rx.=0A---=0A=20lisp/progmodes/compile.el=20|=2019=20= ++++++++++++++-----=0A=201=20file=20changed,=2014=20insertions(+),=205=20= deletions(-)=0A=0Adiff=20--git=20a/lisp/progmodes/compile.el=20= b/lisp/progmodes/compile.el=0Aindex=20787f5d5ef3..bc14407155=20100644=0A= ---=20a/lisp/progmodes/compile.el=0A+++=20b/lisp/progmodes/compile.el=0A= @@=20-241,11=20+241,20=20@@=20compilation-error-regexp-alist-alist=0A=20=20= =20=20=20;;=20GradleStyleMessagerRenderer.kt=20in=20kotlin=20sources,=20= see=0A=20=20=20=20=20;;=20= https://youtrack.jetbrains.com/issue/KT-34683).=0A=20=20=20=20=20= (gradle-kotlin=0A-=20=20=20=20=20,(concat=0A-=20=20=20=20=20=20=20= "^\\(?:\\(w\\)\\|.\\):=20*"=20=20=20=20=20=20=20=20=20=20=20=20;type=0A-=20= =20=20=20=20=20=20"\\(\\(?:[A-Za-z]:\\)?[^:\n]+\\):=20*"=20;file=0A-=20=20= =20=20=20=20=20"(\\([0-9]+\\),=20*\\([0-9]+\\))")=20=20=20=20=20;line,=20= column=0A-=20=20=20=20=202=203=204=20(1))=0A+=20=20=20=20=20,(rx=20bol=0A= +=20=20=20=20=20=20=20=20=20=20(|=20(group=20"w")=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20;=201:=20warning=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20(group=20(in=20"iv"))=20=20=20=20=20=20=20=20=20=20;=202:=20= info=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20"e")=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;=20error=0A+=20=20=20=20=20= =20=20=20=20=20":=20"=0A+=20=20=20=20=20=20=20=20=20=20(group=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;=203:=20= file=0A+=20=20=20=20=20=20=20=20=20=20=20(?=20(in=20"A-Za-z")=20":")=0A+=20= =20=20=20=20=20=20=20=20=20=20(+=20(not=20(in=20"\n:"))))=0A+=20=20=20=20= =20=20=20=20=20=20":=20("=0A+=20=20=20=20=20=20=20=20=20=20(group=20(+=20= digit))=20=20=20=20=20=20=20=20=20=20=20=20=20;=204:=20line=0A+=20=20=20=20= =20=20=20=20=20=20",=20"=0A+=20=20=20=20=20=20=20=20=20=20(group=20(+=20= digit))=20=20=20=20=20=20=20=20=20=20=20=20=20;=205:=20column=0A+=20=20=20= =20=20=20=20=20=20=20"):=20")=0A+=20=20=20=20=203=204=205=20(1=20.=202))=0A= =20=0A=20=20=20=20=20(iar=0A=20=20=20=20=20=20= "^\"\\(.*\\)\",\\([0-9]+\\)\\s-+\\(?:Error\\|Warnin\\(g\\)\\)\\[[0-9]+\\]:= "=0A--=20=0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_81B9021F-4816-46CA-8524-9D7B8415A2BC-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 05:41:49 2020 Received: (at 18109) by debbugs.gnu.org; 7 Dec 2020 10:41:49 +0000 Received: from localhost ([127.0.0.1]:52537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmDxk-0000Fa-PV for submit@debbugs.gnu.org; Mon, 07 Dec 2020 05:41:48 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:46149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmDxi-0000FN-Qe for 18109@debbugs.gnu.org; Mon, 07 Dec 2020 05:41:48 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id A070A455; Mon, 7 Dec 2020 05:41:40 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 07 Dec 2020 05:41:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= YdGMCsQ6IlyYyfsVNtptBGglpFmiogtBQYasLCTJ+z8=; b=YE2fO2C86dLbAkIN l45Qrmo4dhE0Jye4wKJno+VlNCxBM8cJ4pHyURFxjmAMtJNCfkBH+NDPLLmLSJxa PKVebRcJR3/7LgMcFCDFdbT+JhjaIm5EfsfLabztZ4wWqw2sgakTmjGxrze0OOmz Y7Ym3FUMPzgWwKr63DZUHhSBR6XBfSRnJ4rm1lOekLn0+3LZp3dPyJh7kLdlnXwF tKAeC2GLNJde4fiU+W98UWpdeDQyYcWuYFqicxhQv69Jl3o1thKyJsgd3TGCchmy DLZO5DK6oZR3XquK0brDpgCy3OQYz2twk8qrvhsFokByiVWoCx6w8Hr0PFZ2DRpn flgCyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=YdGMCsQ6IlyYyfsVNtptBGglpFmiogtBQYasLCTJ+ z8=; b=LRhlPiOcr4UOZAWGDajWT/cGQpbaxX7Sy2APfGcDTrlLJvhnYEtgp5sia B+QK8+bLaXUVax8DA6ymMpCeE8YUh9B/g3hrdk4TcYr6zAnL8ewzszgvh+cfqxsO HQqZFA4EzG6dpZzQewY7UBzobp9OWS4ejzNLIMjsZwQW+CTpXpYolEk0tCkbv1vI Sj9B9poE88gyRL19ZGv9Wt+ZiqfUNaIRWRxtWNNyuu31WdbG0aZLBMqSRW8k4Zdm Xm7L9kYZ+/b/1HOvewVX6jhXKf1UWeJQoxpNple9iWlpdMYbNiRJQ+3+uxZfDtqf kT3S3rttLknPM5LOxCo+op6ciQbww== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejgedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtgfesthhqredttderjeenucfhrhhomhephfhilhhi phhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmqeenucggtf frrghtthgvrhhnpeekvdekudelvddtvdelveejgeetudfgvdelgfeftefgkeejheehvefh gfetffeigfenucfkphepkeefrddutddvrddvtdefrdduieelnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgr ihhlrdhfmh X-ME-Proxy: Received: from fgunbin.local (unknown [83.102.203.169]) by mail.messagingengine.com (Postfix) with ESMTPA id 5E2891080057; Mon, 7 Dec 2020 05:41:39 -0500 (EST) From: Filipp Gunbin To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven In-Reply-To: ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Sun, 6 Dec 2020 16:05:20 +0100") References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Date: Mon, 07 Dec 2020 13:41:09 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 06/12/2020 16:05 +0100, Mattias Engdeg=C3=A5rd wrote: > Thus it looks like we can expect exactly one space each after the first a= nd second colon and after the comma, instead of zero-or-more spaces (the '?= ?' comments above). As a Gradle user, can you confirm this? > > The way the pattern is written makes it prone to matching other messages = entirely or partly, with potential negative consequences for correctness, p= erformance or both. It was me who put there those quantifiers, and I don't object to making the regexps stricter. But, we just need to be aware that Java tools usually don't expect the output to be parsed. Like, an IDE uses Gradle's API to run it, and Gradle uses compiler API to compile - this way none of them have to parse anything. So they output something that can be parsed, yes, but the format could change at any time. That is why I'm more inclined to making regexps more _lax_, not the other way around (and fix the problems with them once they appear). Filipp From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 08:49:49 2020 Received: (at 18109) by debbugs.gnu.org; 7 Dec 2020 13:49:49 +0000 Received: from localhost ([127.0.0.1]:52923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGth-00033F-2S for submit@debbugs.gnu.org; Mon, 07 Dec 2020 08:49:49 -0500 Received: from mail156c50.megamailservers.eu ([91.136.10.166]:49984 helo=mail51c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGte-000330-8B for 18109@debbugs.gnu.org; Mon, 07 Dec 2020 08:49:48 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1607348983; bh=OjCXlgAVROq/JjjMYKDDVBUOJJRl08rdmHZbHfNJs5Q=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=DFIuG9yTlg7qfAV9LRt7pjU7d5jouW/KdOFx/w5KGN6FzCB7IjLU8QaXPH+equyIH tjQJvh4kDeBFWqhxUbLwhJDTlxqV9FvAfQhs5F65g7U6W07kbmSw7xWqNHYQfyOEf2 4TtoI3D4pAud8ZzIgC87keFeU24gQE6fMWEWjB3I= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail51c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0B7Dne4b011527; Mon, 7 Dec 2020 13:49:42 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Mon, 7 Dec 2020 14:49:40 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <133EE4BE-AD7E-4197-9888-1E4CCC47BB90@acm.org> References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> To: Filipp Gunbin X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F17.5FCE32F7.0080, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=KvgzJleN c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=vWT8KFaXwqab4tfkh3sA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 7 dec. 2020 kl. 11.41 skrev Filipp Gunbin : > It was me who put there those quantifiers, and I don't object to = making > the regexps stricter. It would be unfair to blame you for that! After all, that's how most of = the other patterns were written, and for logical reasons: it seems = intuitive and sensible to make the rules as loose as possible in case = the format changes or there is otherwise a variation in the output. If = the observed messages contain a single space in one place then standard = practice has been to tolerate any number of spaces there, maybe even = zero. However, experience tells us that this intuition is wrong. Output = formats do in fact tend to remain unchanged: Emacs and other editors, = IDEs and other code are parsing them, and they are not all equally = tolerant or in the same way. There is thus a self-reinforcing effect: = the tool keeps output stable because we expect it to. (When output = formats do change, it tends to be for good reasons and regexp tolerance = is then rarely useful.) > But, we just need to be aware that Java tools usually don't expect the > output to be parsed. Yes they do! The very composition of something like the gradle-kotlin = output e: FILENAME: (LINE, COL): MESSAGE is so strict and formalised that it was definitely made with = machine-readability in mind. > That is why I'm more inclined to > making regexps more _lax_, not the other way around (and fix the > problems with them once they appear). As we have found out the hard way, the cost of lax patterns is insidious = and diffuse until the mess really has to be sorted out -- and by then = it's hard to get hold of the various people involved who have since long = disappeared or forgot all about what they wrote years ago. Patterns are = added independently of one another but interact in unexpected ways. Thus, better to keep patterns strict, and only alter them when and if = tool output changes; it is then clear exactly what needs to be done and = why. For most rules this never becomes necessary. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 15:07:54 2020 Received: (at 18109) by debbugs.gnu.org; 7 Dec 2020 20:07:54 +0000 Received: from localhost ([127.0.0.1]:55594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmMna-0006wB-96 for submit@debbugs.gnu.org; Mon, 07 Dec 2020 15:07:54 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmMnY-0006w0-Kg for 18109@debbugs.gnu.org; Mon, 07 Dec 2020 15:07:53 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5F1ED5C01EA; Mon, 7 Dec 2020 15:07:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 07 Dec 2020 15:07:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= Mn0WYWKTQRhw614iLKEJQAj1+sSsd8ucJBtO8ntMNUU=; b=ZMtD83IxFhcd3Ie/ 84wQ1pn0ObIvxQakeMZ0JiAaGKBX1cnp8pNURc0Nci6moPNBkle0sPeee1cw/JCH 7xiOY3DJ0P2DBk0u3LkmbdRpbkoDbJlyPp2BMMsO+EfvDsEi8I2gAjJEzPujEo6a bWZ1Gtksg2WdN2u0hXsaPOegcR3EBOmOu/QWAGPgo/h/TR64Z/yLc052fb3VqRjj 5dKFK4D19iZYcqybatD/ZvCFqhfrEjRp4ZQ3+WgoVgIU/ZuENmIkQQ+eqOVD7b1A mD7io+pFfcUnHNGW5Ec6rlnUEeS55f/TucdSTJMhuDyED6r2Siq7TZX8j1Le4yHV 59losw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Mn0WYWKTQRhw614iLKEJQAj1+sSsd8ucJBtO8ntMN UU=; b=EEV63lsLWuw46stQrGEhtrVP2reaHqHV7JKs932RRTBJxJxKX1QM9UR2M rm1rTIr+oNgNoHUEakKflK/A1o2cUHDs94YkOqC15L3Fkstm+mD+i4TFbLHfGIGM 6gw/oW0m1Wd/Oa+QocD04ZenfaDMsGFEk1Ftd6Ilj3IPjNQQDvQS/8TGdr1Zn9Dn Qca/Ttj1FRQwj7gDiilSqZhLe+5hpFegKILXHAotiiAKdNmhDCGMa1/t6JCHCDum AS6F46ulDf7G1dXY6vhZk5Jl9zFicOZ1hTNbxN9Iv/j1XtulmhiTLSARUrkKgIQr fZfR0QajlXix7xFB5gvpCVr0rznyw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejgedgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpefhihhl ihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecugg ftrfgrthhtvghrnhepkedvkeduledvtddvleevjeegtedugfdvlefgfeetgfekjeehheev hffgteffiefgnecukfhppeekgedrvddtgedrudelfedruddtieenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhm rghilhdrfhhm X-ME-Proxy: Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA id 6EDCB1080066; Mon, 7 Dec 2020 15:07:46 -0500 (EST) From: Filipp Gunbin To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven In-Reply-To: <133EE4BE-AD7E-4197-9888-1E4CCC47BB90@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Mon, 7 Dec 2020 14:49:40 +0100") References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> <133EE4BE-AD7E-4197-9888-1E4CCC47BB90@acm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Date: Mon, 07 Dec 2020 23:07:44 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109 Cc: Lars Ingebrigtsen , 18109@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 07/12/2020 14:49 +0100, Mattias Engdeg=C3=A5rd wrote: > However, experience tells us that this intuition is wrong. Output > formats do in fact tend to remain unchanged: Emacs and other editors, > IDEs and other code are parsing them, and they are not all equally > tolerant or in the same way. There is thus a self-reinforcing effect: > the tool keeps output stable because we expect it to. (When output > formats do change, it tends to be for good reasons and regexp > tolerance is then rarely useful.) I would be very much happy if this was true (I don't say it's the opposite, but I have a feeling that few in Java world care about how the error parses in Emacs). >> But, we just need to be aware that Java tools usually don't expect the >> output to be parsed. > > Yes they do! The very composition of something like the gradle-kotlin out= put > > e: FILENAME: (LINE, COL): MESSAGE > > is so strict and formalised that it was definitely made with > machine-readability in mind. I doubt that any modern-or-so Java IDE will parse any error messages, given that build tools and compilers have APIs. At the level of build tools, I can tell only for Gradle, and (to the best of my knowledge) it doesn't - when invoking either compilers or other tools, like checkstyle plugins. >> That is why I'm more inclined to >> making regexps more _lax_, not the other way around (and fix the >> problems with them once they appear). > > As we have found out the hard way, the cost of lax patterns is > insidious and diffuse until the mess really has to be sorted out -- > and by then it's hard to get hold of the various people involved who > have since long disappeared or forgot all about what they wrote years > ago. Patterns are added independently of one another but interact in > unexpected ways. > > Thus, better to keep patterns strict, and only alter them when and if > tool output changes; it is then clear exactly what needs to be done > and why. For most rules this never becomes necessary. Just wondering - did we have really that much problems caused by bad performance of compilation regexps? Because if we did, then maybe we should look at other approaches, like trying to detect the compiler used, and narrow the set of regexps based on it. It's natural to expect that many different people would edit these regexps when something doesn't work for them, and expecting that you will always come and fix the things up would not be very fair to you :-) Filipp From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 09 13:42:45 2020 Received: (at 18109-done) by debbugs.gnu.org; 9 Dec 2020 18:42:45 +0000 Received: from localhost ([127.0.0.1]:36081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn4QH-00018z-Em for submit@debbugs.gnu.org; Wed, 09 Dec 2020 13:42:45 -0500 Received: from mail1444c50.megamailservers.eu ([91.136.14.44]:35038 helo=mail264c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn4QF-00018i-RT for 18109-done@debbugs.gnu.org; Wed, 09 Dec 2020 13:42:44 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1607539356; bh=y5pgFO2gPuC6Ivjp0O7BTBSzzX5sVrXxPU/cIjrY2x0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=aQKe0PbfaQQqIWmk6Yt/i3QFl9q2w7gNKpz0wo9C/tRfbknICuEfQ4GLxmNidbcqk 9eX+6lPR1/FcTb1qdCxqjkKqRvWJJsh0/+zJpMpsoCNQhrwkKmpkxwXnwiLlzgiJK6 K9+sSJzx9Z8M0bHPnE6oFIE/TmJZf+LzjIDRAOVs= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail264c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0B9IgYEf020676; Wed, 9 Dec 2020 18:42:36 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Wed, 9 Dec 2020 19:41:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> <133EE4BE-AD7E-4197-9888-1E4CCC47BB90@acm.org> To: Filipp Gunbin X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F23.5FD11A9C.009B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=bPlo382Z c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=R7GNrqYv_EcShI-FDagA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 7 dec. 2020 kl. 21.07 skrev Filipp Gunbin : > [...] I have a feeling that few in Java world care about how the > error parses in Emacs). Most likely. On the other hand, lack of interest in the output format can also imply that it's unlikely to change. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 18109-done Cc: Lars Ingebrigtsen , 18109-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 7 dec. 2020 kl. 21.07 skrev Filipp Gunbin : > [...] I have a feeling that few in Java world care about how the > error parses in Emacs). Most likely. On the other hand, lack of interest in the output format = can also imply that it's unlikely to change. > I doubt that any modern-or-so Java IDE will parse any error messages, > given that build tools and compilers have APIs. Quite possible, but the very emission of formalised messages to = stdout/stderr means that this mode of usage is still acknowledged as = somewhat common and useful. > - did we have really that much problems caused by bad > performance of compilation regexps? Because if we did, then maybe we > should look at other approaches, like trying to detect the compiler > used, and narrow the set of regexps based on it. This is hard to do in any practical way, not the least because a single = message buffer may consist of the combined output of dozens of different = tools -- compilers, linters, build tools, spell checkers, testing, stack = traces, packaging, and so on. Not to mention the practical difficulty of = going from the string 'make' to 'GCC version 11.2'. That things work reasonably anyway is very much thanks to the prevalence = of a few fairly common formats, such as GNU (file:line: message). > It's natural to expect > that many different people would edit these regexps when something > doesn't work for them, and expecting that you will always come and fix > the things up would not be very fair to you :-) Very considerate, thank you! There seems to be a fairly good flow of = reports when something doesn't work. (A more modern and inviting = bug-reporting system would probably help but that is a completely = different matter.) I'm pushing the proposed tightening of gradle-kotlin because the = principle is right, and even if the Java world internally prefer APIs = for composing tools, a tighter regexp in Emacs helps performance and = accuracy for other patterns. Loose regexps form a sort of tragedy of the = commons. It seems that we also have forgotten to close the bug; doing that now. = Thank you again for the insightful comments! From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 10 08:12:36 2020 Received: (at 18109-done) by debbugs.gnu.org; 10 Dec 2020 13:12:36 +0000 Received: from localhost ([127.0.0.1]:37243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knLkK-0003YF-2u for submit@debbugs.gnu.org; Thu, 10 Dec 2020 08:12:36 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:53979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knLkI-0003Y0-5s for 18109-done@debbugs.gnu.org; Thu, 10 Dec 2020 08:12:34 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C910B5C00F0; Thu, 10 Dec 2020 08:12:27 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 10 Dec 2020 08:12:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= st1J/k/AqjA59+6RbkXCfnnCmcdle0ttMFfSosjZekw=; b=I0iT2asR3QXT9Xo1 RdRdEMOmnCUHNf9yN+vvZVTDzm9v6/l1IgGPeOGQAlNAfiKIcxM7mxZ50yiIRLTu O+gSGqeGKkT6MMOv+VMWmkyQrRtZ/oyXDXTPBRfdKBrLbnG4d5yuMHA2lo0Pd5jE hpmPald2Ai0L0TJ+lEvN7lwb05d4tSoYpfnAw395Yv0Z3TMCit9DMUNP2GuqYoQt lPhB/gGw6ZqqlJ5K3scHFjeJSnXLqiO8v/aE4GYFslJAx8lwCvvNk9MGA18Gczbt 7lF1nm+S3uAQd5qCj+gCxfzP7gF0wZKxaCSKSMaHvXMqokGb2y6GCK1uMOyRwhqq YzvKFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=st1J/k/AqjA59+6RbkXCfnnCmcdle0ttMFfSosjZe kw=; b=gwoOEND3f86y6O89NwBx4dJtCPXLoGsYNkqZAcUvj84Ms+UwH43PaK3z3 nW4wX0SRWo2+AgSh/AU/fJXS+UZoHtwP9x2jOlEKGRtK7U93Vf8/ihwxgv9EVR6f uLo4fjAebX9CdzyBYgDRvAcq6BOOp9Bqcd+UZfJXndozCCUb0F52zvzx/gSNDhvl g60u85sT3A8vGUU0rTxgbX5AZ0i10jms02HqTbxQK8UP0HZ0HVwizUcdC15ftnnK XbtLx1D84Y/qJDB71KMDQl1kPghPkHLiQy4OPty9szUxxxIV72uUF++0YFV03Rb3 TBHG9ZxpV23kx2+OHi/MkLGKzKEEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudektddggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtgfesthhqredttderjeenucfhrhhomhephfhilhhi phhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmqeenucggtf frrghtthgvrhhnpeekvdekudelvddtvdelveejgeetudfgvdelgfeftefgkeejheehvefh gfetffeigfenucfkphepkeegrddvtdegrdduleefrddutdeinecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgr ihhlrdhfmh X-ME-Proxy: Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA id 0117F1080066; Thu, 10 Dec 2020 08:12:26 -0500 (EST) From: Filipp Gunbin To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven In-Reply-To: ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Wed, 9 Dec 2020 19:41:27 +0100") References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> <133EE4BE-AD7E-4197-9888-1E4CCC47BB90@acm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Date: Thu, 10 Dec 2020 16:12:25 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18109-done Cc: Lars Ingebrigtsen , 18109-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 09/12/2020 19:41 +0100, Mattias Engdeg=C3=A5rd wrote: > Quite possible, but the very emission of formalised messages to > stdout/stderr means that this mode of usage is still acknowledged as > somewhat common and useful. Yes, sure. >> - did we have really that much problems caused by bad >> performance of compilation regexps? Because if we did, then maybe we >> should look at other approaches, like trying to detect the compiler >> used, and narrow the set of regexps based on it. > > This is hard to do in any practical way, not the least because a > single message buffer may consist of the combined output of dozens of > different tools -- compilers, linters, build tools, spell checkers, > testing, stack traces, packaging, and so on. Not to mention the > practical difficulty of going from the string 'make' to 'GCC version > 11.2'. > > That things work reasonably anyway is very much thanks to the > prevalence of a few fairly common formats, such as GNU (file:line: > message). Yes, btw I see that "gnu" regexp sometimes captures messages which I expect to be captured by "javac" regexp. This is not that unexpected, given the occasional similarity between formats... I'll look into that later. >> It's natural to expect >> that many different people would edit these regexps when something >> doesn't work for them, and expecting that you will always come and fix >> the things up would not be very fair to you :-) > > Very considerate, thank you! There seems to be a fairly good flow of > reports when something doesn't work. (A more modern and inviting > bug-reporting system would probably help but that is a completely > different matter.) > > I'm pushing the proposed tightening of gradle-kotlin because the > principle is right, and even if the Java world internally prefer APIs > for composing tools, a tighter regexp in Emacs helps performance and > accuracy for other patterns. Loose regexps form a sort of tragedy of > the commons. > > It seems that we also have forgotten to close the bug; doing that > now. Thank you again for the insightful comments! Thank you for careful work. Filipp From unknown Sat Sep 06 04:31:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 08 Jan 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator