From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#56249: 29.0.50; Compilation buffer parsing "ERROR:" incorrectly Date: Wed, 29 Jun 2022 17:43:27 +0200 Message-ID: <63EDC249-0201-4EA6-BA54-18679F1C7BB0@acm.org> References: <667E588F-9F89-4B75-901D-8453A409AB1D@acm.org> <87a69vhcvr.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4943"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56249@debbugs.gnu.org, Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 29 17:44:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o6ZrX-000138-6O for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 17:44:19 +0200 Original-Received: from localhost ([::1]:45716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6ZrV-0002k5-Lq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 11:44:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6ZrH-0002iW-JR for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 11:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6ZrG-0002WX-Ev for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 11:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6ZrG-0006vF-Cm for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2022 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56249 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56249-submit@debbugs.gnu.org id=B56249.165651741726565 (code B ref 56249); Wed, 29 Jun 2022 15:44:02 +0000 Original-Received: (at 56249) by debbugs.gnu.org; 29 Jun 2022 15:43:37 +0000 Original-Received: from localhost ([127.0.0.1]:59886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Zqr-0006uO-9L for submit@debbugs.gnu.org; Wed, 29 Jun 2022 11:43:37 -0400 Original-Received: from mail155c50.megamailservers.eu ([91.136.10.165]:50662 helo=mail51c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Zqm-0006uA-3y for 56249@debbugs.gnu.org; Wed, 29 Jun 2022 11:43:35 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1656517410; bh=deGf93uljcCJ+qolsZz1h94rV+Z6JrxOtOFOjVPjihw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ISKJbSzqZ5UndMUODRFFZtOOdGhqL4Bx9l9gsmbru0U0q7S6PA4dHWYwmOWiVI65M g9z4E6ys3qxnUH8fjyqAqfoD3srPmMzQ8/7236lCZOfUMxqQqL1bRj6iZcaw54XGhN 3945ZWSjkRCBYLfuXhZ/BYpMDVNED/TfM9tQ07Tg= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail51c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 25TFhSn9076969; Wed, 29 Jun 2022 15:43:29 +0000 In-Reply-To: <87a69vhcvr.fsf@gnus.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F1E.62BC7322.0046, 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-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235645 Archived-At: 29 juni 2022 kl. 14.28 skrev Lars Ingebrigtsen : >> What about asking the authors to follow the GNU message format >> instead? Failing that, a new pattern could be used. It would be much >> simpler than `gnu`. >=20 > Sure, the latter makes sense. Thank you, I have now made the `gnu` rule more robust again. It no = longer accidentally matches the example given. Rudolf, I suggest you customise your Emacs by adding something like ("^ *ERROR:\\(?1:[^\n:]+\\):\\(?2:[[:digit:]]+\\): " 1 2) or, equivalently, `(,(rx bol (* " ") "ERROR:" (group-n 1 ; file (+ (not (in ":\n")))) ":" (group-n 2 (+ digit)) ; line ": ") 1 2) to `compilation-regexp-alist`. We (that is, I) have no idea what is = emitting the message and how stable the format is, so adding it to the = standard compilation rule list is a fool's errand. We wouldn't even know = what to call it. If you have deeper knowledge of the tool and how it works then you might = want to help us clarify it or even get the message updated to the = standard GNU format. Some tools are able to use that format even if they = do not emit it by default.