From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: menu-bar: disable items when no frame visible Date: Tue, 29 Nov 2005 00:08:06 +0000 Message-ID: <121DDE1F-FCBD-4F4D-AB81-A69C4D58119C@gmail.com> References: <708F3D2D-A87C-4F80-BC27-171D82653F4D@gmail.com> <8764qcvqfs.fsf@jurta.org> <1D9CD839-4D59-46FD-A024-BC1EA850B3B0@gmail.com> <87lkz8bdf2.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133223209 24446 80.91.229.2 (29 Nov 2005 00:13:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2005 00:13:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 01:13:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Egt68-0007Sm-Vc for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 01:11:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Egt5x-0005Nv-39 for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2005 19:11:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Egt2f-0004va-GH for emacs-devel@gnu.org; Mon, 28 Nov 2005 19:08:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Egt2b-0004tz-2S for emacs-devel@gnu.org; Mon, 28 Nov 2005 19:08:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Egt2V-0004rx-Tp for emacs-devel@gnu.org; Mon, 28 Nov 2005 19:08:11 -0500 Original-Received: from [64.233.184.203] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Egt2V-0005jH-P0 for emacs-devel@gnu.org; Mon, 28 Nov 2005 19:08:07 -0500 Original-Received: by wproxy.gmail.com with SMTP id 67so3451962wri for ; Mon, 28 Nov 2005 16:08:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=r93fQGDHZ3ZrEZw8HVPiDqxlG667gr1Zqc6hv1ioEBa9fD8wM4bmo3HVx5vXUW4wkejvw+g+6eGtqc69YF+dzKNXYk6Owf2aBfqTkcvYOAJQIph2I7qHAxy3NOF53SIcoGCVpUcL5ZPoVTItbZ1yN6rodEHPHuoXfvacKDErGyI= Original-Received: by 10.65.54.20 with SMTP id g20mr340059qbk; Mon, 28 Nov 2005 16:08:07 -0800 (PST) Original-Received: from ?10.0.0.34? ( [82.13.47.113]) by mx.gmail.com with ESMTP id p4sm100391qba.2005.11.28.16.08.06; Mon, 28 Nov 2005 16:08:06 -0800 (PST) In-Reply-To: <87lkz8bdf2.fsf@jurta.org> Original-To: Juri Linkov X-Mailer: Apple Mail (2.746.2) 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:46741 Archived-At: On 28 Nov 2005, at 22:44, Juri Linkov wrote: >> >> (Recall what the OS X desktop looks like.) > > I see this is not possible on OS X. But then I wonder why do you make > more menu items disabled for non-visible frames in your patch, if on > OS X, where the menu bar always applies to the selected frame, > there is > no way to have a menu with disabled items? 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. 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.