From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#18109: 24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven Date: Thu, 10 Dec 2020 16:12:25 +0300 Message-ID: References: <5FFB3461-E756-4C09-9BFE-E0F9C840E533@acm.org> <133EE4BE-AD7E-4197-9888-1E4CCC47BB90@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20084"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Lars Ingebrigtsen , 18109-done@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 10 14:38:59 2020 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 1knM9q-00054G-KE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 14:38:58 +0100 Original-Received: from localhost ([::1]:40370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knM9p-0001KG-K2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 08:38:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knLkk-0003Lz-M4 for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2020 08:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knLkk-0007uK-DB for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2020 08:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knLkk-0003Yy-9N for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2020 08:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Dec 2020 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18109 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 18109-done@debbugs.gnu.org id=D18109.160760595613659 (code D ref 18109); Thu, 10 Dec 2020 13:13:02 +0000 Original-Received: (at 18109-done) by debbugs.gnu.org; 10 Dec 2020 13:12:36 +0000 Original-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 Original-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 Original-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) Original-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: Original-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) In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Wed, 9 Dec 2020 19:41:27 +0100") 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:195647 Archived-At: 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