[OS X Emacs] 1.5 and "open -a"
Tom Van Vleck
thvv at multicians.org
Fri Oct 10 15:11:51 EDT 2008
Personally I do not mind the scratch buffer at all.
In fact, if OBOF mode is off, I would expect command-W on the last
visible frame to
do a kill-buffer, asking if the file is modified, and then show the
scratch buffer.
As far as how you work around your workarounds, this introduces another
hidden state variable, so i can sympathize with your reluctance.
On Sep 29, 2008, at 3:03 PM, David Reitter wrote:
> Tom,
> you're right about this.
> The reason for it is that the last visible frame is not actually
> deleted when you press Command-W, but hidden, because GNU Emacs is
> unable to delete the last remaining frame (at least not without
> crashing).
>
> I can add a workaround to the workaround by actually deleting the
> hidden frame after the user has opened another one.
>
> - D
>
> --
> 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!
>
>
> On 29 Sep 2008, at 14:44, Tom Van Vleck wrote:
>
>> There are more inconsistencies in Aquamacs with buffers and frames.
>> I have o-b-o-f set OFF.
>>
>> I started Aquamacs, noted there was no Frames item on the Windows
>> menu.
>> open -a "/Applications/Aquamacs Emacs.app" foo
>> Closed the window with cmd-W (simulating my common mistake).
>> Opened a new window with cmd-N. Showed a scratch buffer.
>> Killed that buffer with c-x-k. foo reappeared.
>> Now the windows menu showed a Frames item. clicking it brought up
>> a submenu with foo on it twice.
>> open -a "/Applications/Aquamacs Emacs.app" bar
>> showed bar in the window, and the Window :: Frames submenu showed
>> both
>> foo and bar, but in fact there was only one frame.
>> Choosing an item from the Frames submenu opened a new frame.
>> open -a "/Applications/Aquamacs Emacs.app" baz
>> opened baz in one of the frames.
>>
>> I was able to end up with a long list of files on the Frames submenu,
>> many more than I had frames. What should the Frames submenu
>> show if a window is split and holds more than one file?
>>
>>
>> _____________________________________________________________
>> MacOSX-Emacs mailing list
>> MacOSX-Emacs at email.esm.psu.edu
>> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
>> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
More information about the MacOSX-Emacs
mailing list