From: Noam Postavsky <npostavs@users.sourceforge.net>
To: E Sabof <esabof@gmail.com>
Cc: 16583@debbugs.gnu.org
Subject: bug#16583: Possible bug in inhibit-quit/abort-recursive-edit
Date: Fri, 09 Feb 2018 22:17:09 -0500 [thread overview]
Message-ID: <87efltcz4a.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAEp6Dya7wcm9RA=Hsf2Y7x5c1-fheHDDVroGx=im1_BtZ4u+tA@mail.gmail.com> (E. Sabof's message of "Wed, 29 Jan 2014 01:07:27 +0000")
tags 16583 notabug
close 16583
quit
E Sabof <esabof@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.
prev parent reply other threads:[~2018-02-10 3:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-29 0:42 bug#16583: Possible bug in inhibit-quit E Sabof
2014-01-29 1:07 ` bug#16583: Possible bug in inhibit-quit/abort-recursive-edit E Sabof
2018-02-10 3:17 ` Noam Postavsky [this message]
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=87efltcz4a.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=16583@debbugs.gnu.org \
--cc=esabof@gmail.com \
/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.