|
From: | Jan D. |
Subject: | Re: undo in loaddefs.el buffer |
Date: | Mon, 27 Dec 2004 20:33:25 +0100 |
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 andtoolkits 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 dialogpops 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.
[Prev in Thread] | Current Thread | [Next in Thread] |