GNU bug report logs - #78916
31.0.50; C-g fails to exit loop

Previous Next

Package: emacs;

Reported by: Mike Kupfer <kupfer <at> rawbw.com>

Date: Fri, 27 Jun 2025 21:37:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 78916 <at> debbugs.gnu.org, kupfer <at> rawbw.com
Subject: bug#78916: 31.0.50; C-g fails to exit loop
Date: Wed, 02 Jul 2025 14:37:08 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: kupfer <at> rawbw.com,  78916 <at> debbugs.gnu.org
> Date: Tue, 01 Jul 2025 16:47:40 -0400
> 
> > and it happened in the past because C-g would quite right away, so
> > there was no need to re-read it.  Right?
> 
> I agree that we want to signal `quit` right away here (and I think both
> for `C-g` and for `C-]`) rather than "unread" them.  The question is how
> we want to do it:
> 
> - (signal 'quit nil)
> - call `keyboard-quit`.
> - call whatever is bound to `C-g` in the normal keymaps.

If you explain the difference between the first tow, I could try
making up my mind.

> [ With a subsidiary question of whether we do it by changing the code
>   that handles a key bound to `quit` or whether we just change the
>   binding to something else like `keyboard-quit`.  ]

Currently 'quit' in replace.el is not handled, so it is a kind-of
dummy binding.  It doesn't have any code that handles it.  Or what did
I miss?




This bug report was last modified 25 days ago.

Previous Next


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