From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Disable menubar broken, question about change Date: Wed, 26 Feb 2003 20:44:36 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3E5D1924.1070801@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1046288803 19477 80.91.224.249 (26 Feb 2003 19:46:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2003 19:46:43 +0000 (UTC) Cc: emacs devel Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18o7Vp-00053u-00 for ; Wed, 26 Feb 2003 20:46:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18o7mO-0002xa-00 for ; Wed, 26 Feb 2003 21:03:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18o7Uv-0002vB-0D for emacs-devel@quimby.gnus.org; Wed, 26 Feb 2003 14:45:45 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18o7UW-0002gp-00 for emacs-devel@gnu.org; Wed, 26 Feb 2003 14:45:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18o7UK-0002JG-00 for emacs-devel@gnu.org; Wed, 26 Feb 2003 14:45:09 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18o7Tu-0001mC-00 for emacs-devel@gnu.org; Wed, 26 Feb 2003 14:44:42 -0500 Original-Received: from swipnet.se (accessno42.bodenonline.com [193.201.16.44]) h1QKbvgq004065; Wed, 26 Feb 2003 21:37:57 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en Original-To: abraham@dina.kvl.dk X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11986 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11986 Hello. Hello. I noticed that disabling the menu bar with % emacs -xrm 'Emacs.menuBar: 0' (or the same thing in .Xdefaults) doesn't work anymore. The change of the default value for menu-bar-mode to t in menu-bar.el is what stopped this working. (defcustom menu-bar-mode t "Toggle display of a menu bar on each frame. Setting this variable directly does not take effect; 2002-02-19 Per Abrahamsen * facemenu.el (describe-text-mode-map): Removed bootstrap kludge. * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t. * menu-bar.el (menu-bar-mode): Ditto. I don't know the correct fix for this, presumably the change was to fix something else? The setting of tool-bar-mode is done quite different, so -xrm 'Emacs.toolBar: 0' works: ;; We want to pretend the toolbar by standard is on, as this will make ;; customize consider disabling the toolbar a customization, and save ;; that. We could do this for real by setting :init-value above, but ;; that would turn on the toolbar in MS Windows where it is currently ;; useless, and it would overwrite disabling the tool bar from X ;; resources. If anyone want to implement this in a cleaner way, ;; please do so. ;; -- Per Abrahamsen 2002-02-21. (put 'tool-bar-mode 'standard-value '(t)) Is the proper change to do the same for menu-bar-mode as for tool-bar-mode or is it to set the default for menu-bar-mode back to nil? Thanks, Jan D.