unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Quit within sit-for
@ 2008-06-09 13:54 Stefan Monnier
  2008-06-09 14:19 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2008-06-09 13:54 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

In your recent change to minibuffer.el you added:

        ;; A quit during sit-for should be (re-)read as
        ;; abort-recursive-edit
        (inhibit-quit t))

Other than the lack of "." at the end of the sentence, I'm worried that
if this fixes a bug, the bug is a lot more widespread.  But I must say
I don't understand the comment.

The comment seems to say that C-g within the sit-for be "(re-)read"
differently than if it had been typed at some other time.  Is that
really what your change is about?  If so, that sounds wrong (the
sit-for is only a display artifact and should ideally in no way
influence Emacs's behavior).

Or is it that without your change Emacs does behave differently within
the sit-for than outside of it and your change tries to bring the two
behaviors a bit closer to each other?


        Stefan


PS: *Please* reply with more than 1 line.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-10  1:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-09 13:54 Quit within sit-for Stefan Monnier
2008-06-09 14:19 ` Andreas Schwab
2008-06-10  1:21   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).