[OS X Emacs] Aquamacs Emacs 1.5 released

David Reitter david.reitter at gmail.com
Wed Sep 24 20:43:55 EDT 2008


On 24 Sep 2008, at 11:41, Tom Van Vleck wrote:

>> Command-W (`close-window') will now delete the selected window and,  
>> if there is only one window in the frame, the frame. When `one- 
>> buffer-one-frame-mode' and 'tabbar-mode' are off, it will not kill  
>> the buffer (or even ask to save it). The frame's red ``close''  
>> button will close all windows in the frame. This should be  
>> convenient for traditional Emacs users. Note that C-h k can still  
>> be used to just kill a buffer without affecting its window.
> I would like to be able to change just the behavior in the second  
> sentence above.  It leads to a state where Aquamacs is running and  
> has many buffers open, some possibly modified, but no open windows.   
> I never want to be in this state: if there are open buffers there  
> should be at least one frame visible.  Double clicking a file whose  
> editor is Aquamacs, when Aquamacs is in the no-window state, opens  
> TWO frames, one with the new file and the other with some other file  
> that has a buffer. If I double click a file that already has a  
> buffer, I end up with two frames showing the same file, with  
> different fonts.

Opening two frames shouldn't happen, I agree.

> Perhaps I should try rebinding Command-W to kill-buffer.

Yes, please let us know how that pans out.
> (By the way, your last sentence has a typo, C-h k in the last  
> sentence above should be C-x k.)


> Finding out what keys are bound to, using C-h k, leads to another  
> issue.  The popup shows what the key is bound to, but not WHY.  That  
> is, the binding could be the result of the aquamacs-key-map, or of  
> one of many modes.  Would it be possible to display what mode bound  
> the key?

I have forwarded your suggestion to emacs-devel, and it turns out that  
there's already some code to do this. Don't expect to see this in the  
22 (and hence Aquamacs) any time soon, but maybe in 23.2.  You can  
probably find the code somewhere and make it work as a patch without  
too much trouble.  If you share it, I can check it into Aquamacs - I'd  
find it quite useful, actually.

http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080924/87696470/attachment.p7s>

More information about the MacOSX-Emacs mailing list