From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Canceling dialogues Date: Mon, 31 Jul 2006 19:59:51 -0400 Message-ID: References: <44CE4007.6020904@student.lu.se> <38295.128.165.123.18.1154374997.squirrel@webmail.lanl.gov> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1154390419 23806 80.91.229.2 (1 Aug 2006 00:00:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 00:00:19 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 02:00:16 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 1G7hg7-0000lI-N8 for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 02:00:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7hg7-0000RT-9V for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 20:00:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7hfu-0000Q5-0I for emacs-devel@gnu.org; Mon, 31 Jul 2006 19:59:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7hfs-0000Og-MP for emacs-devel@gnu.org; Mon, 31 Jul 2006 19:59:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7hfs-0000OY-Hj for emacs-devel@gnu.org; Mon, 31 Jul 2006 19:59:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7hie-0000b9-41 for emacs-devel@gnu.org; Mon, 31 Jul 2006 20:02:44 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1G7hfr-0003KB-Fs; Mon, 31 Jul 2006 19:59:51 -0400 Original-To: herring@lanl.gov In-reply-to: <38295.128.165.123.18.1154374997.squirrel@webmail.lanl.gov> (herring@lanl.gov) 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:57891 Archived-At: What should y-or-n-p return if the user chooses this alternative? Should it signal 'quit (like C-g would)? Yes, exactly. What if `inhibit-quit' is t? Then the quit happens later. 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'. Sure. When y-or-n-p uses the keyboard, you can type C-g to do so.