[Top][All Lists]

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

Re: Canceling dialogues

From: David Kastrup
Subject: Re: Canceling dialogues
Date: Mon, 31 Jul 2006 21:57:23 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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).

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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