From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: menu-bar: disable items when no frame visible Date: Fri, 11 Nov 2005 10:33:50 +0200 Message-ID: References: <708F3D2D-A87C-4F80-BC27-171D82653F4D@gmail.com> <0E0F66C8-DC13-469A-8725-2896CB60AF65@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1131698135 1858 80.91.229.2 (11 Nov 2005 08:35:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2005 08:35:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 11 09:35:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EaUMO-0001x1-Fm for ged-emacs-devel@m.gmane.org; Fri, 11 Nov 2005 09:34:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaUMN-0004Yy-P9 for ged-emacs-devel@m.gmane.org; Fri, 11 Nov 2005 03:34:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EaUM3-0004Wd-HH for emacs-devel@gnu.org; Fri, 11 Nov 2005 03:33:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EaUM1-0004Ut-QK for emacs-devel@gnu.org; Fri, 11 Nov 2005 03:33:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaUM1-0004Un-NX for emacs-devel@gnu.org; Fri, 11 Nov 2005 03:33:49 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EaUM1-0008UU-ML for emacs-devel@gnu.org; Fri, 11 Nov 2005 03:33:49 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-52-187.inter.net.il [80.230.52.187]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BXU09615 (AUTH halo1); Fri, 11 Nov 2005 10:33:47 +0200 (IST) Original-To: David Reitter In-reply-to: <0E0F66C8-DC13-469A-8725-2896CB60AF65@gmail.com> (message from David Reitter on Thu, 10 Nov 2005 19:39:08 +0000) 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:45730 Archived-At: > Cc: emacs-devel@gnu.org > From: David Reitter > Date: Thu, 10 Nov 2005 19:39:08 +0000 > > Menus are not always inside frames. On my machine, they're on top and > perfectly accessible when there is no window... Really? What OS and windows manager is that, and what toolkit was used to build Emacs? > I think we already have a few frame-live-p/frame-visible-p checks in > menu-bar, they're just not very complete. Those checks are for completely different situations. For example, if there's only one frame, the "Delete Frame" item in the File menu should be disabled. In your case, you wrote: > In a lot of cases, one could do "insert file" or choose stuff from > the "search" menu even if there were only iconified or hidden frames. What is wrong with this? If the Emacs menu bar is visible even if no frame is, why is it bad that the user can insert a file? Also, if one clicks on the menu, on the system such as yours, shouldn't one of the Emacs frame be automatically raised?