emacs-devel
[Top][All Lists]
Advanced

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

Re: Canceling dialogues


From: Stuart D. Herring
Subject: Re: Canceling dialogues
Date: Mon, 31 Jul 2006 12:43:17 -0700 (PDT)
User-agent: SquirrelMail/1.4.6-7.el3.7lanl

> If you use the menus in Emacs to call a function and this function for
> example calls y-or-n-p then a popup dialog will be shown (if
> use-dialog-box is t). This dialog box can not be canceled, at least not
> on w32.
>
> I think this is a bug and that a third alternative for canceling should
> be added.

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?

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

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