* bug#11976: 24.1; menu-bar-mode toggle failure
@ 2012-07-18 15:09 Alan Heays
2012-07-19 8:08 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Alan Heays @ 2012-07-18 15:09 UTC (permalink / raw)
To: 11976
From: Alan Heays <aheays@yahoo.com>
To: bug-gnu-emacs@gnu.org
Subject: 24.1; menu-bar-mode toggle failure
Date: Wed, 18 Jul 2012 17:08:08 +0200
Message-ID: <39y5mh3y5j.fsf@hemus.strw.leidenuniv.nl>
--text follows this line--
Evaluating (menu-bar-mode nil) fails to remove menubar as it should.
Running interactive command menu-bar-mode toggles the menubar as
expected.
Evaluating (menu-bar-mode t) causes the menu bar to appear, as expected.
In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2012-07-13 on hemus
Windowing system distributor `Fedora Project', version 11.0.11104000
Configured using:
`configure '--prefix=/home/heays/.local''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.utf8
value of $XMODIFIERS: @im=none
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x m e n u - <backspace> <backspace> <backspace> <backspace>
<backspace> C-g C-M-a ( <backspace> M-x e v a l - e
x <tab> <return> ( m e n u - b a r - m o d e SPC h
n i <backspace> <backspace> <backspace> n i l ) <return>
<M-tab> <help-echo> <help-echo> C-a M-x m e n u = b
a r = <backspace> <backspace> <backspace> <backspace>
<backspace> - v a r - m <backspace> <backspace> <backspace>
<backspace> <backspace> b a r - m o d e <return> C-M-a
M-: ( m e n u - b a r - m o d e ) <return> M-: C-p
M-p <return> <M-tab> <M-tab> M-x r e p o r t <tab>
<return>
Recent messages:
t
You can run the command `eval-expression' with M-:
Making completion list...
Menu-Bar mode disabled
Menu-bar mode disabled. Use M-x menu-bar-mode to make the menu bar appear.
Mark set
t
byte-code: Beginning of buffer
t
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils cus-start cus-load help-mode easymenu view
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dynamic-setting font-render-setting x-toolkit x
multi-tty emacs)
--
Alan Heays
aheays@yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#11976: 24.1; menu-bar-mode toggle failure
2012-07-18 15:09 bug#11976: 24.1; menu-bar-mode toggle failure Alan Heays
@ 2012-07-19 8:08 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2012-07-19 8:08 UTC (permalink / raw)
To: Alan Heays; +Cc: 11976-done
tags 11976 notabug
thanks
> Evaluating (menu-bar-mode nil) fails to remove menubar as it should.
Check the NEWS file: a nil argument to minor-modes like menu-bar-mode
now means "turn it on" rather than "toggle". I.e. if you want to turn
it off, pass it -1.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-19 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-18 15:09 bug#11976: 24.1; menu-bar-mode toggle failure Alan Heays
2012-07-19 8:08 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).