From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Harald =?UTF-8?Q?J=C3=B6rg?= Newsgroups: gmane.emacs.bugs Subject: bug#70948: 29.3; cperl mode hangs on comments like "#___" Date: Tue, 14 May 2024 22:34:51 +0000 Message-ID: <87cypoc99w.fsf@oook.m.uunet.de> References: <87zfsscl1r.fsf@oook.m.uunet.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70948@debbugs.gnu.org To: Patrick Goldmann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 15 00:36:16 2024 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 1s70kq-0006Ko-Nx for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 May 2024 00:36:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s70kd-0000ud-Q0; Tue, 14 May 2024 18:36:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s70kb-0000u4-Qv for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 18:36:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s70ka-0007cA-Qj for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 18:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s70kb-0006KM-Ta for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 18:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Harald =?UTF-8?Q?J=C3=B6rg?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2024 22:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70948 X-GNU-PR-Package: emacs Original-Received: via spool by 70948-submit@debbugs.gnu.org id=B70948.171572610424295 (code B ref 70948); Tue, 14 May 2024 22:36:01 +0000 Original-Received: (at 70948) by debbugs.gnu.org; 14 May 2024 22:35:04 +0000 Original-Received: from localhost ([127.0.0.1]:41524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s70jg-0006Jn-AS for submit@debbugs.gnu.org; Tue, 14 May 2024 18:35:04 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:57871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s70jd-0006JE-3h for 70948@debbugs.gnu.org; Tue, 14 May 2024 18:35:03 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3169B240028 for <70948@debbugs.gnu.org>; Wed, 15 May 2024 00:34:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1715726093; bh=sNcntzdo2GeWpf63/arLDUgMN58BWU05iViWpuJHiBA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Qg8uVVIaEWF1j+FT5UJIh3b188s5oiyKUzJcTKgRhGTwb8ShAhGHB5ZkeMJ5Y6WHP noLPzCorRaVwLpdtWCmwCx1rjsKSwiNRkUqlx/sM9kAPuXpDBCo7/48b4NFjtAYKiP P4AKp/5aPCgIrI/t2sTmBbqFBlBOs+mrwRRwHb1Irr0qpdV9EruNWFBstegHHklHfo LeQGJWYKXJWUwAvpmeKC+AX0rt1JVHnAZVqZDkPI5eZ4b8fG/xhI1QbCC80qgg2vqV 1at9MEFOgV1w+GgRVe2Ms5VYjEYoeO+W9JR0BP77iXYK8gJG6r+oidHxd1B2pXwJCC DxzvTYZdbmBIg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VfB4X32Ctz9rxD; Wed, 15 May 2024 00:34:51 +0200 (CEST) In-Reply-To: (Patrick Goldmann's message of "Tue, 14 May 2024 21:38:22 +0200") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285057 Archived-At: tags 70948 confirmed owner 70948 ! thanks Patrick Goldmann writes: > This was bugging me, so I played around with it a bit more. > > It seems this has nothing to do at all with version control etc, but > with the number of underscores. > > I could reproduce it on my private machine with a clean emacs 29.3 install by: > - C-x C-f foo.pl > - M-x cperl-mode > - just keeping underscore pressed Ok, I can reproduce it: I see a delay starting after ~20 underscores and getting quickly worse as more underscores are added. My first bet would be some exponential regexp backtracking. The slowdown does not happen with Emacs built from the repository under Linux, nor with Emacs 28.2 under Windows. I need to run more variations to narrow it down. -- Cheers, haj