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:01:22 +0200 Organization: JURTA Message-ID: <878xv7sv65.fsf@jurta.org> References: <708F3D2D-A87C-4F80-BC27-171D82653F4D@gmail.com> <8764qcvqfs.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133269225 8315 80.91.229.2 (29 Nov 2005 13:00:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2005 13:00:25 +0000 (UTC) Cc: david.reitter@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 14:00:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eh1Zm-0000V3-Sx for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 10:15:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh1Zl-00063E-MW for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 04:15:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eh1We-00059B-0E 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-00058G-MM 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 1Eh1Wb-000586-B0 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-0004g2-1u; 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 B50E31FBA; Tue, 29 Nov 2005 11:11:59 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Mon, 28 Nov 2005 22:10:53 -0500") 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:46758 Archived-At: > Instead of disabling some menu items one by one, wouldn't it be better > to disable all menu items if the frame attached to the menu is not visible. > Operating on non-visible frames from the visible menu is not only confusing, > but might be dangerous. > > That is right in general, but there might be some specific things, > such as finding a file, that are safe even when the frame is not > visible. Wouldn't it be easier to enable some safe menu items in the completely disabled menu, than to disable dangerous/inappropriate menu items in the menu where all menu items are enabled by default. > Especially if that command will make the frame appear. I think this is an essential requirement. Currently a command called from the menu doesn't make the frame appear. -- Juri Linkov http://www.jurta.org/emacs/