From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#33114: 25.2; Emacs hangs on closing a perenthesis in a regexp in cperl mode Date: 23 Oct 2018 14:46:24 -0000 Organization: muc.de e.V. Message-ID: <20181023144624.10735.qmail@mail.muc.de> References: <87efcix1cy.fsf@zira.vinc17.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1540305916 15299 195.159.176.226 (23 Oct 2018 14:45:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2018 14:45:16 +0000 (UTC) User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.2-RELEASE-p4 (amd64)) Cc: acm@muc.de, 33114@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 23 16:45:12 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gExvj-0003ss-Sz for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2018 16:45:11 +0200 Original-Received: from localhost ([::1]:42139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gExxq-0004By-BL for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2018 10:47:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gExxc-0003zH-6s for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:47:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gExxY-0004FO-Sv for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:47:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gExxV-0004Ca-Tr for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gExxV-0000Ly-Lh for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Oct 2018 14:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33114 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33114-submit@debbugs.gnu.org id=B33114.15403059901314 (code B ref 33114); Tue, 23 Oct 2018 14:47:01 +0000 Original-Received: (at 33114) by debbugs.gnu.org; 23 Oct 2018 14:46:30 +0000 Original-Received: from localhost ([127.0.0.1]:38374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gExwz-0000L7-SW for submit@debbugs.gnu.org; Tue, 23 Oct 2018 10:46:30 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:44405 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1gExwv-0000Kr-Co for 33114@debbugs.gnu.org; Tue, 23 Oct 2018 10:46:28 -0400 Original-Received: (qmail 10736 invoked by uid 3782); 23 Oct 2018 14:46:24 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151520 Archived-At: In article you wrote: > Consider the following file: > # -*- mode: cperl -*- > s/./(/e; > 1. Open it with "emacs -Q". > 2. Put the cursor just after the opening parenthesis. > 3. Type ')' (closing parenthesis). > This makes Emacs hang. A C-g alone has no effect. Several C-g in a row > may give the control back to the user. I tried this in Emacs 25.2 -Q under Gentoo. I haven't yet been able to reproduce the error. Instead, on typing the ), I get the error message: End of `s/ ... // ... /' string/RE not found: (scan-error Unbalanced parentheses 29 32) . Maybe something in your Emacs build configuration is clashing with something in cperl mode. > Tested under Debian/unstable. > In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30) > of 2018-07-11, modified by Debian built on x86-ubc-01 > Windowing system distributor 'The X.Org Foundation', version 11.0.12001000 > System Description: Debian GNU/Linux stable-updates (sid) -- Alan Mackenzie (Nuremberg, Germany).