Package: emacs-common
Version: 1:26.1+1-3.3
Severity: normal
Tags: upstream
Forwarded: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16368

Open a file in cperl mode containing the following line:

  /(\d{4})(?: +){2}/;

e.g.: "emacs -Q file" then M-x cperl-mode <RET>

Put the cursor over the second opening brace, and type <DEL>
several times to delete what is before "{2}". When one types
<DEL> at this point:

  /(\d{4})(?:{2}/;
             ^cursor

Emacs freezes. One can type C-g to interrupt.

One can also reproduce the bug by typing: /(\d{4})(?{2
Emacs freezes before the "2" appears.

Note: This was the old Debian bug 734325. It is different from
bug 911573, which is fixed upstream (I could test), but this one
still occurs.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emacs-common depends on:
ii  emacsen-common  3.0.4
ii  install-info    6.6.0.dfsg.1-2

Versions of packages emacs-common recommends:
ii  emacs-el  1:26.1+1-3.3

Versions of packages emacs-common suggests:
ii  emacs-common-non-dfsg  1:26.1+1-1
ii  ncurses-term           6.1+20190803-1

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to