From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: undo in loaddefs.el buffer Date: Mon, 27 Dec 2004 20:33:25 +0100 Message-ID: <2D323CEB-583E-11D9-B0DF-000D93505B76@swipnet.se> References: <200412211414.iBLEEZ903426@raven.dms.auburn.edu> <200412211541.iBLFfBc03861@raven.dms.auburn.edu> <87llbonyup.fsf@jurta.org> <200412260206.iBQ26wG17970@raven.dms.auburn.edu> <41CEE3B8.9090600@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104176582 10027 80.91.229.6 (27 Dec 2004 19:43:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2004 19:43:02 +0000 (UTC) Cc: juri@jurta.org, yamaoka@jpl.org, teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 27 20:42:51 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cj0lW-0004HR-00 for ; Mon, 27 Dec 2004 20:42:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cj0wL-0002Yi-9L for ged-emacs-devel@m.gmane.org; Mon, 27 Dec 2004 14:54:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cj0vv-0002Na-TV for emacs-devel@gnu.org; Mon, 27 Dec 2004 14:53:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cj0vq-0002L2-2F for emacs-devel@gnu.org; Mon, 27 Dec 2004 14:53:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cj0vo-0002IP-Hv for emacs-devel@gnu.org; Mon, 27 Dec 2004 14:53:28 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cj0cu-0007lr-6d; Mon, 27 Dec 2004 14:33:56 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20041227193354.UFEB6820.mxfep02.bredband.com@coolsville.localdomain>; Mon, 27 Dec 2004 20:33:54 +0100 In-Reply-To: Original-To: rms@gnu.org X-Mailer: Apple Mail (2.619) 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: main.gmane.org gmane.emacs.devel:31473 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31473 > This way of popping down the dialog has been replaced by popping > down by > pressing ESC, which is more in line with what other applications > and > toolkits use. > > I think it would be an improvement if most characters did not exit the > dialog, only ESC and C-g. Can you implement this in general? > > Perhaps ESC should cause a quit rather than returning nil. Of course, > C-g definitely ought to quit. I've implemented ESC and C-g to do a quit for the X window versions. I'll try to do it for OSX, and perhaps W32, but if someone has the time to do at least W32, that would be great. I really don't know anything about Mac OS Classic. > > Should ESC exit a menu too? It seems to me that would > be a coherent interface. Is that easy to do? Yes, and I've done that also. C-g also exits a menu now (just exits, it does not quit). The same comment about OSX and W32 applies here. > > Any key pressed when the focus is on the Emacs frame and not the > dialog > pops down the Lucid and Lesstif/Motif dialog, to be compatible with > 21.3. > > I don't think we need to be backwards-compatible in that regard. If > only-ESC-exits is a better policy, let's switch to that in all cases > if we can. Ok, I'll remove that code. ESC is good because it is the default for many toolkits and C-g is the Emacs way. I think that is all that is needed. Jan D.