all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stanton <rhstanton@berkeley.edu>
To: 54996@debbugs.gnu.org
Subject: bug#54996: Emacs hangs when editing Python code with debug-on-error set to t
Date: Sun, 17 Apr 2022 13:16:26 -0700	[thread overview]
Message-ID: <A2D3C21C-5002-4E2C-B5EF-ABDAABCA66F8@berkeley.edu> (raw)

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






             reply	other threads:[~2022-04-17 20:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-17 20:16 Richard Stanton [this message]
2022-04-17 20:43 ` bug#54996: Emacs hangs when editing Python code with debug-on-error set to t Lars Ingebrigtsen
2022-04-18  5:46   ` Eli Zaretskii
2022-04-18  9:45     ` Lars Ingebrigtsen
2022-04-18 10:02       ` Eli Zaretskii
2022-04-18 11:07         ` Lars Ingebrigtsen
2022-04-18 11:18           ` Lars Ingebrigtsen
2022-04-18 14:17             ` Philipp Stephani
2022-04-18 14:23               ` Lars Ingebrigtsen
2022-04-18 10:56     ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=A2D3C21C-5002-4E2C-B5EF-ABDAABCA66F8@berkeley.edu \
    --to=rhstanton@berkeley.edu \
    --cc=54996@debbugs.gnu.org \
    /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.