GNU bug report logs - #54996
Emacs hangs when editing Python code with debug-on-error set to t

Previous Next

Package: emacs;

Reported by: Richard Stanton <rhstanton <at> berkeley.edu>

Date: Sun, 17 Apr 2022 20:17:02 UTC

Severity: normal

Fixed in version 28.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Richard Stanton <rhstanton <at> berkeley.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs hangs when editing Python code with debug-on-error set to t
Date: Sun, 17 Apr 2022 13:16:26 -0700
Running Emacs 28.1 on MacOS 12.3.1, I’ve encountered a situation where Emacs hangs while editing Python code.

To see the problem, fire up Emacs 28.1 with init.el containing just one line:

———————
(setq debug-on-error t)
———————

Now open a Python file containing the following text:

———————
"""Text in triple double quotes"""
———————

Put the cursor right at the start of the file, on the first double quote, and press ‘, the single quote character. On my machine, Emacs now hangs and doesn’t respond to the keyboard. Without debug-on-error, this works just fine.

Best,

Richard Stanton





This bug report was last modified 3 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.