unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Joseph Brenner <doom@kzsu.stanford.edu>
Cc: 6037@debbugs.gnu.org
Subject: bug#6037: 24.0.50; menu-bar-mode function doesn't toggle
Date: Wed, 21 Sep 2011 21:37:51 +0200	[thread overview]
Message-ID: <m3aa9x1yb4.fsf@stories.gnus.org> (raw)
In-Reply-To: <87r5m2vf28.fsf@kzsu.stanford.edu> (Joseph Brenner's message of "Mon, 26 Apr 2010 00:38:39 -0700")

Joseph Brenner <doom@kzsu.stanford.edu> writes:

> 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.

This seems to be intended behaviour and isn't a bug, so I'm closing this
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





      parent reply	other threads:[~2011-09-21 19:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26  7:38 bug#6037: 24.0.50; menu-bar-mode function doesn't toggle Joseph Brenner
2010-04-26 13:42 ` Stefan Monnier
2010-04-26 14:13   ` Lennart Borgman
2010-04-26 17:38     ` Stefan Monnier
2010-04-26 17:41   ` Joe Brenner
2010-04-27  3:05     ` Stefan Monnier
2010-04-27  6:38       ` Joe Brenner
2010-04-27 13:42         ` Stefan Monnier
2010-04-27 15:27           ` Drew Adams
2010-04-28  5:42           ` Kevin Rodgers
2010-04-28 14:43             ` Stefan Monnier
2011-09-21 19:37 ` Lars Magne Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3aa9x1yb4.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=6037@debbugs.gnu.org \
    --cc=doom@kzsu.stanford.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).