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: 26.3; Be able to keep current menu-bar menus when minibuffer is used Date: Thu, 30 Dec 2021 07:57:00 +0200 Message-ID: <8335mak53n.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6173"; 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 06:58:12 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 1n2oS4-0001RG-Hh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Dec 2021 06:58:12 +0100 Original-Received: from localhost ([::1]:50194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2oS3-0006Gb-6B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Dec 2021 00:58:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2oRu-0006GS-Lu for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 00:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2oRu-0004uc-9s for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 00:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2oRu-0003Gl-29 for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 00:58:02 -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 05:58:02 +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.164084382312483 (code B ref 52874); Thu, 30 Dec 2021 05:58:02 +0000 Original-Received: (at 52874) by debbugs.gnu.org; 30 Dec 2021 05:57:03 +0000 Original-Received: from localhost ([127.0.0.1]:50899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2oQx-0003FH-EU for submit@debbugs.gnu.org; Thu, 30 Dec 2021 00:57:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2oQv-0003Ej-EZ for 52874@debbugs.gnu.org; Thu, 30 Dec 2021 00:57:02 -0500 Original-Received: from [2001:470:142:3::e] (port=34972 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 1n2oQp-0004pw-Tb; Thu, 30 Dec 2021 00:56:55 -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=+5IGPNQn9A90nqriPZN4X7oP1em24KY5SrEV5orUrMI=; b=DLB7VTQaYsDb M4sxptG2EyYgeYv3Y8+FjG/Cg2ROWcvEeX96YcGlQrgMN64Nw3aU1IiThIB0t5bjh631VyDv6YgQN u9X2V9Tg7j56+S5i/WxDTQt+x2KB1LMOulyS6oJ/id4o+440GnbDpJ1Vy1lV8HwDyzx6b17sGPwwu 0Qz4d85CkV/oQbBASvg1obVbu9EtDBh5lzTHH1lkUzvapC5zTaj0g4qFWaXAo+/YbI9kUvkjxKw4T xNJ+dfM/kD/0Uqtgo5rrqgQrtxYC0DZx2bpjq+W9YTlcUXwra4TbZBUbT0MFEvCVr2+KmZvytsewA DE2ytuFPl5XC8ecX0HrFFg==; Original-Received: from [87.69.77.57] (port=1854 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 1n2oQp-0004Vp-Se; Thu, 30 Dec 2021 00:56:56 -0500 In-Reply-To: (message from Drew Adams on Wed, 29 Dec 2021 22:22:02 +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:223412 Archived-At: > From: Drew Adams > 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. It _is_ added, after removing the parts that were specific to the mode of the original buffer. The "constant" parts of the menu bar are kept. 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). 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. So I think you suggestion, if accepted, would be a step in the wrong direction.