From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70948: 29.3; cperl mode hangs on comments like "#___" Date: Thu, 16 May 2024 21:22:39 +0300 Message-ID: <865xvdiplc.fsf@gnu.org> References: <87zfsscl1r.fsf@oook.m.uunet.de> <87cypoc99w.fsf@oook.m.uunet.de> <87v83evizl.fsf@oook.m.uunet.de> <86a5kqjhj4.fsf@gnu.org> <874jaxhfmb.fsf@oook.m.uunet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25766"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70948@debbugs.gnu.org To: Harald =?UTF-8?Q?J=C3=B6rg?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 20:23:12 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 1s7fl2-0006S3-8N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 20:23:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7fks-0000w1-M3; Thu, 16 May 2024 14:23:02 -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 1s7fkq-0000vd-QA for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 14:23:00 -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 1s7fkq-00073e-Gu for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 14:23:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7fks-0001yF-FQ; Thu, 16 May 2024 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Harald =?UTF-8?Q?J=C3=B6rg?= Resent-Date: Thu, 16 May 2024 18:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 70948-submit@debbugs.gnu.org id=B70948.17158837727563 (code B ref 70948); Thu, 16 May 2024 18:23:02 +0000 Original-Received: (at 70948) by debbugs.gnu.org; 16 May 2024 18:22:52 +0000 Original-Received: from localhost ([127.0.0.1]:50213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7fki-0001xv-HF for submit@debbugs.gnu.org; Thu, 16 May 2024 14:22:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7fkg-0001xl-6I for 70948@debbugs.gnu.org; Thu, 16 May 2024 14:22:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7fkY-00072N-GB; Thu, 16 May 2024 14:22:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=73GH2wjRhgfQGrYhp9dOYGuqBdvVqKIErm4nYjzXw/E=; b=bpdplcKE8ExUY9sBIpNu YC2wjt58T7R32w+DLjrxUJlWFEjvWao9PE+H5oebvvaltWM4aDYnFiS3W6Ud84M4I+i9BObPEWQ+R tzOYz4BhKRKKc+ntJ9NwMDbPv1aYIUxQMXMgywcKGPOOTlOM2ew7nY0ZyBj22m6pGkd0wwKuC5fEr sry21QLVZ6n2SmA8yWmSAsDClLUK0WW9LpIt5cYbhIAxo5ySAAkHAViFrcQqHhlioFGEkbxpaUb0U /aXiEocL0TWFeKRXPSPLegDJf6o99vVI0fzLBiXdnRpYP6+RMjXlRLyuZd3LfP6XDR0AObDtIizlm 2jwnZEcnfebbpQ==; In-Reply-To: <874jaxhfmb.fsf@oook.m.uunet.de> (message from Harald =?UTF-8?Q?J=C3=B6rg?= on Thu, 16 May 2024 16:43:24 +0000) 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:285182 Archived-At: > From: Harald Jörg > Cc: 70948@debbugs.gnu.org > Date: Thu, 16 May 2024 16:43:24 +0000 > > Eli Zaretskii writes: > > > Please note that, barring any unforeseen emergencies, there will be no > > more Emacs 29.x releases. So I'm not sure the effort of making the > > emacs-29 branch behave better in this matter is justified. > > I understand! > > My suggested course of action would be like this: > > 1) Make cperl-mode.el from the master branch work with older Emacsen > (again). This needs a one-line fix. > > 2) Work around the inefficient rx expansion in the master branch. This > seems to be another one-line fix in which I replace a rx sequence by > the expansion it gets in master (explanatory comment omitted here): > > (defconst cperl--basic-identifier-rx > - '(sequence (or alpha "_") (* (or word "_"))) > + '(regex "[_[:alpha:]][_[:word:]]*")) > > 3) Close the bug report, noting it has already been fixed in master. > Explain that users can use cperl-mode.el from the repository as a > drop-in replacement in Emacs 27 or newer if they are affected by the > bug. SGTM, thanks.