Subject: bug#52874: 26.3; Be able to keep current menu-bar menus when minibuffer is used

From: Drew Adams <[email-masked]>
Date: Wed, 29 Dec 2021 22:22:02 +0000

I misstated this.  The problem is that when the
minibuffer is active, the menu-bar menus are no
longer those for what was the current buffer
before it was active.

The problem is not the _addition_ of a Minibuf
menu to the menu-bar.  The problem is that the
menu-bar menus are changed to be those for the
new current buffer, which is the minibuffer.

It should be enough that menu Minibuf is added,
and so available.  There's little sense in
changing the other menus to those for a
relatively plain  buffer such as the minibuffer.

Case in point -

In a Dired buffer you have these menus, in
addition to the standard File, Edit, Options,
Buffers, Tools, and Help:

 Operate
 Mark
 Regexp
 Immediate
 Subdir

Those are lost when the minibuffer is active.

In addition, the "standard" File etc. menus
can have different content depending on the
current mode.  Using the mode of the minibuffer
isn't helpful for the menu-bar, in general.

Or at least it sometimes isn't.  Hence the
request to _be able_ to keep the menu-bar as
it was before the minibuffer was entered.