From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Canceling dialogues Date: Mon, 31 Jul 2006 21:57:23 +0200 Message-ID: <858xm9im3g.fsf@lola.goethe.zz> References: <44CE4007.6020904@student.lu.se> <38295.128.165.123.18.1154374997.squirrel@webmail.lanl.gov> <44CE5FA1.1010101@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1154375882 13604 80.91.229.2 (31 Jul 2006 19:58:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2006 19:58:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 31 21:57:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G7dta-0003fh-Bi for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 21:57:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7dtZ-0003dN-QV for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 15:57:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7dtM-0003bD-PN for emacs-devel@gnu.org; Mon, 31 Jul 2006 15:57:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7dtM-0003Zz-51 for emacs-devel@gnu.org; Mon, 31 Jul 2006 15:57:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7dtM-0003Zq-11 for emacs-devel@gnu.org; Mon, 31 Jul 2006 15:57:32 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7dw5-00040c-5i for emacs-devel@gnu.org; Mon, 31 Jul 2006 16:00:21 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1G7dtL-0001ll-26; Mon, 31 Jul 2006 15:57:31 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 18C571C000B3; Mon, 31 Jul 2006 21:57:24 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <44CE5FA1.1010101@student.lu.se> (Lennart Borgman's message of "Mon, 31 Jul 2006 21:53:05 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57869 Archived-At: Lennart Borgman 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