From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.devel Subject: Re: *Menu* buffer Date: Sun, 28 Feb 2021 21:56:43 -0800 Message-ID: References: <87o8iv3ac3.fsf@gnus.org> <874kknp1lq.fsf@gnus.org> <838s7crozt.fsf@gnu.org> <87lfbbmd52.fsf@gnus.org> <874khy8ibr.fsf@logand.com> <83ft1iouh5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6436"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: monnier@iro.umontreal.ca, Tomas Hlavaty , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 01 06:57:41 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lGbYr-0001Yi-Ps for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Mar 2021 06:57:41 +0100 Original-Received: from localhost ([::1]:53104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGbYq-00084d-Rw for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Mar 2021 00:57:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGbY2-0007Sx-Bi for emacs-devel@gnu.org; Mon, 01 Mar 2021 00:56:50 -0500 Original-Received: from mail-bn8nam11olkn2061.outbound.protection.outlook.com ([40.92.20.61]:1540 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGbXz-0002R9-9d; Mon, 01 Mar 2021 00:56:49 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nRXPlFE3IuvKior+G68JU84xG7Hg/XMuzPAowp9uRm/krSp33sxmzzlkYqAEMAVVGM94s56NYopRESozHN9b5bDe2Rb8rEKfWsQbHjO3efrZ1Dqo9xSyfNqUOXUmNvv5/Yiuq2Gaz8dcjl+oRZCmMyoTMCIsRQKAWi9Bj51KFHO8y2kpesaFp8IzqPDdFJZt5CbYLyOwsspQGQGCUHPhsoIa3aRYLi2rGvJ+d5JYoOZvSxOdU5sk/F/gb6pB4pgJ4mm8Kj62H/r0vWx5bD8Zu7G4EKwspAhG0cicTNZhBIPU50VO4TMRXwCTVnx89yS9SaHFVqy2a8yjWbkJk2uEWA== 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-SenderADCheck; bh=x2HRvBVe/c7QtoBUXYq0jup2/jia44vz1UtuutbdihQ=; b=jY/tS4+/fIgy/qvEZamewisBILnCS2ia//PupdRKvs+M8z4B+BHK8EsyOm7bUAQdQ050MjCA8VIn9v/fTyYW1e6PGsLcqTXrLuJ/+uPX/vaQGq7IuUBcZjmM8/KrHIKIHqJGv4hEabuy7mrjgBe+jUs0Ez+0plnLQ9majKhakaDq5Ex46ox9+9Q1bCyVraaqnfHArvShUvY/VBzKU5PRXFJ98wnGaq9XrNvh8YENRnUZy5aDm/5vUFMHhGso6tw3OVllemSOad0ZpNmJtHNppwo3YcybRzVaW9u0Y7ei8uD011iemw6Vx5C6rWCHUzaPqEX2tQHqG9z1Q+HVsmw70A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x2HRvBVe/c7QtoBUXYq0jup2/jia44vz1UtuutbdihQ=; b=f1LPfvibvi03TNxSJ4AW+9JRY4eX+TTCOCH4hCZ/jPU8dlfzaf6Qz+BDhKmRqQHmBNAZHbsmNBtFAZZJouX4B5LmFSjDGWSPlPs7wLF8saAe6G45AMBG8zJA3WtESPoxAOdGtq6nMvxhEudppELLnpDjgBV0i8baGTXw3Sog+dgMWvRB+RPTz8vr+lQpMqW6glaHaz41mWZinmOf2qZ0xu4KaN1igG2voMKOFkh4bN5BxSSFNG3GD22dQUl+hbjpn0kJbMjskc0vivvnmxOJsTxX8ITFm2wkQw0R2lCgAlN3/pkyQKpl2Kq4BX+bpCHK93kiFAK9P3ipeQ93zbvqsQ== Original-Received: from CO1NAM11FT027.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::4f) by CO1NAM11HT074.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::384) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Mon, 1 Mar 2021 05:56:44 +0000 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2a01:111:e400:3861::46) by CO1NAM11FT027.mail.protection.outlook.com (2a01:111:e400:3861::224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19 via Frontend Transport; Mon, 1 Mar 2021 05:56:44 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:6967139B06BB86F913726B940C76F99F362406578196CBD4C4E817678E3ED384; UpperCasedChecksum:3DB408BDDFF1D1B2EC8CC005645114C1DCB5119E5FED9945291BDF1C3289F619; SizeAsReceived:7945; Count:46 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::952c:21a3:a963:8107]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::952c:21a3:a963:8107%6]) with mapi id 15.20.3890.028; Mon, 1 Mar 2021 05:56:44 +0000 In-Reply-To: <83ft1iouh5.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2021 09:11:50 +0200") X-TMN: [FIB8IAKAMYG6iBV8ODUzXxhvs2AtMqZjOG0qeBPw7dUNfZqo9F1v2abpswrS4uSY] X-ClientProxiedBy: SJ0PR03CA0140.namprd03.prod.outlook.com (2603:10b6:a03:33c::25) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87k0qrpgbo.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from penguin (2600:8802:501:2200:216:3eff:fee7:3d5d) by SJ0PR03CA0140.namprd03.prod.outlook.com (2603:10b6:a03:33c::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19 via Frontend Transport; Mon, 1 Mar 2021 05:56:43 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 4824b3cd-9b7a-424f-690a-08d8dc76cacb X-MS-TrafficTypeDiagnostic: CO1NAM11HT074: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C+9d9u4vygg9jFPZHkPDtlO2N13YIM+E40I++jgDdo0xDHYVF6NyoDQH+/vjmZ6hkdtoc4LcAhV41uT3lKNHysV1T4QQ6ITBApk9S45wYZDuPJryptaXiOniaIstwHIgnDsRVjekiByp7oi2oS+tbRCp8zwMjlRv1GCJI1kLQlQ7I51enibyClLFH3Rda1d+MfGbOQ2oNsrEfTRGQVcJGLpxmZ94wzbEPurBfbiaWA+h966P/yIbzeeOlJ/dfzz+1Eaqq4R3VtecIBKNZCCopriz1q23FUZFcd/vfovX2OvZKuEryHrb4CCLae71oN5xeXfNhBSHedSFy2Zo8Es6+6W+uAF0C68HnizGWLj7Q8+/jdYJw1rN72fLNDg9tom5ofQYfciMPmP2BSJatlJm7Q== X-MS-Exchange-AntiSpam-MessageData: SL8t/Ricr7reC33mn0HWXsknjqBb/DAsXLZ4pnxx0CUdIbwHaMNgyIsWcQuK2OrJGWoCcZyCJVDkhU+fHr86CjyvkKoISYuQvkPctwgSkjCdSa6imW8xW7r8B8g54FctfThrGtfWqEFiO3wGwEl/I1N0qi404OuAFFCBCfbhc29Zs+tZYdq7e1ZUcLGJ/Nv310k/0Oy8FHALDnWNaiFWSg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4824b3cd-9b7a-424f-690a-08d8dc76cacb X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2021 05:56:44.1834 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT027.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM11HT074 Received-SPF: pass client-ip=40.92.20.61; envelope-from=dsmasterson92630@outlook.com; helo=NAM11-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265768 Archived-At: Eli Zaretskii writes: >> From: Tomas Hlavaty >> Date: Sat, 27 Feb 2021 01:28:40 +0100 >> Cc: "emacs-devel@gnu.org" >> >> On Fri 26 Feb 2021 at 11:27, Stefan Monnier wrote: >> > (defun tool-bar-to-string (&optional map) >> >> interesting >> >> Is there something like this for menu? I would like to have a *Menu* >> buffer instead of menu bar. > > You should be able to do something like that with header-line. I was thinking about this myself and wondering if you could do it with a multi-layer hydra where you have a top-level hydra that you add/remove lower-level hydras specific to the major/minor modes you're in. Just a thought at the moment... -- David Masterson