From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: menu-bar: disable items when no frame visible Date: Tue, 29 Nov 2005 11:03:44 +0200 Organization: JURTA Message-ID: <87d5kjq1f2.fsf@jurta.org> References: <708F3D2D-A87C-4F80-BC27-171D82653F4D@gmail.com> <8764qcvqfs.fsf@jurta.org> <1D9CD839-4D59-46FD-A024-BC1EA850B3B0@gmail.com> <87lkz8bdf2.fsf@jurta.org> <121DDE1F-FCBD-4F4D-AB81-A69C4D58119C@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133265812 29899 80.91.229.2 (29 Nov 2005 12:03:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2005 12:03:32 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 13:03:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eh1bh-0000uw-7x for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 10:17:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh1bg-0006qB-GZ for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 04:17:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eh1Wd-00059A-W6 for emacs-devel@gnu.org; Tue, 29 Nov 2005 04:11:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eh1Wb-000585-IU for emacs-devel@gnu.org; Tue, 29 Nov 2005 04:11:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh1Wa-00057p-W1 for emacs-devel@gnu.org; Tue, 29 Nov 2005 04:11:45 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eh1Wa-0004gA-NJ for emacs-devel@gnu.org; Tue, 29 Nov 2005 04:11:44 -0500 Original-Received: from mail.neti.ee (80-235-38-68-dsl.mus.estpak.ee [80.235.38.68]) by Relayhost1.neti.ee (Postfix) with ESMTP id 9B30E1FB1; Tue, 29 Nov 2005 11:12:00 +0200 (EET) Original-To: David Reitter In-Reply-To: <121DDE1F-FCBD-4F4D-AB81-A69C4D58119C@gmail.com> (David Reitter's message of "Tue, 29 Nov 2005 00:08:06 +0000") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46753 Archived-At: > 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/