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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 78737 <at> debbugs.gnu.org, dancol <at> dancol.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#78737: sit-for behavior changes when byte-compiled
Date: Sat, 14 Jun 2025 11:30:31 +0300
> Date: Sat, 14 Jun 2025 06:46:03 +0000
> From: Pip Cet <pipcet <at> protonmail.com>
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, dancol <at> dancol.org, 78737 <at> debbugs.gnu.org
> 
> "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 don't know.  This feature is not currently documented in the manual,
so I don't think we have a term for it.  We don't even advertise it
anywhere, AFAICT.

> 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.

I would like to see the emergency exit feature work on GUI frames as
well, if that's feasible.




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.