Package: emacs-el Version: 1:28.2+1-15 Severity: important Tags: upstream X-Debbugs-Cc: dalg...@gmail.com
Dear Maintainer, When editing the following file, emacs will reliably hang: $ cat bug.py def foo(self): """Foo.""" """ pass def baz(self): """Ba'r.""" pass The problem seems triggered by the single-quote in the second docstring. Upon research, this is likely a problem specific to the version of progmodes/python.el shipped with emacs 28.2. Although the above specific test case did not seem to match other reports I saw. I'm not comfortable enough mixing and matching something like emacs-el from backports (which is 29.1) with stable emacs 28.2 (not enough experience with emacs). Some reference threads: https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-01/msg01686.html https://www.reddit.com/r/emacs/comments/z0oye9/emacs_freezes_when_opening_a_python_file https://emacs.stackexchange.com/questions/74167/python-mode-hangs-on-class-member-comment -- System Information: Debian Release: 12.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-15-amd64 (SMP w/6 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages emacs-el depends on: ii emacs-common 1:28.2+1-15 emacs-el recommends no packages. emacs-el suggests no packages. -- no debconf information