Lennart Borgman <address@hidden> writes:
Stuart D. Herring wrote:
What should y-or-n-p return if the user chooses this alternative? Should
it signal 'quit (like C-g would)? What if `inhibit-quit' is t? 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'. Is there a specific behavior that you would want
to associate with this?
I want the Cancel alternative to work just like C-g works in the
command line alternative.
Well, it sounds like there would not be much of a point to display a
cancel button if inhibit-quit is t, and it would also appear
inappropriate to ring the bell (which is usually done for a lot of
situations where quit is signaled).