[OS X Emacs] Aquamacs Emacs 1.5 released

Tom Van Vleck thvv at multicians.org
Wed Sep 24 11:41:03 EDT 2008

> 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.

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

(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?

More information about the MacOSX-Emacs mailing list