From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#52874: 26.3; Be able to keep current menu-bar menus when minibuffer is used Date: Wed, 29 Dec 2021 22:22:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5441"; mail-complaints-to="usenet@ciao.gmane.io" To: Drew Adams , "52874@debbugs.gnu.org" <52874@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 29 23:23: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 1n2hLj-0001At-5c for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 23:23:11 +0100 Original-Received: from localhost ([::1]:60722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2hLh-0006Cf-De for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 17:23:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2hLa-0006CO-1J for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 17:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2hLZ-0007eB-OS for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 17:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2hLZ-0006ve-It for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 17:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Dec 2021 22:23: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.164081653226553 (code B ref 52874); Wed, 29 Dec 2021 22:23:01 +0000 Original-Received: (at 52874) by debbugs.gnu.org; 29 Dec 2021 22:22:12 +0000 Original-Received: from localhost ([127.0.0.1]:50574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2hKm-0006uC-Fs for submit@debbugs.gnu.org; Wed, 29 Dec 2021 17:22:12 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:48184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2hKj-0006u3-I6 for 52874@debbugs.gnu.org; Wed, 29 Dec 2021 17:22:10 -0500 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1BTLgMXJ011729 for <52874@debbugs.gnu.org>; Wed, 29 Dec 2021 22:22:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=UoMHn4/bwfCscK9JNTY7SyHI08xCwTd69BsfqR690nk=; b=LqTt6qWetaBwK97Dp1nR6eQrHJncA27HZyrryEGzJz7gQ0+HckBDNvMnqPziTjjN2eJG r/+sIr58jsYXWPRRZ4l6Ve8wPRbmao3NdwzTzm8YZ84Fpua1JNdoxLkiHQWYy7uqJGg+ mMfd4FmdOe2JpzAB13ChHjqUMEOkxWHe/4FYjos3pEqR0XPK6txPcaGnmxcJwRkT6MTn sGDGJXHM9txVcKK+TmLAIPH4nALcSnnDH8yITrOmcSpwpJ1m8ydlGkvqRjV0CAyTIm4f zwuwd4J2+n4Ron9ldmTDJAPZUI7W69J9ST1VVc6c8PH2L0BnNuxyGvxIIyrYHX/IUaNB Ew== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 3d7gtmkr8t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <52874@debbugs.gnu.org>; Wed, 29 Dec 2021 22:22:08 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1BTMFPpi033557 for <52874@debbugs.gnu.org>; Wed, 29 Dec 2021 22:22:07 GMT Original-Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2105.outbound.protection.outlook.com [104.47.55.105]) by userp3030.oracle.com with ESMTP id 3d5rdyddt1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <52874@debbugs.gnu.org>; Wed, 29 Dec 2021 22:22:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YwACXGXlaL91t2OkRfaqVFhutHtltu4zO21001J+lfWF8A9zWhEkojzDjtRh5nbTnhifeuJByexYFGUbu1BmrlYOlPPBa6Tx5uZ+ThHXdRgCpv8QVvBoZIcCHQxClG6ZbSL0oKIsSJaVRQQMAGyTGqz67ulAPbPvu/XKx3riagqMcOP5IOvWX/gvq+Nq8C4Xz43AOE6dwpwgLIq+lr2ZFWZXZT9aefQFw4iwGdHcVQ1XxgA3TgoOAK4mrtzRhMIo3mNmMeIxh9pNBqKThSjp/lMdh2g9Rv6l7rbfaYlEE/nBkVKcSmxcSlgWbRgQ1KjOY3yh2ID/ya1q7deslt9BBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UoMHn4/bwfCscK9JNTY7SyHI08xCwTd69BsfqR690nk=; b=lnPJkkMcZlEBrmvtHOCmpXFeOohW29vcLqvUQzrS5fD5gGfnUgu66s/gunIHXVeulhfIivNbLoD9ex9WzU4w5io77RLcTsrSrU/0q6DJ19s4EvxT+5J90uBK/VfT5w+cy9rezhTMuei9ePwygkZVKWmX01XIvAjNZrkB1oVdUxWDNhgOZ8+ZgVn8uzTmm4e+kjE7gkOWuNozqqK/Ckmpjs25Ee+69yg5d7AAvpk3t08mKOZgubiaOSQ7Bqz+gC8Y6hcgsmX7GZH7rbsz3USg7YI39/9O7kh7nMehPGLOxGvZ8syNUls+ybaJ+wCypaDxM38FYVOTUt/a+GXZrXS7Vw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UoMHn4/bwfCscK9JNTY7SyHI08xCwTd69BsfqR690nk=; b=d5rIh9zc6p4z6n9XuqWn6LXO6EmKIoSm/8sWV755lD+amnfq+gLeBtienQayRprNd65i1PoKex4hdmViNyp6/w/00+sfXVYPnDivt6VEerOkgJ5AO99aoqWqN068zVd6A6jfBcLIPy9iXWpDRk4BYxsRv0OKRGww0t849Mz3wmI= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BYAPR10MB2488.namprd10.prod.outlook.com (2603:10b6:a02:b9::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.19; Wed, 29 Dec 2021 22:22:02 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%7]) with mapi id 15.20.4844.014; Wed, 29 Dec 2021 22:22:02 +0000 Thread-Topic: 26.3; Be able to keep current menu-bar menus when minibuffer is used Thread-Index: Adf80heJSZWfr36aRnq65sd9kLn5RQALzBIA In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 89585a27-fd70-4026-1650-08d9cb19a363 x-ms-traffictypediagnostic: BYAPR10MB2488:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nlfmRciamL53kPFQfXPElhHMuZaRdzIo6beJRx70tgsj6YDmVpgo2b9ZvP5FznbCiz3rXL5VX6Haz4F5zziFgDy/tBgqz7NQs8eHrIPhdpVJzlZ+pMGd1/a9EPTTiwzFMvD3ZZ49quUN14EPvJvJuG55BV0Y0iRMeT3+ZSOfG4rYHa1Zt0XEus4qK63jQsIO4xe6h71E+fwX3LlU6TqqNxpW1GHDP4+ZDB9KH8Xky3x/G2ABWOrLC+xD6zY/XyrjrsGYt0ti0QanyP06bqpQU2Ibjh23PZYNKcRK4wOj2rH3arPenW9MgjT4NMxwPzrbGNThjTVYXMMJo5vIQskQQhaImo/ynjY+iwdt4uXlWT89HxZC2RepWa27MhuOt9iyp8KXy2Go46pyxvHJvUm0Nm/iGaeHqeWSNWc9HL5P3E/IKF78jnq2SLUgbn2DIxXT9BNqJQAy20AiXQgjRU1WKqI8e4TC5zqZb5jTNx1HQYmUh1UcU4qp+5y183qIm8PNvFqfkdigpzFwmTTWNy5BRRRsO/veVwYRHI3UC4i6ZnQ69lheWrdzBajM2qBJpgCw5vD+kmxRP+pr9x+7xwrWjSM3wPheFh02GNjC6Ri2pW0JmccWoBAI2Ln0+32BOX0lbKPl+8qlF6hKfFLJ8NDz2p9m5/8iEBqZlrVjmlA+ZsCJYZNZbozKIlCw3KLu0SvKvAIsgEX98GIv7B+jVgDhvA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(316002)(2906002)(26005)(122000001)(110136005)(86362001)(38100700002)(508600001)(83380400001)(52536014)(76116006)(66946007)(8936002)(5660300002)(7696005)(33656002)(66556008)(66476007)(71200400001)(55016003)(186003)(9686003)(6506007)(38070700005)(2940100002)(44832011)(8676002)(64756008)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: n86INqD6RthZD2bLYCNOto4s0G3mGhchRrqpoDbbxSKu5DGFBGdlwkZdAzciKLMdhjtJkBDTV1pIlvFcvNEOa5hHOVDNRPLxAHLlwb41f7utRbdWgL9AETjpnAiSZPgZ9s+d2iq4X74IzpB5rc5CLrUFJ5N8ZALjdS8EsGMrXlJB71Vx9zczbHDdgsqEM2UvuhCbROuhyz8F4AxDr0m2HmdWNtaFGr4y/+zTJcktbGMC7QYtJsxdEh+tGkXWIT3dMtcMmeFquT4In97TUPePkBiBpfPazTSiq7AdedZYqWwNgMcJXaJG2chE/opEr0vNH4MLNuQCkpWba8r3Ca5A1tjqtITqcIUpjxxpTbObkl6Mhu+S+2moZU02zwLZRnh5ZwsYkFdDzNPV8MVMjwF/88MhQczOrF1rojPyBPO5ZF18wSWD5/l9A9QJgr0/Zs1+14xjQBo85ao4Z9jvU6JbZTHPCFC03P4Puy1TmNQeOqr4ynvuWfzxyzM9PjQUaKHzxc/H1uadwPxLCMjTE5AlAQ2UvhSQZaDnaG5pL+XqDdhjdC731d3MwmRmBLFK7AXvRRcMKVK0WAJ4XXAQ8KTwGn+hQW7y1CaqF+YMc2cJsaxWCJyzACZaw05oQq2Dl4Xmprj7XuWZe6ZzFTLR2ogWZ0VQk9MaXCzs2l/Oj14i/Sut3fcrmi3Z0BX3pV8jbtd8i+N5fcVIcZb9SZXwiakEXgxILuxnvgLk+/PUikIuBvjB3FbLzoNrZ4XU0d 6r2kuUfqR6jd0c2hq2qEBdBVZmRLRiCm/d2qx3Hccg++MunSoO/kS/MJqFrbyiC5zc5eftX0STF9t9Lx1FTJpxvS8JsKjTNrIZ X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89585a27-fd70-4026-1650-08d9cb19a363 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Dec 2021 22:22:02.4186 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lg+13pPGerltnh8VtP0/V3c+/bQy65NTD5SOlELU8ZFVYCzJrBXW50nDGtRfMAQeynZZnbJdRPPBZIpVCnp71Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2488 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10212 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=749 malwarescore=0 mlxscore=0 adultscore=0 spamscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112290118 X-Proofpoint-GUID: TKjviChvZmBB5PdGVVsZQA3jk0t0_8aN X-Proofpoint-ORIG-GUID: TKjviChvZmBB5PdGVVsZQA3jk0t0_8aN 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:223390 Archived-At: 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.