From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joseph Brenner Newsgroups: gmane.emacs.bugs Subject: bug#6037: 24.0.50; menu-bar-mode function doesn't toggle Date: Mon, 26 Apr 2010 00:38:39 -0700 Message-ID: <87r5m2vf28.fsf@kzsu.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272281167 25675 80.91.229.12 (26 Apr 2010 11:26:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2010 11:26:07 +0000 (UTC) To: 6037@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 26 13:26:05 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O6MRw-00021X-KP for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Apr 2010 13:26:05 +0200 Original-Received: from localhost ([127.0.0.1]:36090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6MRv-0004Tw-Qd for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Apr 2010 07:26:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6MRX-0004MX-Gj for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 07:25:39 -0400 Original-Received: from [140.186.70.92] (port=53245 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6MRV-0004Le-MT for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 07:25:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6MRT-0002lC-MY for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 07:25:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42153) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6MRS-0002l5-Tc for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 07:25:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6MDO-0006Dq-E3; Mon, 26 Apr 2010 07:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Brenner Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Apr 2010 11:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6037 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127228023823886 (code B ref -1); Mon, 26 Apr 2010 11:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2010 11:10:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6MCx-0006DC-AC for submit@debbugs.gnu.org; Mon, 26 Apr 2010 07:10:36 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6JR0-0004lu-9J for submit@debbugs.gnu.org; Mon, 26 Apr 2010 04:12:55 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40602) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O6JQx-00013E-5I for submit@debbugs.gnu.org; Mon, 26 Apr 2010 04:12:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6JQw-0000ca-5N for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 04:12:50 -0400 Original-Received: from [140.186.70.92] (port=49860 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6JQt-0000cI-3v for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 04:12:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6JQr-0007UK-A3 for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 04:12:46 -0400 Original-Received: from m208-84.dsl.rawbw.com ([198.144.208.84]:42275 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6JQq-0007U7-GR for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 04:12:45 -0400 Original-Received: by localhost (Postfix, from userid 1000) id 8AB9D28047; Mon, 26 Apr 2010 00:38:39 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 26 Apr 2010 07:10:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Apr 2010 07:11:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36512 Archived-At: The menu-bar-mode function is not working as a toggle. Running this will turn on the menu bar, but running it again will not turn it off: (menu-bar-mode) This does work to turn it off: (menu-bar-mode -1) This turns it on, as documented: (menu-bar-mode 1) Note that running scroll-bar-mode repeatedly does work as a toggle, as expected for menu-bar-mode: (scroll-bar-mode) I used to use this code, and it *did* work as a toggle (possibly in error): (menu-bar-mode nil) I've verified this bug with when invoked with -Q. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of 2010-04-25 on fineline Windowing system distributor `The X.Org Foundation', version 11.0.10600000 configured using `configure '--prefix' '/usr/local/emacs/bzr-042510'' 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: global-semanticdb-minor-mode: t semantic-mode: t global-ede-mode: t shell-dirtrack-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-p M-f M-f M-f M-f M-b M-d - 1 C-x C-e C-e C-x C-e C-x C-e C-n M-b M-d - 1 C-e C-x C-e C-x C-e C-p C-n C-n C-n C-n M-f M-b M-d - n i l C-x C-s C-a C-n C-l C-p C-p C-p C-l C-n C-n C-p C-p M-f M-f M-f M-f M-b M-d - 1 C-f C-x C-e C-a C-n C-x C-s C-p C-p C-l C-x 1 C-n C-k C-x C-o C-x C-s C-p C-p C-p C-p C-p C-p C-n M-f M-f M-f C-f C-k C-a C-n C-x C-s C-p C-p C-SPC C-n C-n C-n C-n C-n C-n C-n C-n C-n M-w C-p C-e C-x C-e C-p C-p C-p C-p C-e C-b C-n C-e C-b C-n C-n C-n C-x C-e C-p C-p C-p C-p M-b C-e C-b SPC - 1 C-e C-x C-e C-n C-n C-n C-n C-n C-p C-x C-e C-p C-p C-p C-p C-e SPC ; ; SPC T O D O S-SPC b u g : SPC w o n ' t SPC t o g g l e C-x C-s C-a C-k C-y C-x C-s C-n M-x e m a v c s SPC v e r SPC M-x b u g SPC e m SPC e m a SPC b u SPC b u g SPC SPC SPC C-g C-x C-g M-h i C-a C-n C-x b M-x a p r SPC b u g C-x o C-n C-s r e p o r t C-s C-s C-s C-s C-s C-a C-SPC C-e M-w C-x C-p M-x C-y Recent messages: Saving file /home/doom/lib/emacs/Dots/emacs-setup.el... Wrote /home/doom/lib/emacs/Dots/emacs-setup.el Mark set Saving file /home/doom/lib/emacs/Dots/emacs-setup.el... Wrote /home/doom/lib/emacs/Dots/emacs-setup.el GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of 2010-04-25 on fineline Making completion list... Quit Mark saved where search started Mark set Load-path shadows: /home/doom/End/Cave/DesktopAutosave/lib/emacs/desktop-recover-setup hides /home/doom/lib/emacs/Dots/desktop-recover-setup /home/doom/End/Cave/DiredExternalApps/lib/emacs/image-dired hides /home/doom/lib/emacs/image-dired /home/doom/End/Cave/DiredExternalApps/lib/emacs/dired-external-apps hides /home/doom/lib/emacs/dired-external-apps /home/doom/lib/emacs/Dots/setup-colors-dark hides /home/doom/lib/emacs/setup-colors-dark /home/doom/End/Cave/DiredExternalApps/lib/emacs/image-dired hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/image-dired /home/doom/lib/emacs/Dots/strokes hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/strokes /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-thread hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-thread /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-funcs hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-funcs /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-alias hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-alias /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-letter hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-letter /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-buffers hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-buffers /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-print hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-print /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-mime hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-mime /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-xface hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-xface /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-junk hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-junk /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-identity hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-identity /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-tool-bar hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-tool-bar /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-gnus hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-gnus /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-limit hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-limit /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-scan hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-scan /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-loaddefs hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-loaddefs /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-show hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-show /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-folder hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-folder /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-search hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-search /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-seq hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-seq /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-e hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-e /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-comp hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-comp /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-compat hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-compat /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-utils hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-utils /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-inc hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-inc /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-speed hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-speed /usr/local/emacs/cvs-040510/share/emacs/23.1.90/lisp/mh-e/mh-acros hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/mh-e/mh-acros /home/doom/lib/emacs/Dots/gnus-setup hides /usr/local/emacs/bzr-042510/share/emacs/24.0.50/lisp/gnus/gnus-setup Features: (shadow sort mail-extr message rfc822 mail-utils gmm-utils mailheader warnings emacsbug apropos pp help-mode view grep mule-util sql inversion semantic/db-file cedet-files semantic/bovine/c semantic/decorate/include semantic/db-find semantic/db-ref semantic/decorate/mode semantic/decorate pulse semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn nroff-mode ede/dired vc-git vc-bzr sha1 hex-util html-mode jsp-html-helper-mode asp-html-helper-mode php-html-helper-mode html-helper-mode tempo cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode sh-script executable info flymake compile vc-rcs multi-isearch thingatpt desktop desktop-recover desktop-recover-setup doom-fineline ansi-color registers-defined image-mode junk-dired junk-setup datestamps live-dangerously strokes macroman doom-filters find_and_replace doom-mh mh-comp sendmail mh-scan mh-gnus mml mml-sec mm-view smime password-cache dig mailcap mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr gnus-util mh-e mh-compat mailabbrev mh-acros mh-buffers mh-loaddefs mhe-setup fugly-keystroke-macros dired-imagery-doomery-keystroke-macros image-dired thinknow picture doomfile doomfiles-hacking-setup caving-setup w3m-load html-setup perlnow-x perlnow template perlnow-setup sepia sepia-cpan sepia-ido ido sepia-tree tree-widget sepia-w3m w3m-perldoc w3m browse-url timezone w3m-hist w3m-e22 w3m-ccl ccl w3m-fsf w3m-favicon w3m-image w3m-proc w3m-util gud easy-mmode cperl-mode sepia-setup semantic/db-mode semantic/db semantic/idle semantic/format semantic/tag-ls semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local ede/linux ede/emacs ede/cpp-root ede/speedbar ede/files ede ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe easymenu assoc eieio-custom wid-edit eieio cedet apache-dev perl-setup elisp-hacking-setup doom-print printer-setup shell-setup perlups derived byte-opt bytecomp byte-compile jka-compr find-func timeclock-x timeclock timeclock-setup shell comint ring dired-external-apps dired-setup save-to-registers basic-keymap-changes paracide redroot simple-color-change setup-colors-dark man-apropos edmacro kmacro zoom-frm frame-cmds frame-fns avoid zoom-frm-setup text-setup dired-x dired-aux dired regexp-opt paren uniquify advice help-fns advice-preload server time emacs-setup cl cl-19 load-path-setup 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 mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)