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: Thu, 16 May 2024 21:00:12 +0000 Message-ID: <87seyhfp5v.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="26941"; mail-complaints-to="usenet@ciao.gmane.io" To: 70948-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 23:01:24 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 1s7iE6-0006pB-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 23:01:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7iDm-0004a2-8f; Thu, 16 May 2024 17:01: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 1s7iDk-0004ZA-Js for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 17:01: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 1s7iDk-00026o-Bg for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 17:01:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7iDm-0003ye-GS for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 17:01:02 -0400 Resent-From: Harald =?UTF-8?Q?J=C3=B6rg?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2024 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Mail-Followup-To: 70948@debbugs.gnu.org, haj@posteo.de, patrick.goldmann@gmail.com Original-Received: via spool by 70948-done@debbugs.gnu.org id=D70948.171589322615246 (code D ref 70948); Thu, 16 May 2024 21:01:02 +0000 Original-Received: (at 70948-done) by debbugs.gnu.org; 16 May 2024 21:00:26 +0000 Original-Received: from localhost ([127.0.0.1]:50959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7iDC-0003xq-BV for submit@debbugs.gnu.org; Thu, 16 May 2024 17:00:26 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:44037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7iD8-0003xY-PR for 70948-done@debbugs.gnu.org; Thu, 16 May 2024 17:00:25 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A1F5C240101 for <70948-done@debbugs.gnu.org>; Thu, 16 May 2024 23:00:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1715893213; bh=U/s+BLPKYYu1I8H33WXj8gQWP1FspXjDtcBUSkoDAfA=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=W0CvmUDb4+gRbtdgUpj5hsKKIxo+zzDNo0wx5fzQS5p5vdyCsRs4Yh8bGUUv0mEmO irDvQPJb/YA2jQGGUQ2E5wDFAhGpQA09C1ovjJNB2xtsGGz717zkkykvgh/Y6vRYHe KODkJTxrk3XJZDzW69rAv9MEm+Q8+z63k34tP2U3LWYbRGoL2CYuDvIxMW+hZlDO5h N/FY0iC4C2uxOcDAkUtkzTuiPqhVM8T5i0bBO/lwiKF1x8+s+VYiknEgQo7lJOTkjr zOSm79twO1e1EN7zm3coE68+sexTOflLtFFpMPMIjN1YbGIliVH3cpCOsxNkl/4QJh HnBPx2MqewVAw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VgMtP10HFz6tsg for <70948-done@debbugs.gnu.org>; Thu, 16 May 2024 23:00:12 +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:285205 Archived-At: Patrick Goldmann writes: > 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 > > Emacs will slow down eventually and then hang. Haven't waited long enough to see if it > recovers. > > Hope this helps. The bug has already been fixed in the Emacs source code. For Emacs 29, we have a workaround: You can pull cperl-mode.el from the Emacs source code repository: https://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/progmodes/cperl-mode.el and put it on your load path before the cperl-mode.el from the distribution. I just followed that procedure, it works for Emacs 29 (and Emacs 27, 28) on Windows (and Linux). Thanks for reporting! -- Cheers, haj