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: Mon, 28 Nov 2005 00:21:58 +0000 Message-ID: <36F6CF11-E742-4175-A995-E5A62EC2A335@gmail.com> References: <708F3D2D-A87C-4F80-BC27-171D82653F4D@gmail.com> <069BF3EB-C5E4-4042-91E9-0DFB37C58E99@gmail.com> 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 1133137458 31505 80.91.229.2 (28 Nov 2005 00:24:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 00:24:18 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 01:24:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgWn9-0002AU-Uw for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2005 01:22:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgWn8-0008Bh-UT for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2005 19:22:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgWmS-0008Ak-Ae for emacs-devel@gnu.org; Sun, 27 Nov 2005 19:22:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgWmP-00089j-H0 for emacs-devel@gnu.org; Sun, 27 Nov 2005 19:22:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgWmP-00089f-6u for emacs-devel@gnu.org; Sun, 27 Nov 2005 19:22:01 -0500 Original-Received: from [64.233.184.194] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EgWmP-0001Ys-4m for emacs-devel@gnu.org; Sun, 27 Nov 2005 19:22:01 -0500 Original-Received: by wproxy.gmail.com with SMTP id i34so1491320wra for ; Sun, 27 Nov 2005 16:22:00 -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=qaweVzZZe96KwTyuuad+XaUCGUx+bGfpkVEvKAchbogoyqcabL9b6yawyY3sDjxDfJe/4gp7kiRhA/ZgFC/A1WdjhbYc35ao/Pw60Gf76LsFT42tOH6EuT5A0jspjW49Qp/OF70vZ0kUGZYqREcj/CXleLqNu8O7nvk+aHWrQ5Q= Original-Received: by 10.65.61.11 with SMTP id o11mr3736365qbk; Sun, 27 Nov 2005 16:22:00 -0800 (PST) Original-Received: from ?10.0.0.34? ( [82.13.47.113]) by mx.gmail.com with ESMTP id e10sm2638563qbe.2005.11.27.16.21.58; Sun, 27 Nov 2005 16:21:59 -0800 (PST) In-Reply-To: Original-To: Eli Zaretskii 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:46672 Archived-At: On 12 Nov 2005, at 07:11, Eli Zaretskii wrote: >> From: "Richard M. Stallman" >> Date: Fri, 11 Nov 2005 22:38:16 -0500 >> Cc: emacs-devel@gnu.org >> >> The patch seems ok to me. Please install it. > > No, please DON'T!! We currently don't have a good way of checking > whether the menu's frame is visible. The code used by David to do > that does not work in non-toolkit builds of Emacs (see another thread > where Juri about this), so installing it will disable many important > menu items in non-toolkit X builds. > > I suggest to wait with the patch until that other problem is resolved. Do you know if this problem (with menu-bar-menu-frame-live-and- visible-p I presume) has been solved now? (I couldn't find the other thread.) I didn't bother writing a workaround for this issue because I thought the original bug would be fixed sooner or later.