GNU bug report logs -
#16583
Possible bug in inhibit-quit
Previous Next
Reported by: E Sabof <esabof <at> gmail.com>
Date: Wed, 29 Jan 2014 00:44:02 UTC
Severity: normal
Tags: notabug
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 16583 notabug
close 16583
quit
E Sabof <esabof <at> gmail.com> writes:
> (condition-case error
> (let ((inhibit-quit t))
> (sleep-for 5))
> (quit (goto-char (point-max))
> (insert "QUIT")))
>
> I understand why "QUIT" might not be displayed -- the signal is not
> guaranteed to be sent immediately after then end of (let). But,
> shouldn't abort-recursive-edit also cause Quit to be displayed in the
> minibuffer?
I don't see any bug here: abort-recursive-edit doesn't signal `quit', so
the condition-case is not triggered.
> It so happens that I have abort-recursive-edit bound to C-g, and
> ((inhibit-quit t)) seems to discard all sent "C-g"s.
I think it's rather that Emacs doesn't process input events during
sleep-for. If you want to handle input use sit-for.
This bug report was last modified 7 years and 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.