emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: menu-bar: disable items when no frame visible


From: Juri Linkov
Subject: Re: menu-bar: disable items when no frame visible
Date: Tue, 29 Nov 2005 11:03:44 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

> The menu-bar doesn't go away when no frame is shown. It is still
> there, showing the state of the selected frame (even though it is
> hidden).
>
> And  you need the menu bar in this situation, because might need to
> open a file from the File menu, for example. On most other systems
> that I know, the application is quit when you close the last window -
> that is logical because there would be no way to show the
> menu. That  is not the case in general for apps on the Mac.

I guess if it would be possible to close the last frame, there should
be fewer menu items enabled than when the last frame is minimized,
because in the minimized frame there is the current buffer, but not
in the closed frame.  Only menu items that create a new buffer should
be enabled in the closed frame.

> Now, Emacs still quits when you close the last frame. But you can
> hide it (or minimize it) just fine. That's when you have the menu
> with the disabled items.

This is somehow similar to GTK where the last frame can be minimized
but the tool bar is still visible.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]