From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: M-x compile still very line-length weak Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2020 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39595@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158164836627477 (code B ref -1); Fri, 14 Feb 2020 02:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2020 02:46:06 +0000 Received: from localhost ([127.0.0.1]:60742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2QzV-000797-Ih for submit@debbugs.gnu.org; Thu, 13 Feb 2020 21:46:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:59473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2QzR-00078Q-FQ for submit@debbugs.gnu.org; Thu, 13 Feb 2020 21:46:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42839) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2QzQ-0003ji-98 for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 21:46:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_50,DATE_IN_PAST_12_24, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2QzP-0001PM-2w for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 21:45:59 -0500 Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:27590) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2QzO-0001F6-Lf for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 21:45:59 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0F367340A5F for ; Fri, 14 Feb 2020 02:45:56 +0000 (UTC) Received: from pdx1-sub0-mail-a75.g.dreamhost.com (100-96-0-7.trex.outbound.svc.cluster.local [100.96.0.7]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9672234084D for ; Fri, 14 Feb 2020 02:45:55 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a75.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 14 Feb 2020 02:45:55 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Obese-Celery: 58fdcd5a5d9242aa_1581648355834_3687481708 X-MC-Loop-Signature: 1581648355834:2947565136 X-MC-Ingress-Time: 1581648355834 Received: from pdx1-sub0-mail-a75.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a75.g.dreamhost.com (Postfix) with ESMTP id 43F847F6C7 for ; Thu, 13 Feb 2020 18:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=3Ijb2e/6BwaDjrZtduPQNyDHZvw=; b=F4OcLSPPdV4IxVS6 ycmxFgyRZEYkfPcWkTcEMi9r0qLTXGNlDVTNQyV75xaaW5fMBT9bzlFR7AqTokv5 4aS53JDcN8b/l7GrnYL0hwx1+hSeP4//xgeIcz4b0KgZ0C9T8rjOEnEux3Df+F7A 9h88qS97Wa/T+dZ6ziwKp8cQsOU= Received: from jidanni.org (1-170-82-161.dynamic-ip.hinet.net [1.170.82.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a75.g.dreamhost.com (Postfix) with ESMTPSA id C90BD7F6B7 for ; Thu, 13 Feb 2020 18:45:52 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a75 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Thu, 13 Feb 2020 13:51:57 +0800 Message-ID: <87wo8rjapu.8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrieelgdehtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppedurddujedtrdekvddrudeiudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddrudejtddrkedvrdduiedupdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.55 X-Spam-Score: 1.0 (+) 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 (/) Compare M-x compile on make aaa vs. make bbb $ cat Makefile aaa:; perl -we 'print " " x 9999;' #finishes right away. bbb:; perl -we 'print "\n" x 9999;' #takes several seconds, even on the latest hardware. (Indeed, on even longer lines we even see both the words "exit" and "Compiling" at the same time in the modeline.) emacs-version "26.3" From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak References: <87wo8rjapu.8.fsf@jidanni.org> In-Reply-To: <87wo8rjapu.8.fsf@jidanni.org> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2020 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 39595@debbugs.gnu.org Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158167912210288 (code B ref 39595); Fri, 14 Feb 2020 11:19:02 +0000 Received: (at 39595) by debbugs.gnu.org; 14 Feb 2020 11:18:42 +0000 Received: from localhost ([127.0.0.1]:60920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Yza-0002fr-2e for submit@debbugs.gnu.org; Fri, 14 Feb 2020 06:18:42 -0500 Received: from mail1451c50.megamailservers.eu ([91.136.14.51]:56208 helo=mail266c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2YzY-0002fd-F3 for 39595@debbugs.gnu.org; Fri, 14 Feb 2020 06:18:41 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1581679113; bh=7zJSshQ8z0GKWAKAbiWEzLGGjYxqmEisdAxZCPYYTRE=; h=From:Subject:Date:Cc:To:From; b=Qgy3Z/myGEbCFEZ/keFItrtH4JwcT3stcAH5poWn6XmG7Tmne5cXjlyL6Te7crU9U v/JywnAh27MF4x3Lxqgaj1jHPdmc4nAF5V236u8HPPlRAdF+eaM2XG/RxMRrF4dckY vhO4/q2oA4FU5DJeCh1LO3uI4UctsxJ7StioNKj4= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail266c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 01EBIUWx028244; Fri, 14 Feb 2020 11:18:32 +0000 From: Mattias =?UTF-8?Q?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.11\)) Message-Id: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> Date: Fri, 14 Feb 2020 12:18:29 +0100 X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B0203.5E468209.001C, 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=PNJxBsiC c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=MHjLBy5-V-TPwyxC2iwA:9 a=CjuIK1q_8ugA:10 X-Spam-Score: 1.2 (+) 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: > aaa:; perl -we 'print " " x 9999;' #finishes right away. > bbb:; perl -we 'print "\n" x 9999;' #takes several seconds, even on the latest hardware. (The comments seem to have been swapped around, but we get the idea.) Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: megamailservers.eu] 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.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS 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 (/) > aaa:; perl -we 'print " " x 9999;' #finishes right away. > bbb:; perl -we 'print "\n" x 9999;' #takes several seconds, even on = the latest hardware.=20 (The comments seem to have been swapped around, but we get the idea.) This is not a rare edge case. Long lines are not uncommon in compilation = output, and a sluggish M-x compile reflects badly on Emacs since it is a = commonly used function. The main culprit seems to be 'omake' -- try removing it from = compilation-error-regexp-alist. There is still an annoying delay; = further investigation is needed. (For instance, 'msft' occurs twice; = this must be a mistake.) From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2020 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Eli Zaretskii , Stefan Monnier , Paul Pogonyshev Cc: 39595@debbugs.gnu.org Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158169767316143 (code B ref 39595); Fri, 14 Feb 2020 16:28:02 +0000 Received: (at 39595) by debbugs.gnu.org; 14 Feb 2020 16:27:53 +0000 Received: from localhost ([127.0.0.1]:34585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2don-0004CJ-7j for submit@debbugs.gnu.org; Fri, 14 Feb 2020 11:27:53 -0500 Received: from mail1435c50.megamailservers.eu ([91.136.14.35]:49720 helo=mail263c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2dol-0004C4-40 for 39595@debbugs.gnu.org; Fri, 14 Feb 2020 11:27:51 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1581697664; bh=vHwz17yCkvFGax4LvF38s+/gOCFSWiU6ZQeGWyMWX18=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=DpBDVZkORqnVVs+yYHCfuE+rq3yuI5C2bJaDsfBfbVLV0jzGtkdUdnXWMWdU26RuY yzvtosZ5X/LKf5FQD+MbyJe4v87aQz0duCgCMlR0vjfMxQHFYxhFlqnpEs4V1puz3b enUIJPnfFlsE57stmpGpGvEtqaI11p0yuBsX4z9g= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail263c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 01EGReG0008240; Fri, 14 Feb 2020 16:27:42 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> Date: Fri, 14 Feb 2020 17:27:39 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B020B.5E46CA80.0030, 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=II989TnG c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=EuFwmYcipPse7gDJoKEA:9 a=CjuIK1q_8ugA:10 X-Spam-Score: 1.2 (+) 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: Dan, in your example you used a long line of spaces. Presumably that is representative for your particular use, but different message parsers are sensitive to different kinds of long lines: * 'omake' in compilation-error-regexp-alist is indeed what makes Emacs unusably slow with long lines of spaces. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: megamailservers.eu] 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.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS 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 (/) Dan, in your example you used a long line of spaces. Presumably that is = representative for your particular use, but different message parsers = are sensitive to different kinds of long lines: * 'omake' in compilation-error-regexp-alist is indeed what makes Emacs = unusably slow with long lines of spaces. * 'msft' and 'watcom' are both expensive with long lines of spaces, but = not as bad as 'omake'. Maybe these regexps can be tuned further. * 'msft' occurs twice by mistake; the last one should be removed. This = helps a bit. * 'maven' is still expensive for long lines of non-spaces; see bug#3441. = Anchoring the match at line-start would fix it: (rx bol (? "[" (or "ERROR" (group "WARNING") (group "INFO")) "]" (+ " ")) (group (not (in "\n ")) (* (or (not (in "\n :")) (: " " (not (in "\n/-"))) (: ":" (not (in "\n [")))))) ":[" (group (+ digit)) "," (group (+ digit)) "] ") Is that correct? (CC:ing Paul Pogonyshev, who worked on that regexp in = bug#20556.) I suggest we disable omake by default --- although a nice tool, it was = never widely used, and OCaml programmers tend to use Dune (or plain = Make) these days. The omake rule will still be there for those who need = it, but the majority shouldn't bear the cost. From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2020 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 39595@debbugs.gnu.org, pogonyshev@gmail.com, monnier@iro.umontreal.ca, jidanni@jidanni.org Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158169966719331 (code B ref 39595); Fri, 14 Feb 2020 17:02:02 +0000 Received: (at 39595) by debbugs.gnu.org; 14 Feb 2020 17:01:07 +0000 Received: from localhost ([127.0.0.1]:34628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2eKx-00051j-0J for submit@debbugs.gnu.org; Fri, 14 Feb 2020 12:01:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2eKt-000515-FD for 39595@debbugs.gnu.org; Fri, 14 Feb 2020 12:01:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2eKn-00045Z-J4; Fri, 14 Feb 2020 12:00:57 -0500 Received: from [176.228.60.248] (port=4191 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2eKh-0000gV-Pl; Fri, 14 Feb 2020 12:00:52 -0500 Date: Fri, 14 Feb 2020 19:00:56 +0200 Message-Id: <83tv3tnlx3.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Fri, 14 Feb 2020 17:27:39 +0100) References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) 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 (-) > From: Mattias EngdegÄrd > Date: Fri, 14 Feb 2020 17:27:39 +0100 > Cc: 39595@debbugs.gnu.org > > I suggest we disable omake by default --- although a nice tool, it was never widely used, and OCaml programmers tend to use Dune (or plain Make) these days. The omake rule will still be there for those who need it, but the majority shouldn't bear the cost. Is there some forum where the relevant people could be asked about this? From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2020 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 39595@debbugs.gnu.org, pogonyshev@gmail.com, monnier@iro.umontreal.ca, jidanni@jidanni.org Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.15817204772890 (code B ref 39595); Fri, 14 Feb 2020 22:48:02 +0000 Received: (at 39595) by debbugs.gnu.org; 14 Feb 2020 22:47:57 +0000 Received: from localhost ([127.0.0.1]:34865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2jka-0000kY-OH for submit@debbugs.gnu.org; Fri, 14 Feb 2020 17:47:56 -0500 Received: from mail1448c50.megamailservers.eu ([91.136.14.48]:55604 helo=mail265c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2jkZ-0000kL-DJ for 39595@debbugs.gnu.org; Fri, 14 Feb 2020 17:47:56 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1581720468; bh=ic/Sz1bVjSqLtIs1EAm/hmbTxQPJGnFM7eLNq7rA/Ac=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=TYQq5GLHW3gzfzrWwM4A6eXv/aGqa1w/5SYEPZiHCxvwPLn6zqKX+8+gMqAuhnSiy alUJXoqMLHlgNcRioYdC99kmGV3XU+67CkNFzlXA4tIlgC9z3lFlL0aEVl96rWW24I YT3IfAQ/k3VAzrmzIvBWAj4BIqjgma/UmfJ8saMQ= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail265c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 01EMli30001859; Fri, 14 Feb 2020 22:47:46 +0000 From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Message-Id: <7A842DF4-BACB-4CB2-A9DD-40AA57CA8DF0@acm.org> Content-Type: multipart/mixed; boundary="Apple-Mail=_F14DADC2-22DC-4C61-84E2-9CFC7CACE475" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Fri, 14 Feb 2020 23:47:43 +0100 In-Reply-To: <83tv3tnlx3.fsf@gnu.org> References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> <83tv3tnlx3.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B020A.5E472394.0019, 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=YIzhNiOx c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=M51BFTxLslgA:10 a=mDV3o1hIAAAA:8 a=W5zR9GYl-WMolKA5B9YA:9 a=CjuIK1q_8ugA:10 a=kZ5RKdf9fqByTGCrS1kA:9 a=B2y7HmGcmWMA:10 a=2Up9zCP-_lcUppEizuUA:9 a=_FVE-zBwftR9WsbkzFJk:22 X-Spam-Score: 1.2 (+) 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: 14 feb. 2020 kl. 18.00 skrev Eli Zaretskii : > Is there some forum where the relevant people could be asked about > this? Not sure where to go for that. The problem is really in Emacs's hacky implementation: when 'omake' is included in compilation-error-regexp-alist, many other regexps are rewritten in a way that makes t [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.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) 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS 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=_F14DADC2-22DC-4C61-84E2-9CFC7CACE475 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 14 feb. 2020 kl. 18.00 skrev Eli Zaretskii : > Is there some forum where the relevant people could be asked about > this? Not sure where to go for that. The problem is really in Emacs's hacky = implementation: when 'omake' is included in = compilation-error-regexp-alist, many other regexps are rewritten in a = way that makes them potentially slower. This is why it's not an ideal = feature to have enabled by default. Attached are two patches: one that anchors the regexp for Maven, and one = that speeds up 'msft' and 'watcom' by eliminating the same = repetition-after-repetition flaw in each (not much different from those = found by the latest relint/xr scan posted to emacs-devel). --Apple-Mail=_F14DADC2-22DC-4C61-84E2-9CFC7CACE475 Content-Disposition: attachment; filename=0001-Speed-up-maven-compilation-error-message-regexp.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Speed-up-maven-compilation-error-message-regexp.patch" Content-Transfer-Encoding: quoted-printable =46rom=203d589111903e823c9fab3a94e42a7339ad9edd89=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Fri,=2014=20Feb=202020=2021:26:20=20+0100=0A= Subject:=20[PATCH=201/2]=20Speed=20up=20'maven'=20compilation=20error=20= message=20regexp=0A=0AAnchor=20the=20regexp=20at=20line-start=20to=20= prevent=20quadratic=20behaviour=20when=0Ait=20doesn't=20match=20= (bug#39595).=0A=0A*=20lisp/progmodes/compile.el=20= (compilation-error-regexp-alist-alist):=0ARewrite=20'maven'=20regexp,=20= using=20rx=20for=20clarity.=0A---=0A=20lisp/progmodes/compile.el=20|=20= 18=20+++++++++++++++++-=0A=201=20file=20changed,=2017=20insertions(+),=20= 1=20deletion(-)=0A=0Adiff=20--git=20a/lisp/progmodes/compile.el=20= b/lisp/progmodes/compile.el=0Aindex=2048ac85a73b..65c2978c9e=20100644=0A= ---=20a/lisp/progmodes/compile.el=0A+++=20b/lisp/progmodes/compile.el=0A= @@=20-273,7=20+273,23=20@@=20compilation-error-regexp-alist-alist=0A=20=20= =20=20=20;;=20due=20to=20matching=20filenames=20via=20\\(.*?\\).=20=20= This=20might=20be=20faster.=0A=20=20=20=20=20(maven=0A=20=20=20=20=20=20= ;;=20Maven=20is=20a=20popular=20free=20software=20build=20tool=20for=20= Java.=0A-=20=20=20=20=20"\\(\\[WARNING\\]=20*\\)?\\([^=20\n]\\(?:[^\n=20= :]\\|=20[^-/\n]\\|:[^=20\n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]=20"=20= 2=203=204=20(1))=0A+=20=20=20=20=20,(rx=20bol=0A+=20=20=20=20=20=20=20=20= =20=20(?=20(*=20"=20")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20"["=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20(or=20"ERROR"=20(group-n=201=20= "WARNING")=20(group-n=202=20"INFO"))=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20"]"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(+=20"=20"))=0A+=20=20= =20=20=20=20=20=20=20=20(group-n=203=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(not=20(any=20"\n=20"))=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(*=20(|=20(not=20(any=20"\n=20:"))=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (:=20"=20"=20(not=20(any=20"\n/-")))=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(:=20":"=20(not=20(any=20"\n=20= ["))))))=0A+=20=20=20=20=20=20=20=20=20=20":["=0A+=20=20=20=20=20=20=20=20= =20=20(group-n=204=20(+=20digit))=0A+=20=20=20=20=20=20=20=20=20=20","=0A= +=20=20=20=20=20=20=20=20=20=20(group-n=205=20(+=20digit))=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(jikes-line=0A=20=20=20=20=20=20"^=20*\\([0-9]+\\)\\.[=20= \t]+.*\n=20+\\(<-*>\n\\*\\*\\*=20\\(?:Error\\|Warnin\\(g\\)\\)\\)"=0A--=20= =0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_F14DADC2-22DC-4C61-84E2-9CFC7CACE475 Content-Disposition: attachment; filename=0002-Speed-up-msft-and-watcom-compilation-error-regexps.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0002-Speed-up-msft-and-watcom-compilation-error-regexps.patch" Content-Transfer-Encoding: quoted-printable =46rom=205d749520ddde466fd8ae5412ace567a7e6cc313b=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Fri,=2014=20Feb=202020=2023:38:24=20+0100=0A= Subject:=20[PATCH=202/2]=20Speed=20up=20'msft'=20and=20'watcom'=20= compilation=20error=20regexps=0A=0AThey=20have=20similar=20structure,=20= and=20both=20suffer=20from=20being=20able=20to=0Amatch=20leading=20= spaces=20in=20multiple=20ways=20which=20leads=20to=20bad=20performance=0A= when=20backtracking=20(bug#39595).=0A=0A*=20lisp/progmodes/compile.el=20= (compilation-error-regexp-alist-alist):=0AImproved=20'msft'=20and=20= 'watcom'=20regexps.=0A---=0A=20lisp/progmodes/compile.el=20|=204=20++--=0A= =201=20file=20changed,=202=20insertions(+),=202=20deletions(-)=0A=0Adiff=20= --git=20a/lisp/progmodes/compile.el=20b/lisp/progmodes/compile.el=0A= index=2065c2978c9e..79d2293e21=20100644=0A---=20= a/lisp/progmodes/compile.el=0A+++=20b/lisp/progmodes/compile.el=0A@@=20= -221,7=20+221,7=20@@=20compilation-error-regexp-alist-alist=0A=20=20=20=20= =20=20;;=20considered=20before=20EDG.=0A=20=20=20=20=20=20;;=20The=20= message=20may=20be=20a=20"warning",=20"error",=20or=20"fatal=20error"=20= with=0A=20=20=20=20=20=20;;=20an=20error=20code,=20or=20"see=20= declaration=20of"=20without=20an=20error=20code.=0A-=20=20=20=20=20"^=20= *\\([0-9]+>\\)?\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\))=20?\=0A+=20= =20=20=20=20"^=20*\\([0-9]+>\\)?\\(\\(?:[a-zA-Z]:\\)?[^=20= :(\t\n][^:(\t\n]*\\)(\\([0-9]+\\))=20?\=0A=20:=20\\(?:see=20= declaration\\|\\(?:warnin\\(g\\)\\|[a-z=20]+\\)=20C[0-9]+:\\)"=0A=20=20=20= =20=20=202=203=20nil=20(4))=0A=20=0A@@=20-459,7=20+459,7=20@@=20= compilation-error-regexp-alist-alist=0A=20=20=20=20=20=20"^\\([^,=20= \n\t]+\\),=20line=20\\([0-9]+\\),=20char=20\\([0-9]+\\)[:.,=20(-]"=201=20= 2=203)=0A=20=0A=20=20=20=20=20(watcom=0A-=20=20=20=20=20"^[=20= \t]*\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)):=20?\=0A+=20=20=20=20= =20"^[=20\t]*\\(\\(?:[a-zA-Z]:\\)?[^=20= :(\t\n][^:(\t\n]*\\)(\\([0-9]+\\)):=20?\=0A=20\\(?:\\(Error!=20= E[0-9]+\\)\\|\\(Warning!=20W[0-9]+\\)\\):"=0A=20=20=20=20=20=201=202=20= nil=20(4))=0A=20=0A--=20=0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_F14DADC2-22DC-4C61-84E2-9CFC7CACE475-- From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak In-Reply-To: <87wo8rjapu.8.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Feb 2020 01:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 39595@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , Paul Pogonyshev Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158173014525440 (code B ref 39595); Sat, 15 Feb 2020 01:30:02 +0000 Received: (at 39595) by debbugs.gnu.org; 15 Feb 2020 01:29:05 +0000 Received: from localhost ([127.0.0.1]:34915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2mGW-0006cG-RT for submit@debbugs.gnu.org; Fri, 14 Feb 2020 20:29:05 -0500 Received: from blue.elm.relay.mailchannels.net ([23.83.212.20]:48276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2mGU-0006bq-Ds for 39595@debbugs.gnu.org; Fri, 14 Feb 2020 20:29:03 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 286B350089D; Sat, 15 Feb 2020 01:29:01 +0000 (UTC) Received: from pdx1-sub0-mail-a60.g.dreamhost.com (100-96-217-5.trex.outbound.svc.cluster.local [100.96.217.5]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BF72B50158F; Sat, 15 Feb 2020 01:29:00 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a60.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sat, 15 Feb 2020 01:29:01 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Ski-Arch: 13bc595e50313f5f_1581730140862_4253259498 X-MC-Loop-Signature: 1581730140862:475571384 X-MC-Ingress-Time: 1581730140862 Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id 2E276B0ADA; Fri, 14 Feb 2020 17:28:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=Et4Y98Djwwf2GAuMluglAFfiozk=; b=RKG0WUcRl49EV UzItMbJ7chuZ7N8OkXZ6zVyoLhQvytRa23GDEloxfRFTeijaFmS5iX3jobasPBrq RPikY0W5SQXFRd+cS318wQbIbNlvGl/oUBvkJ5QdwXHgCB7AwFpSmL4mcKmKQ2n2 HxVJ+mrb3tIVNwLiceW8qHlseDgc8c= Received: from jidanni.org (114-26-45-153.dynamic-ip.hinet.net [114.26.45.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTPSA id A5CC0B0ACE; Fri, 14 Feb 2020 17:28:54 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a60 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> Date: Sat, 15 Feb 2020 09:28:49 +0800 Message-ID: <87h7zs1vvy.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrjedugdefgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppeduudegrddviedrgeehrdduheefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduudegrddviedrgeehrdduheefpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepfeelheelheesuggvsggsuhhgshdrghhnuhdrohhrgh X-Spam-Score: 0.0 (/) 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 (-) (Yeah I got my comments backwards.) Anyway I recall perl is fast on regexps, newlines or not. From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Feb 2020 07:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 39595@debbugs.gnu.org, pogonyshev@gmail.com, monnier@iro.umontreal.ca, jidanni@jidanni.org Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158175214827986 (code B ref 39595); Sat, 15 Feb 2020 07:36:02 +0000 Received: (at 39595) by debbugs.gnu.org; 15 Feb 2020 07:35:48 +0000 Received: from localhost ([127.0.0.1]:34978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2rzP-0007HJ-Nt for submit@debbugs.gnu.org; Sat, 15 Feb 2020 02:35:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2rzO-0007H7-CI for 39595@debbugs.gnu.org; Sat, 15 Feb 2020 02:35:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2rzI-0006jR-CI; Sat, 15 Feb 2020 02:35:40 -0500 Received: from [176.228.60.248] (port=2312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2rzC-00071o-P3; Sat, 15 Feb 2020 02:35:39 -0500 Date: Sat, 15 Feb 2020 09:35:42 +0200 Message-Id: <83k14onvzl.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <7A842DF4-BACB-4CB2-A9DD-40AA57CA8DF0@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Fri, 14 Feb 2020 23:47:43 +0100) References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> <83tv3tnlx3.fsf@gnu.org> <7A842DF4-BACB-4CB2-A9DD-40AA57CA8DF0@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) 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 (-) > From: Mattias EngdegÄrd > Date: Fri, 14 Feb 2020 23:47:43 +0100 > Cc: jidanni@jidanni.org, monnier@iro.umontreal.ca, pogonyshev@gmail.com, > 39595@debbugs.gnu.org > > > Is there some forum where the relevant people could be asked about > > this? > > Not sure where to go for that. The problem is really in Emacs's hacky implementation: when 'omake' is included in compilation-error-regexp-alist, many other regexps are rewritten in a way that makes them potentially slower. This is why it's not an ideal feature to have enabled by default. I'm okay with disabling 'omake' if we have nowhere else to ask. Thanks. From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Feb 2020 13:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 39595@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , Paul Pogonyshev Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.15817750635347 (code B ref 39595); Sat, 15 Feb 2020 13:58:02 +0000 Received: (at 39595) by debbugs.gnu.org; 15 Feb 2020 13:57:43 +0000 Received: from localhost ([127.0.0.1]:35116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2xx0-0001OB-TW for submit@debbugs.gnu.org; Sat, 15 Feb 2020 08:57:43 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2xwz-0001Ny-6R for 39595@debbugs.gnu.org; Sat, 15 Feb 2020 08:57:41 -0500 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B3BCF1015BE; Sat, 15 Feb 2020 08:57:35 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E63EE10125D; Sat, 15 Feb 2020 08:57:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1581775053; bh=kmAGef5QV/XcMtAU7SL1UDBku1pObQmAY/I5ZprM18o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=iQ/htoGImWJHnAIikmEYvCYe5z8Vj+hh1jyG9KQODtAxBqFo63W7TQhGZ+oT7fmoF DihamWfUEmHRmCd/+99t/kF4IMbCv1e6EH/ZB/S5mdYTclQkLogMTO16yPgSrQ33MF lvblSEei4ilSosfXEZZYz0x/h+EIdCZ9oukdnL2y3E7UbjvaLXluZmLD03NMWUFufL vGAEbOb8joGbzbsryjEPGxasZBQHvxtm1piE1gc/ne0Yug55IE0ibZkRzbidh22i8p vzNUWFSqq19coFtHkr/u+RPc2pGrTWhFAAuUtEkhupPBTBuWwKS8LI9CCt1Tn1GTGi z7smzlQAVYQVw== Received: from ceviche (unknown [157.52.14.222]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7CFC2120432; Sat, 15 Feb 2020 08:57:33 -0500 (EST) From: Stefan Monnier Message-ID: References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> <87h7zs1vvy.5.fsf@jidanni.org> Date: Sat, 15 Feb 2020 08:57:19 -0500 In-Reply-To: <87h7zs1vvy.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Sat, 15 Feb 2020 09:28:49 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.023 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) 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.3 (---) > Anyway I recall perl is fast on regexps, newlines or not. That's just a reputation. In reality, maybe its constant is lower than that of Emacs's regexp matcher, and maybe it implements a few more optimisations, but it suffers from the same explosion as Emacs's regexp matcher with regexps like the one under discussions (i.e. when Emacs's regexps are slow, it's because of the basty complexity introduced by backtracking and Perl's regexps do backtracking more or less as much as Emacs's). Stefan From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Feb 2020 16:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 39595@debbugs.gnu.org, pogonyshev@gmail.com, monnier@iro.umontreal.ca, jidanni@jidanni.org Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158178517024865 (code B ref 39595); Sat, 15 Feb 2020 16:47:01 +0000 Received: (at 39595) by debbugs.gnu.org; 15 Feb 2020 16:46:10 +0000 Received: from localhost ([127.0.0.1]:36340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j30a1-0006Sd-IW for submit@debbugs.gnu.org; Sat, 15 Feb 2020 11:46:09 -0500 Received: from mail1463c50.megamailservers.eu ([91.136.14.63]:36864 helo=mail268c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j30Zx-0006KO-S3 for 39595@debbugs.gnu.org; Sat, 15 Feb 2020 11:46:07 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1581785159; bh=M84CemHJ2KsmFTYHi2K7JgE6hcxVhxThl8D4jj980qE=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=j8OXsgqD2QE1Bo4OFSlaNastS3lAu/5NjPgDBGEYwIzxWoPzMmHtKZ1reA9wXJuMt zMByhI2c8T/c/xwYVA52NbISEU76Lau8s2axkB8WkqQUT2DlI57asrFnhdgdUMA+vj rlqaMHQnH2QKcZjHdJY/mC3PQGAJvT+GM9wYgEfo= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail268c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 01FGjsh9021605; Sat, 15 Feb 2020 16:45:56 +0000 From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Message-Id: Content-Type: multipart/mixed; boundary="Apple-Mail=_E0D5D86B-82EB-4CEC-9B9B-34050BBE16D7" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Sat, 15 Feb 2020 17:45:54 +0100 In-Reply-To: <83k14onvzl.fsf@gnu.org> References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> <83tv3tnlx3.fsf@gnu.org> <7A842DF4-BACB-4CB2-A9DD-40AA57CA8DF0@acm.org> <83k14onvzl.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B020F.5E482047.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=J53UEzvS c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=M51BFTxLslgA:10 a=mDV3o1hIAAAA:8 a=_We2dtD6XtwZI6sZdCYA:9 a=CjuIK1q_8ugA:10 a=hCIDtcLLymEkbjbx05kA:9 a=B2y7HmGcmWMA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-Spam-Score: 1.2 (+) 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: 15 feb. 2020 kl. 08.35 skrev Eli Zaretskii : > I'm okay with disabling 'omake' if we have nowhere else to ask. We may not have to, after all. Reading the OMake sources, it very much looks like errors are indented by exactly 6 spaces, which means that we can replace (* " ") with (? "6 spaces") which is a lot fa [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.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) 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS 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=_E0D5D86B-82EB-4CEC-9B9B-34050BBE16D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 15 feb. 2020 kl. 08.35 skrev Eli Zaretskii : > I'm okay with disabling 'omake' if we have nowhere else to ask. We may not have to, after all. Reading the OMake sources, it very much = looks like errors are indented by exactly 6 spaces, which means that we = can replace (* " ") with (? "6 spaces") which is a lot faster. Having done that, it turned out that recognising ruby-Test::Unit errors = depended on the old 'omake' regexp rewriting (another reason to disable = omake by default, perhaps), so that regexp had to be fixed as well. Along with the two previous patches (for msft, watcom and maven), this = should reduce the cost of long lines to something more tolerable for the = time being. --Apple-Mail=_E0D5D86B-82EB-4CEC-9B9B-34050BBE16D7 Content-Disposition: attachment; filename=0001-Make-OMake-support-slightly-less-expensive-bug-39595.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Make-OMake-support-slightly-less-expensive-bug-39595.patch" Content-Transfer-Encoding: quoted-printable =46rom=2079f816e614218bce2c15d550bc2cf1a591f22e43=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Sat,=2015=20Feb=202020=2016:08:14=20+0100=0A= Subject:=20[PATCH]=20Make=20OMake=20support=20slightly=20less=20= expensive=20(bug#39595)=0A=0AWhen=20run=20with=20-p=20or=20-P,=20OMake=20= regurgitates=20error=20messages=20that=0Aprevented=20further=20progress,=20= indented=20by=206=20spaces.=20=20Use=20that=20fact=0Ato=20ameliorate=20= the=20modification=20done=20to=20other=20error=20message=20regexps.=0A=0A= *=20lisp/progmodes/compile.el=20(compilation-parse-errors):=0AWhen=20= 'omake'=20is=20enabled,=20allow=20error=20messages=20to=20be=20indented=20= by=200=20or=206=0Aspaces=20instead=20of=20any=20number=20of=20spaces,=20= to=20avoid=20pathological=0Abehaviour.=0A= (compilation-error-regexp-alist-alist):=20Anchor=20the=20'omake'=20= pattern=20to=0Abol=20for=20performance.=20=20Repair=20the=20= 'ruby-Test::Unit'=20pattern,=20which=0Arelied=20on=20the=20previously=20= over-generous=20'omake'=20hack.=0A*=20etc/compilation.txt=20(OMake):=20= Add=20examples.=0A*=20test/lisp/progmodes/compile-tests.el=20= (compile-tests--test-regexps-data)=0A(compile-test-error-regexps):=20Add=20= test=20for=20OMake=20(indented=20error).=0A---=0A=20etc/compilation.txt=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20|=2016=20= ++++++++++++++++=0A=20lisp/progmodes/compile.el=20=20=20=20=20=20=20=20=20= =20=20=20|=20=206=20+++---=0A=20test/lisp/progmodes/compile-tests.el=20|=20= =205=20++++-=0A=203=20files=20changed,=2023=20insertions(+),=204=20= deletions(-)=0A=0Adiff=20--git=20a/etc/compilation.txt=20= b/etc/compilation.txt=0Aindex=20a597216daa..69db891907=20100644=0A---=20= a/etc/compilation.txt=0A+++=20b/etc/compilation.txt=0A@@=20-382,6=20= +382,22=20@@=20symbol:=20watcom=0A=20..\src\ctrl\lister.c(120):=20= Warning!=20W201:=20Unreachable=20code=0A=20=0A=20=0A+*=20OMake=0A+=0A= +symbol:=20omake=0A+=0A+When=20using=20in=20-p=20or=20-P=20mode,=20OMake=20= will=20detect=20changes=20to=20files=20and=0A+report=20critical=20build=20= errors=20indented=20by=206=20spaces.=0A+=0A+***=20omake:=20file=20= alpha.c=20changed=0A+***=20omake:=20targets=20were=20not=20rebuilt=20= because=20of=20errors:=0A+=20=20=20alpha.o=0A+=20=20=20=20=20=20depends=20= on:=20alpha.c=0A+=20=20=20=20=20=20-=20build=20.=20alpha.o=0A+=20=20=20=20= =20=20+=20cc=20-I.=20-c=20-o=20alpha.o=20alpha.c=0A+=20=20=20=20=20=20= alpha.c:5:15:=20error:=20expected=20';'=20after=20expression=0A+=0A+=0A=20= *=20Oracle=20pro*c=0A=20=0A=20symbol:=20oracle=0Adiff=20--git=20= a/lisp/progmodes/compile.el=20b/lisp/progmodes/compile.el=0Aindex=20= 79d2293e21..dcd2e59f10=20100644=0A---=20a/lisp/progmodes/compile.el=0A= +++=20b/lisp/progmodes/compile.el=0A@@=20-310,7=20+310,7=20@@=20= compilation-error-regexp-alist-alist=0A=20=20=20=20=20=201=202=203=20(4=20= .=205))=0A=20=0A=20=20=20=20=20(ruby-Test::Unit=0A-=20=20=20=20=20"^[\t=20= ]*\\[\\([^(].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:in=20"=201=202)=0A+=20=20=20= =20=20"^=20=20=20=20[[=20]?\\([^=20= (].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:in=20"=201=202)=0A=20=0A=20=20=20=20=20= (gmake=0A=20=20=20=20=20=20;;=20Set=20GNU=20make=20error=20messages=20as=20= INFO=20level.=0A@@=20-410,7=20+410,7=20@@=20= compilation-error-regexp-alist-alist=0A=20=20=20=20=20(omake=0A=20=20=20=20= =20=20;;=20"omake=20-P"=20reports=20"file=20foo=20changed"=0A=20=20=20=20= =20=20;;=20(useful=20if=20you=20do=20"cvs=20up"=20and=20want=20to=20see=20= what=20has=20changed)=0A-=20=20=20=20=20"omake:=20file=20\\(.*\\)=20= changed"=201=20nil=20nil=20nil=20nil=0A+=20=20=20=20=20"^\\*\\*\\*=20= omake:=20file=20\\(.*\\)=20changed"=201=20nil=20nil=20nil=20nil=0A=20=20=20= =20=20=20;;=20FIXME-omake:=20This=20tries=20to=20prevent=20reusing=20= pre-existing=20markers=0A=20=20=20=20=20=20;;=20for=20subsequent=20= messages,=20since=20those=20messages's=20line=20numbers=0A=20=20=20=20=20= =20;;=20are=20about=20another=20version=20of=20the=20file.=0A@@=20= -1457,7=20+1457,7=20@@=20compilation-parse-errors=0A=20=20=20=20=20=20=20= =20((not=20(memq=20'omake=20compilation-error-regexp-alist))=20nil)=0A=20= =20=20=20=20=20=20=20((string-match=20"\\`\\([^^]\\|\\^\\(=20= \\*\\|\\[\\)\\)"=20pat)=0A=20=20=20=20=20=20=20=20=20nil)=20;;=20Not=20= anchored=20or=20anchored=20but=20already=20allows=20empty=20spaces.=0A-=20= =20=20=20=20=20=20(t=20(setq=20pat=20(concat=20"^=20*"=20(substring=20= pat=201)))))=0A+=20=20=20=20=20=20=20(t=20(setq=20pat=20(concat=20= "^\\(?:=20=20=20=20=20=20\\)?"=20(substring=20pat=201)))))=0A=20=0A=20=20= =20=20=20=20=20(if=20(consp=20file)=09(setq=20fmt=20(cdr=20file)=09=20=20= file=20(car=20file)))=0A=20=20=20=20=20=20=20(if=20(consp=20line)=09= (setq=20end-line=20(cdr=20line)=20line=20(car=20line)))=0Adiff=20--git=20= a/test/lisp/progmodes/compile-tests.el=20= b/test/lisp/progmodes/compile-tests.el=0Aindex=20350b4eb400..01db77c9c3=20= 100644=0A---=20a/test/lisp/progmodes/compile-tests.el=0A+++=20= b/test/lisp/progmodes/compile-tests.el=0A@@=20-269,6=20+269,9=20@@=20= compile-tests--test-regexps-data=0A=20=20=20=20=20=201=20nil=20109=20= "..\\src\\ctrl\\lister.c")=0A=20=20=20=20=20= ("..\\src\\ctrl\\lister.c(120):=20Warning!=20W201:=20Unreachable=20code"=0A= =20=20=20=20=20=201=20nil=20120=20"..\\src\\ctrl\\lister.c")=0A+=20=20=20= =20;;=20omake=0A+=20=20=20=20("=20=20=20=20=20=20alpha.c:5:15:=20error:=20= expected=20';'=20after=20expression"=0A+=20=20=20=20=201=2015=205=20= "alpha.c")=0A=20=20=20=20=20;;=20oracle=0A=20=20=20=20=20("Semantic=20= error=20at=20line=20528,=20column=205,=20file=20erosacqdb.pc:"=0A=20=20=20= =20=20=201=205=20528=20"erosacqdb.pc")=0A@@=20-428,7=20+431,7=20@@=20= compile-test-error-regexps=0A=20=20=20=20=20=20=20=20=20=20=20= (compilation-num-warnings-found=200)=0A=20=20=20=20=20=20=20=20=20=20=20= (compilation-num-infos-found=200))=0A=20=20=20=20=20=20=20(mapc=20= #'compile--test-error-line=20compile-tests--test-regexps-data)=0A-=20=20=20= =20=20=20(should=20(eq=20compilation-num-errors-found=2092))=0A+=20=20=20= =20=20=20(should=20(eq=20compilation-num-errors-found=2093))=0A=20=20=20=20= =20=20=20(should=20(eq=20compilation-num-warnings-found=2036))=0A=20=20=20= =20=20=20=20(should=20(eq=20compilation-num-infos-found=2026)))))=0A=20=0A= --=20=0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_E0D5D86B-82EB-4CEC-9B9B-34050BBE16D7-- From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Feb 2020 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 39595@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , Paul Pogonyshev Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158185531930567 (code B ref 39595); Sun, 16 Feb 2020 12:16:02 +0000 Received: (at 39595) by debbugs.gnu.org; 16 Feb 2020 12:15:19 +0000 Received: from localhost ([127.0.0.1]:36771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3IpT-0007wx-8O for submit@debbugs.gnu.org; Sun, 16 Feb 2020 07:15:19 -0500 Received: from mail71c50.megamailservers.eu ([91.136.10.81]:52354 helo=mail92c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3IpQ-0007wn-Dm for 39595@debbugs.gnu.org; Sun, 16 Feb 2020 07:15:17 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1581855314; bh=HLjb7KgwBnxD2N7i58YFg14dDFl1MBeyTjEQCGyWsSQ=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=cEX7qHEFl8oJP0i9uOFyIBOxFY54PlfO8p1jtUlPI/RsBdfuTG9UZdsT6vcwrzmxo bcZA0Nhq1uBez0frfdOq8GLelVqflHfHgj7Prppl4dNb4xNIRNQ0OaPoJ6luDrIKfh QUlwL+U7DvxkFk0d6R9FuIJm+tRbRp0yuXdXD3H8= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 01GCFA9C001581; Sun, 16 Feb 2020 12:15:12 +0000 From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Message-Id: Content-Type: multipart/mixed; boundary="Apple-Mail=_3FA2D858-8820-48D8-ABED-4CFAC4BD9A5A" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Sun, 16 Feb 2020 13:15:09 +0100 In-Reply-To: References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> <83tv3tnlx3.fsf@gnu.org> <7A842DF4-BACB-4CB2-A9DD-40AA57CA8DF0@acm.org> <83k14onvzl.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B0202.5E493252.0036, 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=RJbN4Lq+ c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=M51BFTxLslgA:10 a=VNqWwyoI0058JTMMrnQA:9 a=CjuIK1q_8ugA:10 a=1ZSAMzzEUBpxCLzzSyIA:9 a=B2y7HmGcmWMA:10 a=2Up9zCP-_lcUppEizuUA:9 a=hCIDtcLLymEkbjbx05kA:9 a=tclcd6dtLQvEqt9_mmAA:9 X-Spam-Score: 1.0 (+) 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=_3FA2D858-8820-48D8-ABED-4CFAC4BD9A5A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii To wrap it up, here are the three patches (intended to be used = together). The Maven patch was tweaked further for efficiency. Dan, is this satisfactory? --Apple-Mail=_3FA2D858-8820-48D8-ABED-4CFAC4BD9A5A Content-Disposition: attachment; filename=0001-Speed-up-maven-compilation-error-message-regexp.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Speed-up-maven-compilation-error-message-regexp.patch" Content-Transfer-Encoding: quoted-printable =46rom=201a5a9ac17e227f32608dd6fe2c040ebd87cf3602=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Fri,=2014=20Feb=202020=2021:26:20=20+0100=0A= Subject:=20[PATCH=201/3]=20Speed=20up=20'maven'=20compilation=20error=20= message=20regexp=0A=0AAnchor=20the=20regexp=20at=20line-start=20to=20= prevent=20quadratic=20behaviour=20when=0Ait=20doesn't=20match=20= (bug#39595).=20=20It's=20unclear=20whether=20the=20type=20tag,=20like=0A= [ERROR],=20is=20always=20present;=20we=20keep=20it=20optional=20just=20= in=20case.=0A=0A*=20lisp/progmodes/compile.el=20= (compilation-error-regexp-alist-alist):=0ARewrite=20'maven'=20regexp,=20= using=20rx=20for=20clarity.=0A*=20etc/compilation.txt=20(maven):=20More=20= examples.=0A*=20test/lisp/progmodes/compile-tests.el=0A= (compile-tests--test-regexps-data):=20No=20leading=20spaces;=20they=20= seems=20to=0Astem=20from=20a=20misunderstanding=20in=20bug#11517.=0A---=0A= =20etc/compilation.txt=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20|=20=202=20++=0A=20lisp/progmodes/compile.el=20=20=20=20=20=20=20=20=20= =20=20=20|=2020=20++++++++++++++++----=0A=20= test/lisp/progmodes/compile-tests.el=20|=20=202=20+-=0A=203=20files=20= changed,=2019=20insertions(+),=205=20deletions(-)=0A=0Adiff=20--git=20= a/etc/compilation.txt=20b/etc/compilation.txt=0Aindex=20= a597216daa..c465b4b94a=20100644=0A---=20a/etc/compilation.txt=0A+++=20= b/etc/compilation.txt=0A@@=20-341,6=20+341,8=20@@=20makepp:=20bla=20bla=20= `/foo/bar.c'=20and=20`/foo/bar.h'=0A=20symbol:=20maven=0A=20=0A=20= FooBar.java:[111,53]=20no=20interface=20expected=20here=0A+[ERROR]=20= /Users/cinsk/hello.java:[651,96]=20';'=20expected=0A+[WARNING]=20= /foo/bar/Test.java:[27,43]=20unchecked=20conversion=0A=20=0A=20=0A=20*=20= MIPS=20lint;=20looks=20good=20for=20SunPro=20lint=20also=0Adiff=20--git=20= a/lisp/progmodes/compile.el=20b/lisp/progmodes/compile.el=0Aindex=20= 48ac85a73b..9959c829df=20100644=0A---=20a/lisp/progmodes/compile.el=0A= +++=20b/lisp/progmodes/compile.el=0A@@=20-268,12=20+268,24=20@@=20= compilation-error-regexp-alist-alist=0A=20=20=20=20=20(jikes-file=0A=20=20= =20=20=20=20"^\\(?:Found\\|Issued\\)=20.*=20compiling=20\"\\(.+\\)\":$"=20= 1=20nil=20nil=200)=0A=20=0A-=0A-=20=20=20=20;;=20This=20used=20to=20be=20= pathologically=20slow=20on=20long=20lines=20(Bug#3441),=0A-=20=20=20=20= ;;=20due=20to=20matching=20filenames=20via=20\\(.*?\\).=20=20This=20= might=20be=20faster.=0A=20=20=20=20=20(maven=0A=20=20=20=20=20=20;;=20= Maven=20is=20a=20popular=20free=20software=20build=20tool=20for=20Java.=0A= -=20=20=20=20=20"\\(\\[WARNING\\]=20*\\)?\\([^=20\n]\\(?:[^\n=20:]\\|=20= [^-/\n]\\|:[^=20\n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]=20"=202=203=20= 4=20(1))=0A+=20=20=20=20=20,(rx=20bol=0A+=20=20=20=20=20=20=20=20=20=20= ;;=20It=20is=20unclear=20whether=20the=20initial=20[type]=20tag=20is=20= always=20present.=0A+=20=20=20=20=20=20=20=20=20=20(?=20"["=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20(or=20"ERROR"=20(group-n=201=20"WARNING")=20= (group-n=202=20"INFO"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20"]=20= ")=0A+=20=20=20=20=20=20=20=20=20=20(group-n=203=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20;=20File=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20(not=20(any=20"\n=20["))=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20(*=20(or=20(not=20(any=20"\n=20= :"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(:=20"=20"=20(not=20(any=20"\n/-")))=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(:=20":"=20(not=20= (any=20"\n=20["))))))=0A+=20=20=20=20=20=20=20=20=20=20":["=0A+=20=20=20=20= =20=20=20=20=20=20(group-n=204=20(+=20digit))=20=20=20=20=20=20=20=20=20= ;=20Line=0A+=20=20=20=20=20=20=20=20=20=20","=0A+=20=20=20=20=20=20=20=20= =20=20(group-n=205=20(+=20digit))=20=20=20=20=20=20=20=20=20;=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(jikes-line=0A=20=20=20=20=20=20"^=20= *\\([0-9]+\\)\\.[=20\t]+.*\n=20+\\(<-*>\n\\*\\*\\*=20= \\(?:Error\\|Warnin\\(g\\)\\)\\)"=0Adiff=20--git=20= a/test/lisp/progmodes/compile-tests.el=20= b/test/lisp/progmodes/compile-tests.el=0Aindex=20350b4eb400..c3cec01f8b=20= 100644=0A---=20a/test/lisp/progmodes/compile-tests.el=0A+++=20= b/test/lisp/progmodes/compile-tests.el=0A@@=20-242,7=20+242,7=20@@=20= compile-tests--test-regexps-data=0A=20=20=20=20=20;;=20maven=0A=20=20=20=20= =20("FooBar.java:[111,53]=20no=20interface=20expected=20here"=0A=20=20=20= =20=20=201=2053=20111=20"FooBar.java"=202)=0A-=20=20=20=20("=20=20= [ERROR]=20/Users/cinsk/hello.java:[651,96]=20';'=20expected"=0A+=20=20=20= =20("[ERROR]=20/Users/cinsk/hello.java:[651,96]=20';'=20expected"=0A=20=20= =20=20=20=2015=2096=20651=20"/Users/cinsk/hello.java"=202)=20;Bug#11517.=0A= =20=20=20=20=20("[WARNING]=20/foo/bar/Test.java:[27,43]=20unchecked=20= conversion"=0A=20=20=20=20=20=2011=2043=2027=20"/foo/bar/Test.java"=201)=20= ;Bug#20556=0A--=20=0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_3FA2D858-8820-48D8-ABED-4CFAC4BD9A5A Content-Disposition: attachment; filename=0002-Speed-up-msft-and-watcom-compilation-error-regexps.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0002-Speed-up-msft-and-watcom-compilation-error-regexps.patch" Content-Transfer-Encoding: quoted-printable =46rom=208689105a957e70c127d2f39ea8e4c0fcc141e2a7=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Fri,=2014=20Feb=202020=2023:38:24=20+0100=0A= Subject:=20[PATCH=202/3]=20Speed=20up=20'msft'=20and=20'watcom'=20= compilation=20error=20regexps=0A=0AThey=20have=20similar=20structure,=20= and=20both=20suffer=20from=20being=20able=20to=0Amatch=20leading=20= spaces=20in=20multiple=20ways=20which=20leads=20to=20bad=20performance=0A= when=20backtracking=20(bug#39595).=0A=0A*=20lisp/progmodes/compile.el=20= (compilation-error-regexp-alist-alist):=0AImproved=20'msft'=20and=20= 'watcom'=20regexps.=0A---=0A=20lisp/progmodes/compile.el=20|=204=20++--=0A= =201=20file=20changed,=202=20insertions(+),=202=20deletions(-)=0A=0Adiff=20= --git=20a/lisp/progmodes/compile.el=20b/lisp/progmodes/compile.el=0A= index=209959c829df..21c3153b8a=20100644=0A---=20= a/lisp/progmodes/compile.el=0A+++=20b/lisp/progmodes/compile.el=0A@@=20= -221,7=20+221,7=20@@=20compilation-error-regexp-alist-alist=0A=20=20=20=20= =20=20;;=20considered=20before=20EDG.=0A=20=20=20=20=20=20;;=20The=20= message=20may=20be=20a=20"warning",=20"error",=20or=20"fatal=20error"=20= with=0A=20=20=20=20=20=20;;=20an=20error=20code,=20or=20"see=20= declaration=20of"=20without=20an=20error=20code.=0A-=20=20=20=20=20"^=20= *\\([0-9]+>\\)?\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\))=20?\=0A+=20= =20=20=20=20"^=20*\\([0-9]+>\\)?\\(\\(?:[a-zA-Z]:\\)?[^=20= :(\t\n][^:(\t\n]*\\)(\\([0-9]+\\))=20?\=0A=20:=20\\(?:see=20= declaration\\|\\(?:warnin\\(g\\)\\|[a-z=20]+\\)=20C[0-9]+:\\)"=0A=20=20=20= =20=20=202=203=20nil=20(4))=0A=20=0A@@=20-455,7=20+455,7=20@@=20= compilation-error-regexp-alist-alist=0A=20=20=20=20=20=20"^\\([^,=20= \n\t]+\\),=20line=20\\([0-9]+\\),=20char=20\\([0-9]+\\)[:.,=20(-]"=201=20= 2=203)=0A=20=0A=20=20=20=20=20(watcom=0A-=20=20=20=20=20"^[=20= \t]*\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)):=20?\=0A+=20=20=20=20= =20"^[=20\t]*\\(\\(?:[a-zA-Z]:\\)?[^=20= :(\t\n][^:(\t\n]*\\)(\\([0-9]+\\)):=20?\=0A=20\\(?:\\(Error!=20= E[0-9]+\\)\\|\\(Warning!=20W[0-9]+\\)\\):"=0A=20=20=20=20=20=201=202=20= nil=20(4))=0A=20=0A--=20=0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_3FA2D858-8820-48D8-ABED-4CFAC4BD9A5A Content-Disposition: attachment; filename=0003-Make-OMake-support-slightly-less-expensive-bug-39595.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0003-Make-OMake-support-slightly-less-expensive-bug-39595.patch" Content-Transfer-Encoding: quoted-printable =46rom=20aa5b0aa200a5c045a89dd8e349de34a128f3c9c7=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Sat,=2015=20Feb=202020=2016:08:14=20+0100=0A= Subject:=20[PATCH=203/3]=20Make=20OMake=20support=20slightly=20less=20= expensive=20(bug#39595)=0A=0AWhen=20run=20with=20-p=20or=20-P,=20OMake=20= regurgitates=20error=20messages=20that=0Aprevented=20further=20progress,=20= indented=20by=206=20spaces.=20=20Use=20that=20fact=0Ato=20ameliorate=20= the=20modification=20done=20to=20other=20error=20message=20regexps.=0A=0A= *=20lisp/progmodes/compile.el=20(compilation-parse-errors):=0AWhen=20= 'omake'=20is=20enabled,=20allow=20error=20messages=20to=20be=20indented=20= by=200=20or=206=0Aspaces=20instead=20of=20any=20number=20of=20spaces,=20= to=20avoid=20pathological=0Abehaviour.=0A= (compilation-error-regexp-alist-alist):=20Anchor=20the=20'omake'=20= pattern=20to=0Abol=20for=20performance.=20=20Repair=20the=20= 'ruby-Test::Unit'=20pattern,=20which=0Arelied=20on=20the=20previously=20= over-generous=20'omake'=20hack.=0A*=20etc/compilation.txt=20(OMake):=20= Add=20examples.=0A*=20test/lisp/progmodes/compile-tests.el=20= (compile-tests--test-regexps-data)=0A(compile-test-error-regexps):=20Add=20= test=20for=20OMake=20(indented=20error).=0A---=0A=20etc/compilation.txt=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20|=2016=20= ++++++++++++++++=0A=20lisp/progmodes/compile.el=20=20=20=20=20=20=20=20=20= =20=20=20|=20=206=20+++---=0A=20test/lisp/progmodes/compile-tests.el=20|=20= =205=20++++-=0A=203=20files=20changed,=2023=20insertions(+),=204=20= deletions(-)=0A=0Adiff=20--git=20a/etc/compilation.txt=20= b/etc/compilation.txt=0Aindex=20c465b4b94a..ebce6a14d0=20100644=0A---=20= a/etc/compilation.txt=0A+++=20b/etc/compilation.txt=0A@@=20-384,6=20= +384,22=20@@=20symbol:=20watcom=0A=20..\src\ctrl\lister.c(120):=20= Warning!=20W201:=20Unreachable=20code=0A=20=0A=20=0A+*=20OMake=0A+=0A= +symbol:=20omake=0A+=0A+When=20using=20in=20-p=20or=20-P=20mode,=20OMake=20= will=20detect=20changes=20to=20files=20and=0A+report=20critical=20build=20= errors=20indented=20by=206=20spaces.=0A+=0A+***=20omake:=20file=20= alpha.c=20changed=0A+***=20omake:=20targets=20were=20not=20rebuilt=20= because=20of=20errors:=0A+=20=20=20alpha.o=0A+=20=20=20=20=20=20depends=20= on:=20alpha.c=0A+=20=20=20=20=20=20-=20build=20.=20alpha.o=0A+=20=20=20=20= =20=20+=20cc=20-I.=20-c=20-o=20alpha.o=20alpha.c=0A+=20=20=20=20=20=20= alpha.c:5:15:=20error:=20expected=20';'=20after=20expression=0A+=0A+=0A=20= *=20Oracle=20pro*c=0A=20=0A=20symbol:=20oracle=0Adiff=20--git=20= a/lisp/progmodes/compile.el=20b/lisp/progmodes/compile.el=0Aindex=20= 21c3153b8a..455f181f50=20100644=0A---=20a/lisp/progmodes/compile.el=0A= +++=20b/lisp/progmodes/compile.el=0A@@=20-306,7=20+306,7=20@@=20= compilation-error-regexp-alist-alist=0A=20=20=20=20=20=201=202=203=20(4=20= .=205))=0A=20=0A=20=20=20=20=20(ruby-Test::Unit=0A-=20=20=20=20=20"^[\t=20= ]*\\[\\([^(].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:in=20"=201=202)=0A+=20=20=20= =20=20"^=20=20=20=20[[=20]?\\([^=20= (].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:in=20"=201=202)=0A=20=0A=20=20=20=20=20= (gmake=0A=20=20=20=20=20=20;;=20Set=20GNU=20make=20error=20messages=20as=20= INFO=20level.=0A@@=20-406,7=20+406,7=20@@=20= compilation-error-regexp-alist-alist=0A=20=20=20=20=20(omake=0A=20=20=20=20= =20=20;;=20"omake=20-P"=20reports=20"file=20foo=20changed"=0A=20=20=20=20= =20=20;;=20(useful=20if=20you=20do=20"cvs=20up"=20and=20want=20to=20see=20= what=20has=20changed)=0A-=20=20=20=20=20"omake:=20file=20\\(.*\\)=20= changed"=201=20nil=20nil=20nil=20nil=0A+=20=20=20=20=20"^\\*\\*\\*=20= omake:=20file=20\\(.*\\)=20changed"=201=20nil=20nil=20nil=20nil=0A=20=20=20= =20=20=20;;=20FIXME-omake:=20This=20tries=20to=20prevent=20reusing=20= pre-existing=20markers=0A=20=20=20=20=20=20;;=20for=20subsequent=20= messages,=20since=20those=20messages's=20line=20numbers=0A=20=20=20=20=20= =20;;=20are=20about=20another=20version=20of=20the=20file.=0A@@=20= -1453,7=20+1453,7=20@@=20compilation-parse-errors=0A=20=20=20=20=20=20=20= =20((not=20(memq=20'omake=20compilation-error-regexp-alist))=20nil)=0A=20= =20=20=20=20=20=20=20((string-match=20"\\`\\([^^]\\|\\^\\(=20= \\*\\|\\[\\)\\)"=20pat)=0A=20=20=20=20=20=20=20=20=20nil)=20;;=20Not=20= anchored=20or=20anchored=20but=20already=20allows=20empty=20spaces.=0A-=20= =20=20=20=20=20=20(t=20(setq=20pat=20(concat=20"^=20*"=20(substring=20= pat=201)))))=0A+=20=20=20=20=20=20=20(t=20(setq=20pat=20(concat=20= "^\\(?:=20=20=20=20=20=20\\)?"=20(substring=20pat=201)))))=0A=20=0A=20=20= =20=20=20=20=20(if=20(consp=20file)=09(setq=20fmt=20(cdr=20file)=09=20=20= file=20(car=20file)))=0A=20=20=20=20=20=20=20(if=20(consp=20line)=09= (setq=20end-line=20(cdr=20line)=20line=20(car=20line)))=0Adiff=20--git=20= a/test/lisp/progmodes/compile-tests.el=20= b/test/lisp/progmodes/compile-tests.el=0Aindex=20c3cec01f8b..75962566f1=20= 100644=0A---=20a/test/lisp/progmodes/compile-tests.el=0A+++=20= b/test/lisp/progmodes/compile-tests.el=0A@@=20-269,6=20+269,9=20@@=20= compile-tests--test-regexps-data=0A=20=20=20=20=20=201=20nil=20109=20= "..\\src\\ctrl\\lister.c")=0A=20=20=20=20=20= ("..\\src\\ctrl\\lister.c(120):=20Warning!=20W201:=20Unreachable=20code"=0A= =20=20=20=20=20=201=20nil=20120=20"..\\src\\ctrl\\lister.c")=0A+=20=20=20= =20;;=20omake=0A+=20=20=20=20("=20=20=20=20=20=20alpha.c:5:15:=20error:=20= expected=20';'=20after=20expression"=0A+=20=20=20=20=201=2015=205=20= "alpha.c")=0A=20=20=20=20=20;;=20oracle=0A=20=20=20=20=20("Semantic=20= error=20at=20line=20528,=20column=205,=20file=20erosacqdb.pc:"=0A=20=20=20= =20=20=201=205=20528=20"erosacqdb.pc")=0A@@=20-428,7=20+431,7=20@@=20= compile-test-error-regexps=0A=20=20=20=20=20=20=20=20=20=20=20= (compilation-num-warnings-found=200)=0A=20=20=20=20=20=20=20=20=20=20=20= (compilation-num-infos-found=200))=0A=20=20=20=20=20=20=20(mapc=20= #'compile--test-error-line=20compile-tests--test-regexps-data)=0A-=20=20=20= =20=20=20(should=20(eq=20compilation-num-errors-found=2092))=0A+=20=20=20= =20=20=20(should=20(eq=20compilation-num-errors-found=2093))=0A=20=20=20=20= =20=20=20(should=20(eq=20compilation-num-warnings-found=2036))=0A=20=20=20= =20=20=20=20(should=20(eq=20compilation-num-infos-found=2026)))))=0A=20=0A= --=20=0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_3FA2D858-8820-48D8-ABED-4CFAC4BD9A5A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_3FA2D858-8820-48D8-ABED-4CFAC4BD9A5A-- From unknown Mon Jun 23 02:25:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39595: #39595: M-x compile still very line-length weak In-Reply-To: <87wo8rjapu.8.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Feb 2020 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 39595@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , Paul Pogonyshev Received: via spool by 39595-submit@debbugs.gnu.org id=B39595.158186747731999 (code B ref 39595); Sun, 16 Feb 2020 15:38:01 +0000 Received: (at 39595) by debbugs.gnu.org; 16 Feb 2020 15:37:57 +0000 Received: from localhost ([127.0.0.1]:37584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3LzZ-0008K2-E8 for submit@debbugs.gnu.org; Sun, 16 Feb 2020 10:37:57 -0500 Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]:30988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3LzY-0008Jv-2v for 39595@debbugs.gnu.org; Sun, 16 Feb 2020 10:37:57 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D97C03C09F1; Sun, 16 Feb 2020 15:37:54 +0000 (UTC) Received: from pdx1-sub0-mail-a89.g.dreamhost.com (100-96-216-4.trex.outbound.svc.cluster.local [100.96.216.4]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 641CA3C08D6; Sun, 16 Feb 2020 15:37:54 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a89.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 16 Feb 2020 15:37:54 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Imminent-Cure: 14fa4e7629307ecc_1581867474693_3999916575 X-MC-Loop-Signature: 1581867474693:2821136276 X-MC-Ingress-Time: 1581867474693 Received: from pdx1-sub0-mail-a89.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a89.g.dreamhost.com (Postfix) with ESMTP id 97ED47E60A; Sun, 16 Feb 2020 07:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=+9s3HaMEszuil84DAa HMQKtVp8k=; b=p37ow8aviXPdpNpZ5eH++mHlheKm9eSveG0YQVk8q74G77oDKC FgOTlz6hGEhFBhLLFMvNUywUYUnAthGY12Cd9EERlX00W14KaLdCSYBkdSI0RWyi MHnnx1prT56DuqFSl2pimAQkhUqvTuyoaQGSZXTJ7+sDXxprmhW6Dsgz4= Received: from jidanni.org (114-41-10-168.dynamic-ip.hinet.net [114.41.10.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a89.g.dreamhost.com (Postfix) with ESMTPSA id 4F4E67E60B; Sun, 16 Feb 2020 07:37:48 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a89 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> <83tv3tnlx3.fsf@gnu.org> <7A842DF4-BACB-4CB2-A9DD-40AA57CA8DF0@acm.org> <83k14onvzl.fsf@gnu.org> Date: Sun, 16 Feb 2020 23:37:43 +0800 Message-ID: <87blpy4k6w.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrjeeggdejkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgedurddutddrudeikeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurddutddrudeikedprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopeefleehleehseguvggssghughhsrdhgnhhurdhorhhg Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) >>>>> "ME" =3D=3D Mattias Engdeg=C3=A5rd writes: ME> Dan, is this satisfactory? I bet it does! (All I know is I just use Debian sid. So in two years...) From unknown Mon Jun 23 02:25:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Subject: bug#39595: closed (Re: #39595: M-x compile still very line-length weak) Message-ID: References: <3051130B-15B8-48B8-AABA-94E5AC0E6837@acm.org> <87wo8rjapu.8.fsf@jidanni.org> X-Gnu-PR-Message: they-closed 39595 X-Gnu-PR-Package: emacs Reply-To: 39595@debbugs.gnu.org Date: Mon, 17 Feb 2020 11:08:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1581937682-19150-1" This is a multi-part message in MIME format... ------------=_1581937682-19150-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39595: M-x compile still very line-length weak which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39595@debbugs.gnu.org. --=20 39595: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39595 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1581937682-19150-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39595-done) by debbugs.gnu.org; 17 Feb 2020 11:07:45 +0000 Received: from localhost ([127.0.0.1]:38031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eFd-0004yO-Ec for submit@debbugs.gnu.org; Mon, 17 Feb 2020 06:07:45 -0500 Received: from mail150c50.megamailservers.eu ([91.136.10.160]:44884 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eFb-0004yF-2w for 39595-done@debbugs.gnu.org; Mon, 17 Feb 2020 06:07:43 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1581937661; bh=Mod1LIyV8n/QHTHSQv2yTHi/8xTXqgR1/gVw6U+cTU4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=HyJYytf4Aja9Lfz46DuYfA+dU5149ocvvojfBv75Dg9x78uBT1wfSYoFmfvuHZKPB vegxhaTzRtNmYsowm69vviTFZI5kZy9MJV76UlKq69lv2WYoRuIynUWOI6tJbcLaL0 Iyy3XyWYsAKfZIRXTfR9Lhdw1g2LgtG5WDBPnvus= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 01HB7ct3011526; Mon, 17 Feb 2020 11:07:40 +0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: #39595: M-x compile still very line-length weak From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <87blpy4k6w.5.fsf@jidanni.org> Date: Mon, 17 Feb 2020 12:07:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3051130B-15B8-48B8-AABA-94E5AC0E6837@acm.org> References: <9D8A11CB-9ABE-4A66-87D0-2E445499B74F@acm.org> <83tv3tnlx3.fsf@gnu.org> <7A842DF4-BACB-4CB2-A9DD-40AA57CA8DF0@acm.org> <83k14onvzl.fsf@gnu.org> <87blpy4k6w.5.fsf@jidanni.org> To: =?utf-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B0204.5E4A73FD.001F, 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=N4FX6F1B c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=M51BFTxLslgA:10 a=wxDyqYY3AAAA:8 a=ljD7FOKX8i6vZM6ZBmIA:9 a=QEXdDO2ut3YA:10 a=0CyvGvNUzeKgY-m8btgO:22 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 39595-done Cc: 39595-done@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , Paul Pogonyshev 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 (/) 16 feb. 2020 kl. 16.37 skrev =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson = : > I bet it does! > (All I know is I just use Debian sid. So in two years...) Very well, pushed to emacs-27. For future work, there seem to be more opportunities for speeding up the = remaining regexps. In particular: * Try to anchor matches at bol when possible. * Avoid infinite repetitions (of spaces, etc) when the exact amount is = known. * Reject impossible matches as early as possible. ------------=_1581937682-19150-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Feb 2020 02:46:06 +0000 Received: from localhost ([127.0.0.1]:60742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2QzV-000797-Ih for submit@debbugs.gnu.org; Thu, 13 Feb 2020 21:46:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:59473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2QzR-00078Q-FQ for submit@debbugs.gnu.org; Thu, 13 Feb 2020 21:46:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42839) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2QzQ-0003ji-98 for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 21:46:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_50,DATE_IN_PAST_12_24, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2QzP-0001PM-2w for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 21:45:59 -0500 Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:27590) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2QzO-0001F6-Lf for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 21:45:59 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0F367340A5F for ; Fri, 14 Feb 2020 02:45:56 +0000 (UTC) Received: from pdx1-sub0-mail-a75.g.dreamhost.com (100-96-0-7.trex.outbound.svc.cluster.local [100.96.0.7]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9672234084D for ; Fri, 14 Feb 2020 02:45:55 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a75.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 14 Feb 2020 02:45:55 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Obese-Celery: 58fdcd5a5d9242aa_1581648355834_3687481708 X-MC-Loop-Signature: 1581648355834:2947565136 X-MC-Ingress-Time: 1581648355834 Received: from pdx1-sub0-mail-a75.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a75.g.dreamhost.com (Postfix) with ESMTP id 43F847F6C7 for ; Thu, 13 Feb 2020 18:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=3Ijb2e/6BwaDjrZtduPQNyDHZvw=; b=F4OcLSPPdV4IxVS6 ycmxFgyRZEYkfPcWkTcEMi9r0qLTXGNlDVTNQyV75xaaW5fMBT9bzlFR7AqTokv5 4aS53JDcN8b/l7GrnYL0hwx1+hSeP4//xgeIcz4b0KgZ0C9T8rjOEnEux3Df+F7A 9h88qS97Wa/T+dZ6ziwKp8cQsOU= Received: from jidanni.org (1-170-82-161.dynamic-ip.hinet.net [1.170.82.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a75.g.dreamhost.com (Postfix) with ESMTPSA id C90BD7F6B7 for ; Thu, 13 Feb 2020 18:45:52 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a75 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: M-x compile still very line-length weak Date: Thu, 13 Feb 2020 13:51:57 +0800 Message-ID: <87wo8rjapu.8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrieelgdehtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppedurddujedtrdekvddrudeiudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddrudejtddrkedvrdduiedupdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.55 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit 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 (/) Compare M-x compile on make aaa vs. make bbb $ cat Makefile aaa:; perl -we 'print " " x 9999;' #finishes right away. bbb:; perl -we 'print "\n" x 9999;' #takes several seconds, even on the latest hardware. (Indeed, on even longer lines we even see both the words "exit" and "Compiling" at the same time in the modeline.) emacs-version "26.3" ------------=_1581937682-19150-1--