all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs devel <emacs-devel@gnu.org>
Subject: Disable menubar broken, question about change
Date: Wed, 26 Feb 2003 20:44:36 +0100	[thread overview]
Message-ID: <3E5D1924.1070801@swipnet.se> (raw)

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  <abraham@dina.kvl.dk>

         * 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 <abraham@dina.kvl.dk> 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.

             reply	other threads:[~2003-02-26 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 19:44 Jan D. [this message]
2003-02-27 22:30 ` Disable menubar broken, question about change Richard Stallman
2003-03-01 15:57   ` Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E5D1924.1070801@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.