GNU bug report logs - #11976
24.1; menu-bar-mode toggle failure

Previous Next

Package: emacs;

Reported by: Alan Heays <aheays <at> yahoo.com>

Date: Wed, 18 Jul 2012 15:38:03 UTC

Severity: normal

Tags: notabug

Found in version 24.1

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Heays <aheays <at> yahoo.com>
Subject: bug#11976: closed (Re: bug#11976: 24.1; menu-bar-mode toggle failure)
Date: Thu, 19 Jul 2012 08:15:02 +0000
[Message part 1 (text/plain, inline)]
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 11976 <at> debbugs.gnu.org.

-- 
11976: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11976
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Alan Heays <aheays <at> yahoo.com>
Cc: 11976-done <at> debbugs.gnu.org
Subject: Re: bug#11976: 24.1; menu-bar-mode toggle failure
Date: Thu, 19 Jul 2012 04:08:04 -0400
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

[Message part 3 (message/rfc822, inline)]
From: Alan Heays <aheays <at> yahoo.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1; menu-bar-mode toggle failure
Date: Wed, 18 Jul 2012 17:09:44 +0200
From: Alan Heays <aheays <at> yahoo.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1; menu-bar-mode toggle failure
Date: Wed, 18 Jul 2012 17:08:08 +0200
Message-ID: <39y5mh3y5j.fsf <at> 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 <at> yahoo.com



This bug report was last modified 12 years and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.