Subject: bug#11976: closed (Re: bug#11976: 24.1; menu-bar-mode toggle failure)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 19 Jul 2012 08:15:02 +0000

Your bug report

#11976: 24.1; menu-bar-mode toggle failure

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
11976: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11976
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#11976: 24.1; menu-bar-mode toggle failure
From: Stefan Monnier <[email-masked]>
To: Alan Heays <[email-masked]>
Cc: [email-masked]
Date: Thu, 19 Jul 2012 04:08:04 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: 24.1; menu-bar-mode toggle failure
From: Alan Heays <[email-masked]>
To: [email-masked]
Date: Wed, 18 Jul 2012 17:09:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Alan Heays <[email-masked]>
To: [email-masked]
Subject: 24.1; menu-bar-mode toggle failure
Date: Wed, 18 Jul 2012 17:08:08 +0200
Message-ID: <[email-masked]>
--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
[email-masked]