GNU bug report logs -
#12405
24.2.50; doc of `menu-bar-mode' is incorrect
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Mon, 10 Sep 2012 16:22:01 UTC
Severity: minor
Found in version 24.2.50
Done: "Drew Adams" <drew.adams <at> oracle.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12405 in the body.
You can then email your comments to 12405 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12405
; Package
emacs
.
(Mon, 10 Sep 2012 16:22:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 10 Sep 2012 16:22:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The doc string says this:
"If called from Lisp, enable Menu Bar mode if ARG is omitted or nil."
That means that when called from Lisp (menu-bar-mode nil) and (menu-bar-mode)
should turn OFF the mode. But they turn it ON instead.
The code for `menu-bar-mode' has this, which for ARG = nil sets
`menu-bar-mode' to t:
(setq menu-bar-mode
(if (eq arg 'toggle)
(not menu-bar-mode)
(> (prefix-numeric-value arg) 0)))
(prefix-numeric-arg nil) = 1, which is > 0.
This bug is present also in release Emacs 24.1. I haven't checked older
releases.
In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
of 2012-09-02 on MARVIN
Bzr revision: 109861 eggert <at> cs.ucla.edu-20120902171035-7mzihil3xd6bjfiy
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.6) --no-opt --enable-checking --cflags
-ID:/devel/emacs/libs/libXpm-3.5.8/include
-ID:/devel/emacs/libs/libXpm-3.5.8/src
-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
-ID:/devel/emacs/libs/giflib-4.1.4-1/include
-ID:/devel/emacs/libs/jpeg-6b-4/include
-ID:/devel/emacs/libs/tiff-3.8.2-1/include
-ID:/devel/emacs/libs/gnutls-3.0.9/include
-ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
-ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12405
; Package
emacs
.
(Mon, 10 Sep 2012 16:27:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 12405 <at> debbugs.gnu.org (full text, mbox):
My bad. I'll close this.
bug closed, send any further explanations to
12405 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
"Drew Adams" <drew.adams <at> oracle.com>
to
control <at> debbugs.gnu.org
.
(Mon, 10 Sep 2012 16:29:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 09 Oct 2012 11:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.