emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Canceling dialogues


From: Richard Stallman
Subject: Re: Canceling dialogues
Date: Mon, 31 Jul 2006 19:59:51 -0400

    What should y-or-n-p return if the user chooses this alternative?  Should
    it signal 'quit (like C-g would)?

Yes, exactly.

      What if `inhibit-quit' is t?

Then the quit happens later.

      The idea
    of an escape route for the user is not a bad one, but I wonder if the
    notion of "cancelling" is insufficiently generalizable to apply to just
    any use of `y-or-n-p'.

Sure.  When y-or-n-p uses the keyboard, you can type C-g to do so.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]