From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Canceling dialogues Date: Mon, 31 Jul 2006 23:23:18 +0300 Message-ID: References: <44CE4007.6020904@student.lu.se> <44CE5BB3.7000008@student.lu.se> <44CE6532.2010403@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1154377441 19019 80.91.229.2 (31 Jul 2006 20:24:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2006 20:24:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 31 22:23:53 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 1G7eIU-0000b3-To for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 22:23:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7eIU-0004Ch-8X for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 16:23:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7eIK-0004CY-1U for emacs-devel@gnu.org; Mon, 31 Jul 2006 16:23:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7eII-0004CD-L1 for emacs-devel@gnu.org; Mon, 31 Jul 2006 16:23:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7eII-0004CA-Fo for emacs-devel@gnu.org; Mon, 31 Jul 2006 16:23:18 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7eL1-0006KC-VT for emacs-devel@gnu.org; Mon, 31 Jul 2006 16:26:08 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-39-32.inter.net.il [80.230.39.32]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id EHU91154 (AUTH halo1); Mon, 31 Jul 2006 23:23:16 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <44CE6532.2010403@student.lu.se> (message from Lennart Borgman on Mon, 31 Jul 2006 22:16:50 +0200) 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:57874 Archived-At: > Date: Mon, 31 Jul 2006 22:16:50 +0200 > From: Lennart Borgman > CC: emacs-devel@gnu.org > > > So, unless we somehow program the function to discover that it is > > called for YES/NO dialog, we cannot blithely add a CANCEL button to > > it. > > > Why not add a cancel alternative for the other calls too? Because we cannot be sure that CANCEL makes sense in the context of the dialog. > > If you meant to add code to x-popup-dialog that would recognize this > > special case, I think fixing the generic dialog code is a better > > investment of our resources and energy, and the result is going to be > > much cleaner. > > > Yes, that would be better. But could not my suggestion be implemented > with much less effort? Maybe so, but it's ugly and unclean, IMHO. > I tried to answer that in another message. It should do what C-g does > for the command line alternative (minus some things that does not seem > appropriate as David pointed out). C-g is a bad idea, I think: it's too violent. Anyway, since it's a non-trivial change, I don't think we should consider it at this time. These ugly dialog emulations are with us for a long time, so it's no disaster if we will have them for one more release.