From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52874: [External] : Re: bug#52874: 26.3; Be able to keep current menu-bar menus when minibuffer is used Date: Thu, 30 Dec 2021 18:42:18 +0200 Message-ID: <838rw2hwnp.fsf@gnu.org> References: <8335mak53n.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28181"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52874@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 30 17:43:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2yWD-000742-91 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Dec 2021 17:43:09 +0100 Original-Received: from localhost ([::1]:42616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2yWB-0007Kf-OZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Dec 2021 11:43:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2yW6-0007KS-1o for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 11:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2yW5-0004qY-Oy for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 11:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2yW5-0008Hk-I4 for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 11:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Dec 2021 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52874 X-GNU-PR-Package: emacs Original-Received: via spool by 52874-submit@debbugs.gnu.org id=B52874.164088254231740 (code B ref 52874); Thu, 30 Dec 2021 16:43:01 +0000 Original-Received: (at 52874) by debbugs.gnu.org; 30 Dec 2021 16:42:22 +0000 Original-Received: from localhost ([127.0.0.1]:54288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2yVS-0008Fs-7A for submit@debbugs.gnu.org; Thu, 30 Dec 2021 11:42:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2yVQ-0008FI-D9 for 52874@debbugs.gnu.org; Thu, 30 Dec 2021 11:42:20 -0500 Original-Received: from [2001:470:142:3::e] (port=48076 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2yVK-0004mk-RZ; Thu, 30 Dec 2021 11:42:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GEsmUJJ9qXLtF8iSP+fTux3vOOnnrlPxkVn1zJFmzJc=; b=QKaVr0MImx3W Ka2ZK9qTBh6rza+qPpHPL118JJltw14VqQwQTz2eiFV9ZW6TGXehLHFZCQMafb4FOr6T2fqJAFsbv 1777w7q7SP11Ls2DMInYDcPu4QSlqkgmTxjW7TpR/AD1k/chZ2ho9cZjafkV2Yz501VzYN0m2LuTX wdEZXdseM6EyS4Ho6Ska/IAAl7tcmyswf1CeuZv0kGjZ1aJdwIj/MPDl1mR+GTm2y43dbn3udNext EPWUXE1ctgc2ujdDzStSW5uZveDzP9+Cy+lxv6BbcjUouPdGsss0k3fRawIg+jP7IGiyGFwICvOAw SHzU2Af6mcBVtdapuBJ+eQ==; Original-Received: from [87.69.77.57] (port=2043 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2yVK-00037F-8e; Thu, 30 Dec 2021 11:42:15 -0500 In-Reply-To: (message from Drew Adams on Thu, 30 Dec 2021 15:43:20 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223431 Archived-At: > From: Drew Adams > CC: "52874@debbugs.gnu.org" <52874@debbugs.gnu.org> > Date: Thu, 30 Dec 2021 15:43:20 +0000 > > > I still don't understand what kind of problem this causes. In your > > Dired example, the Dired-specific menu items are not useful in the > > minibuffer; in fact, using those menu items could get the user in > > trouble (recursive minibuffers and all that). > > Please see the original bug report. I've seen it. > They _are_ useful for a command that uses the > minibuffer to browse and use the menu-bar menus. Then that particular command can add the menu items it wants back. There's no need to change how Emacs works because one specific command wants it to work differently. > > On the practical side, adding menu items could easily overflow the > > one screen line allocated to the menu bar, after which the behavior > > becomes ugly and toolkit-dependent. > > That's a general problem. It's not particular > to this context. You are arguing for a general solution, so I'm pointing out a general problem with that. > And the only menu added is Minibuf. Not in general. Ever major and minor mode can add something to the menu bar's top-level menus. > And if you really think that's a problem then > the ability to keep the menu-bar as it was when > the minibuffer is entered could forego adding > menu Minibuf to the menu-bar. Not a problem. There's nothing special with the behavior when you enter the minibuffer. It is just a consequence of changing the major mode.