[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43383: 26.3; `toggle-menu-bar-mode-from-frame'
From: |
Drew Adams |
Subject: |
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).
bug#43383: 26.3; `toggle-menu-bar-mode-from-frame', Eli Zaretskii, 2020/09/14
- bug#43383: 26.3; `toggle-menu-bar-mode-from-frame',
Drew Adams <=