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: [External] : Re: bug#52874: 26.3; Be able to keep current menu-bar menus when minibuffer is used Date: Thu, 30 Dec 2021 20:37:51 +0000 Message-ID: References: <8335mak53n.fsf@gnu.org> <838rw2hwnp.fsf@gnu.org> <834k6qhsie.fsf@gnu.org> 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="23522"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "52874@debbugs.gnu.org" <52874@debbugs.gnu.org> To: Drew Adams , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 30 21:38:10 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 1n32Be-0005vO-3Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Dec 2021 21:38:10 +0100 Original-Received: from localhost ([::1]:35604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n32Bd-0007Aw-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Dec 2021 15:38:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n32BW-0007Ah-I3 for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 15:38:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n32BW-0004Ce-8j for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 15:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n32BW-0001hz-5v for bug-gnu-emacs@gnu.org; Thu, 30 Dec 2021 15:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Dec 2021 20:38: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.16408966796558 (code B ref 52874); Thu, 30 Dec 2021 20:38:02 +0000 Original-Received: (at 52874) by debbugs.gnu.org; 30 Dec 2021 20:37:59 +0000 Original-Received: from localhost ([127.0.0.1]:54570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n32BS-0001hi-UX for submit@debbugs.gnu.org; Thu, 30 Dec 2021 15:37:59 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:49842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n32BQ-0001hV-Fa for 52874@debbugs.gnu.org; Thu, 30 Dec 2021 15:37:57 -0500 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1BUJJ8ih019859; Thu, 30 Dec 2021 20:37:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=oULHOFRiFvpUTARdET9nc+Q44UMZ1FrhP0YZ5zkcjwg=; b=xGffK8+R++JPYZ3Z5lFefkNwhiFhuTZII5k/PekJbVh7AG1Cs2jEVJorkJ2tgQcZGDVg rqugvzqXuLkGAN/l5CFE3hElr+YnjsmfX8HDfZW5txn2I1Y6q+VELJXB5ih6ttIpSAYy yHrz60ZDouFVyAF89CzPABGDopJpHWf+c6lVdzIaE3/7VHOEuLLNenj2EG1UMG3mPQqY YIqHUnKKpO0Y8ejMF8b3C1Uio3SSkvj06geQnGAXD2ChWMOgt4KunycaSc2ZC2XAlnsP g+vjX6PDK8lcGC95o39cbOufNHhh65QO+Q3Zpvh4h2YH4FJI9H0oSAkwwyKtD/YMaqAi Bg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3d9fba0gd4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Dec 2021 20:37:55 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1BUKZPY8135617; Thu, 30 Dec 2021 20:37:54 GMT Original-Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam08lp2177.outbound.protection.outlook.com [104.47.73.177]) by aserp3020.oracle.com with ESMTP id 3d5u4659fw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Dec 2021 20:37:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i4I2B/8dEHesdIPVZGjsSyVoe4/EarOAdrly43uwfGDUxGmDO6MDkkiLxaum9KFApuyFerj/Co4G1/8ohdU0GUlP7AxFf174eUyDXNpNNnVACq9VIJMGi5Xl0Se/nLmu92B48Z61PtyoapPxlhjunwmRBg4bVDu5ySsIx4aaceI8gFOo+YqRy3DXU69f1P9l66UGBfmeBThKpBeTd8C1HUKNO8+osFSmwi9bY85/SY0cnk7VN4NuFMucujIxmuYU4bRGvK55NLSTOv9PNIWdRqVcfx8fETOA0rzJ1Ou0HwNTrMg9W7VAKzQRvhoOANONhOTBDFVK1PQ8E8jL5ggL1Q== 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=oULHOFRiFvpUTARdET9nc+Q44UMZ1FrhP0YZ5zkcjwg=; b=Yc9HOTvbC6/6suGnS+0xVHEnuGTiiDfXa4jj/8PmutBoYsYvsu1wz8wccSmvq+PbWNBE+wmiAz4+O8e7VdysCQRrtwMiFvTqTTQwmCLDK3Zhzvvrnj6DGn5HL2ii2z3RCVb/r4VIXxICCZ4T0aDFfaYb0eKl+RZYn6hj2UAej2KoWRVLQ21hNy67rb2Uvm2KqqUYLswRgZF0ZYYTfSVfdk2OeVJnkOrcxl8uh9r3fu9NHTa8eCbe9t2rSTRzyuPo2kjf3HfiynVmHv6SG4hZ698SkHP8tftccXyF4eSrLnXKuvLXX6Rj75d0jH08sVvjbZPrhTfj2GHDRyyyIf56EA== 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=oULHOFRiFvpUTARdET9nc+Q44UMZ1FrhP0YZ5zkcjwg=; b=C9dzjVwfSc7XgJt0q/RnIlC4QlDxVbu7nU5O6MU4HIc7g/KZVcnM8edgFmzHbiPfxalrf6bOu7mRzwd3WKrjyZNbRn3DCfMwdOxbaTY08R0Ux7o111NxOy64t8OOtVtMd3X62etF5zfE7e1XICH45MWt60yxxcUEXIiNhYx0oxk= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BY5PR10MB3924.namprd10.prod.outlook.com (2603:10b6:a03:1b3::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.18; Thu, 30 Dec 2021 20:37:51 +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; Thu, 30 Dec 2021 20:37:51 +0000 Thread-Topic: [External] : Re: bug#52874: 26.3; Be able to keep current menu-bar menus when minibuffer is used Thread-Index: Adf80heJSZWfr36aRnq65sd9kLn5RQA1qEomAAF5HDAAAoHvMA== In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f9163756-8e5c-44b3-ffda-08d9cbd44024 x-ms-traffictypediagnostic: BY5PR10MB3924:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JwS2sxJHl4vlCzeXEphsBFYkcDKfQCXS1ShEU+AYxHD6Jjbb05Fsooy+g96jEcB+lQgzL6Sg9QdTb7uQcmiRWLtsIUHoxyL9azUPjPzWNeF2MDW1iv1iEWHGuIY9hO8fZkAOFj3YMk7UthNkyZJlBPBmcctsyEVQv/0XUKZwhTyoq9k9bKP6n7qtA9C84yrHuWQSkCOUYT9GGfgPtPKa16C8mDAm1s/IYbkkKv+xnV24drhTpZgNkSNB+1LDJ3T/fIO1BDPi2P95+bE62sy/Jf0wZlMqsvL+C0fnf0fUww2aLS/fJshxLNzFGwXLRd8AlvPhvjGKx8kBB0j4kYTc28Q3Sjd4thgkff2gLJpnEPTEgIrNBgS3PeXWoiDWPy/U95cRzkm6cg5r07Wzc4qhUFVOYS8unlcpkrARE8dpCV52dwPFHKM0LERGAHvAMzGsYYsFOr16HcMEvJwULqZm4sWnbLMw8hzw7/yJ9t0nKAiDGSAjhk2bu1kv4iMbWK18AskaQNrTPhMVnanTiulIvC3+yrRPfIqSetkQvifFRKBvn/bMd8o9NTOXjv1/t7cuObsmqV36bD+95ybO1A/BzYPadRpwGyzoeSTauESfIXXEPBw1rIFgcik0ULSeaa1xmjaH/dbOjGvZkQajuLuAkfvM4rcqbZwAMuud7xDZd8t9HOip+EOKW3dRyMl1PtVfbPwkMX/0drfztXKn2Uw1hQ== 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)(9686003)(33656002)(7696005)(110136005)(316002)(38070700005)(52536014)(5660300002)(44832011)(66446008)(2906002)(64756008)(66476007)(66946007)(66556008)(71200400001)(86362001)(122000001)(38100700002)(508600001)(4744005)(4326008)(8676002)(2940100002)(186003)(6506007)(8936002)(26005)(55016003)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 06Lx7VM9pSqDdGkqWwe1rMnU5v4BaYPA1lwkqBRbLF5UGrOknuoZhuO5zSE4xedVx8XNsopg9o+J/dDQ9U+cHrtre0tYuyXq3Qe0UGy1HCKFHCx9O48VsL+aBO1FR0gJ6ofp/fz1WhzIM7ly7rg1wPBJ2/HtgpV5Ls0CRmqe3Eup+lKqqeo+ipG5TaS5+hiI1aa8KAIN+raqUL8UAO0Kj2NBauKwB+7VwBjHVx96/aYx4CI0PvouAqW0maQxvCutlzSeq8UzK1dhYkVOCE1nwj3vwkhExnkxEEWqNT7n4WiX0H9aRijEGLw0gQ5MICpDSNrFSfJN0nw1Rl8IQgFj015DXupwU6O+po84zrixJqNe1VjFXQd8WDfrYZmhaOsktj7BPk4lkE31uaGRfpGTwgSsY7MSS+0Vyvq1Yz0D/nbxLrXo7SOH6DSeDEyyiHTii2hQ2BAha6kKhlhEeTH5Y/U7nnsf7jQQEvPXlb+CDpxEUHPwgHbjkPx+GY9RzuY4iba1tS5XOrSPm6E8fm0CAB70KnDV8XMtQPIltDyoD80iijq7WvmT9YAR1E9dUpYcrr6nmaCLeeTitLDvmyOiAOqj3mH+/wLwa5s5wE6GiejVQhACfujFxpzzYIiYuqTn2W9p1OZl2suC26CkzDa9jAa81wMsSpTGnI9pw6TPDJ1l1nkqOTrVS51edPXMjBK41BRKvKgxTSTKUJCLbyxFcENvJYOGL/10Qzhgi3vich/pumnpqaNJEZHDIn Rj3kjD2r7XH56qWfMODRyzmGDaT6xN+yZTP60ufM/cSzSEQBFEDJ+otTdny8p0vXwRQiMODulhIKfClxrNL9T5yhGwzjlZK0RL 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: f9163756-8e5c-44b3-ffda-08d9cbd44024 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2021 20:37:51.8682 (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: j9E0AnxKOorzGA+HgfGXcgb9ZuRjZI3JCwNd348qELc/MPVCgPHJG3tpBJPexbz0AEqqBzrzHm9hBqgMgWZRkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB3924 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10213 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 phishscore=0 bulkscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112300117 X-Proofpoint-ORIG-GUID: emwnapSIRegvKczdprgw_PQ6kvXdEN79 X-Proofpoint-GUID: emwnapSIRegvKczdprgw_PQ6kvXdEN79 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:223452 Archived-At: BTW, I tried your suggestion of having the command put back the menu-bar menus of the original buffer. I found no way to do that so that menu shows while=20 the command reads with `completing-read'. I tried to do it using `minibuffer-setup-hook', using `after-change-major-mode-hook', and using `change-major-mode-after-body-hook', but I had no=20 luck. This would need to be done after the menu-bar gets changed to reflect the major mode that's in effect when the minibuffer is active. It's that menu-bar that I want to replace by the one present before invoking the command.