GNU bug report logs - #43383
26.3; `toggle-menu-bar-mode-from-frame'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 13 Sep 2020 21:01:02 UTC

Severity: minor

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 43383 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Cc: 43383 <at> debbugs.gnu.org
Subject: RE: bug#43383: 26.3; `toggle-menu-bar-mode-from-frame'
Date: Mon, 14 Sep 2020 15:16:40 +0000 (UTC)
> > 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).





This bug report was last modified 3 years and 168 days ago.

Previous Next


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