all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: acm@muc.de, 33114@debbugs.gnu.org
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	[thread overview]
Message-ID: <20181023144624.10735.qmail@mail.muc.de> (raw)
In-Reply-To: <mailman.2564.1540168987.1284.bug-gnu-emacs@gnu.org>

In article <mailman.2564.1540168987.1284.bug-gnu-emacs@gnu.org> 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).






  parent reply	other threads:[~2018-10-23 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-22  0:37 bug#33114: 25.2; Emacs hangs on closing a perenthesis in a regexp in cperl mode Vincent Lefevre
     [not found] ` <mailman.2564.1540168987.1284.bug-gnu-emacs@gnu.org>
2018-10-23 14:46   ` Alan Mackenzie [this message]
2018-10-23 15:19 ` Eli Zaretskii
2018-10-25 11:21   ` Vincent Lefevre
2018-10-25 14:59     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181023144624.10735.qmail@mail.muc.de \
    --to=acm@muc.de \
    --cc=33114@debbugs.gnu.org \
    --cc=vincent@vinc17.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.