From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: Canceling dialogues Date: Mon, 31 Jul 2006 12:43:17 -0700 (PDT) Message-ID: <38295.128.165.123.18.1154374997.squirrel@webmail.lanl.gov> References: <44CE4007.6020904@student.lu.se> Reply-To: herring@lanl.gov NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1154375189 11228 80.91.229.2 (31 Jul 2006 19:46:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2006 19:46:29 +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:46:22 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 1G7dfv-00085c-SO for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 21:43:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7dfv-0007T3-E0 for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 15:43:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7dfh-0007RV-W8 for emacs-devel@gnu.org; Mon, 31 Jul 2006 15:43:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7dff-0007Nv-PD for emacs-devel@gnu.org; Mon, 31 Jul 2006 15:43:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7dff-0007Ng-Ki for emacs-devel@gnu.org; Mon, 31 Jul 2006 15:43:23 -0400 Original-Received: from [192.65.95.54] (helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G7diO-0002ww-Cv for emacs-devel@gnu.org; Mon, 31 Jul 2006 15:46:12 -0400 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher-b.lanl.gov (8.13.6/8.13.6/(ccn-5)) with ESMTP id k6VJhIJb011507 for ; Mon, 31 Jul 2006 13:43:18 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay1.lanl.gov (8.13.6/8.13.6/(ccn-5)) with ESMTP id k6VJhH0i022403; Mon, 31 Jul 2006 13:43:17 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id k6VJhHWm016823; Mon, 31 Jul 2006 13:43:17 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id k6VJhH3H016821; Mon, 31 Jul 2006 12:43:17 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Mon, 31 Jul 2006 12:43:17 -0700 (PDT) In-Reply-To: <44CE4007.6020904@student.lu.se> Original-To: "Lennart Borgman" User-Agent: SquirrelMail/1.4.6-7.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.0.111621 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:57867 Archived-At: > 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.