GNU bug report logs - #78737
sit-for behavior changes when byte-compiled

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Mon, 9 Jun 2025 20:50:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Pip Cet <pipcet <at> protonmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78737 <at> debbugs.gnu.org, dancol <at> dancol.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#78737: sit-for behavior changes when byte-compiled
Date: Sat, 14 Jun 2025 06:46:03 +0000
"Eli Zaretskii" <eliz <at> gnu.org> writes:

> "Emergency exit" (not "emergency quit", which never existed in Emacs)
> is the feature whereby typing more than 1 C-g would pop the question
> whether to exit Emacs and if so, whether to dump core.

Sorry if I'm being dense, but just to recap:

"Emergency exit" works in sessions that have a terminal frame.  In such
sessions, the code manipulating force_quit_count is never reached.

In GUI sessions, this code is reached, and hitting C-g three times while
quit-flag is set will perform a special kind of quit, clearing
inhibit-quit.

IIUC, you object to calling this special kind of quit "emergency quit",
and would prefer to call it something else.

Is that right?  What's the preferred term for this special kind of quit?

I'm asking mostly because this feature isn't documented in trouble.texi.
The emergency escape (= emergency exit) feature is well-documented but I
fear that won't help most users, terminal frames being rare these days.

Pip





This bug report was last modified 4 days ago.

Previous Next


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