unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 43383@debbugs.gnu.org
Subject: bug#43383: 26.3; `toggle-menu-bar-mode-from-frame'
Date: Mon, 14 Sep 2020 15:16:40 +0000 (UTC)	[thread overview]
Message-ID: <2577f0a1-5380-48dd-8327-f813d5693058@default> (raw)
In-Reply-To: <<838sdcbes6.fsf@gnu.org>>

> > What is this command - what's its use case?
> 
> If you set the menu-bar-lines parameter of a frame to zero, but don't
> turn off menu-bar-mode, the menu bar will not be displayed.  In that
> situation, "M-x menu-bar-mode RET" will do the exact opposite of what
> you want, whereas this command, when invoked from the menu popped up
> by C-mouse-3, will do what you expect.  That's the use case.

Thanks for the explanation.

So its use is only when the menu-bar is not
shown.  The doc string should probably at least
point that out.

And perhaps it can be shown only by C-mouse-3,
and only when the menu-bar is not shown (in
the clicked frame).

And maybe use the command I mentioned instead,
either from the keyboard or from C-mouse-3.
Or when the menu-bar is shown, from there too.
It just toggles the menu-bar for the selected
frame (or the FRAME arg).






       reply	other threads:[~2020-09-14 15:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<7f20fd70-b8f0-490d-a3f8-36a7554c6ccd@default>
     [not found] ` <<838sdcbes6.fsf@gnu.org>
2020-09-14 15:16   ` Drew Adams [this message]
2020-09-13 20:58 bug#43383: 26.3; `toggle-menu-bar-mode-from-frame' Drew Adams
2020-09-13 23:30 ` Lars Ingebrigtsen
2020-09-14  0:00   ` Drew Adams
2020-09-14 14:50   ` Eli Zaretskii
2020-09-14 14:51     ` Lars Ingebrigtsen
2020-09-16 16:19       ` Eli Zaretskii
2022-01-31 17:29         ` Lars Ingebrigtsen
     [not found]   ` <<834ko0beet.fsf@gnu.org>
     [not found]     ` <<877dsw8l81.fsf@gnus.org>
     [not found]       ` <<83ft7h7kym.fsf@gnu.org>
2020-09-16 17:09         ` Drew Adams
2020-09-14 14:42 ` Eli Zaretskii

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=2577f0a1-5380-48dd-8327-f813d5693058@default \
    --to=drew.adams@oracle.com \
    --cc=43383@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).