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.help Subject: RE: [External] : Question Regarding Creating A Random Buffer For Keybinding Reminders / Attempt To Do Via A Reminder Hydra Date: Sun, 17 Apr 2022 16:36:38 +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="31078"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "'Help-Gnu-Emacs \(help-gnu-emacs@gnu.org\)'" To: Samuel Banya , Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 17 18:37:44 2022 Return-path: Envelope-to: geh-help-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 1ng7uC-0007xh-Hg for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 18:37:44 +0200 Original-Received: from localhost ([::1]:54092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ng7uB-0002qc-EX for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 12:37:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng7tN-0002qB-OM for help-gnu-emacs@gnu.org; Sun, 17 Apr 2022 12:36:53 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:7012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng7tK-00020S-1Z for help-gnu-emacs@gnu.org; Sun, 17 Apr 2022 12:36:53 -0400 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 23HALogS011984; Sun, 17 Apr 2022 16:36:42 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=+Cvp0Gbh/+gr1Q63PFYBijOvLbJ5wt/+5imn8rvzOZg=; b=V54G23pTmoMRREb7y/PZxLkuGNz41ztQ3/vvT5GP3KkcBAJjtBGBnIheAHqEbDe0F9eV BRWxEAnIdPAx8/QTDPs/XKboZDVrB0+IIqKLz7uTLDEM3XTNG9wbrO4U6Wh9X2dBM/7i zu7+ykHZSf11UFGPSX0NI/+aLAlC6ignCryYzyUKeM4e4YPsSwgKBXG3gFNSGiBNBZTS cfOcWC3mg5naltVJ1ifhbKE1P0I0bzL5jJoQQh1BGP9xLdvl5TfUfH3P/BzM23m/as3L On/wGSSqU5Wdy/sfJEbu5wNyh4Near+saio+pJC7dzJ8DHvFP5YRbV/JOc4nysXUQQMX /w== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com with ESMTP id 3ffpbv1umd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 17 Apr 2022 16:36:41 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 23HGVhDJ003717; Sun, 17 Apr 2022 16:36:40 GMT Original-Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3ffm86xu1u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 17 Apr 2022 16:36:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=djQEO0CTkdrCFWc1+eZQBUvygPJNq8HD0nbA8bFuxwXhunJrgB3hqpzHGNuCY4uX01vyslDOn98m6QMflMs8nfINqIEXwwA10bTRpqo1spoYMMAvxLaOIjtZiLyiW6rYBCqsCirwxFCwWynAEp15mibVe0iKrKHt+E+eOu7PbjK0QE0Tjnz0p5iFymN0DVak12H7SG3Y9S+bspiKj6NItQXdRbeg0G8jUiH6wxBBmquF95jfl3L3J09txQ6Tt9FMY1lmOQITWtKS+TKiywF8nLXC7/CVOcIy2S6XJL8WvUYRRbaAiwi2A4UcrPTLQEhzBOI9OH5No/NP7/OJ3I1x4Q== 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=+Cvp0Gbh/+gr1Q63PFYBijOvLbJ5wt/+5imn8rvzOZg=; b=NulJtHSD4ZwMG+ggSwaz4LpHdhoxF1YHl05HZc+3E657vYB7nmSMZ4SXtXFxYloLUG1Bg1/z/mYQOmbovfEEkwSUtMpWjq84m+1TRlDPTMqujAt1u3t90BM4qGThhSOb9JMmouX3nPlWr7uQpgAPn5xdUOH/TJy3pDYWqmh6Kg6/c3qt3Ji0WkdA81ozrJY5q41hlhYHOG7rn1sCu3RyApm10C06MUSpJ2Ipag6BneWB0vpE8WLdQzlwgBcSJtcwqcRgJuifNZyBxzmmtFhzL+I01Ipa2QXd5B5gjVcNIhlXoxfZ3yAK7tiHvgj163PsLSSVH1P/02lvTSIlxy3QdA== 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=+Cvp0Gbh/+gr1Q63PFYBijOvLbJ5wt/+5imn8rvzOZg=; b=GDq41WK+lp+HT/BjTIJa0Y9Fr77VEW3V9ohT/nQwnKldlNfw/9e6NscXi5CY5Xw2Gm6FfcoXXvlACYiDJ06orXrYiLjGRq5a5vElUuGGdfi/SE+EFLQoJI6P4FvRApJ2ub7Sd1NiOC+q0bNwmzuIqBhNRuldla6G3XK4kCMy/KQ= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BLAPR10MB5282.namprd10.prod.outlook.com (2603:10b6:208:30e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Sun, 17 Apr 2022 16:36:38 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%9]) with mapi id 15.20.5164.025; Sun, 17 Apr 2022 16:36:38 +0000 Thread-Topic: [External] : Question Regarding Creating A Random Buffer For Keybinding Reminders / Attempt To Do Via A Reminder Hydra Thread-Index: AQHYUmmkddfNOHcR4U+VMrfBBgo5Waz0N8sg In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e150b106-08c1-4733-3738-08da209071f5 x-ms-traffictypediagnostic: BLAPR10MB5282:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dnNWPzIc+22QaUrdtfG5T/lJ523TyZR/h++5Y13nIlk+lnuhq4fU/rw9at11RGwlJGp166aK2t3lSNoED7ybWpEg6tiMevOHeWNKB0bU+kwRRzlLUHPC9/WvzuOoxr9mPH+9eZWwsJxr8EF6uLY1m5P6+uVJO2fiAkyTzKwiOhZl+0U/4o0ezqIS2aQkucr6pdOtdyV5u4/WUGWAu5eFDqSey9T8AHpcGIZ6x+UHnq2/5PCkCXWb9bxWvJd6ckXa81KBbLuJ7GxlF0eEUL5h9F6opaLH9weTdmKV+FJRyoWgKg3b6ZJWm2DEwrceziz9JCy7DL68nXFezKL7Z541a7NPvcp0JF+MNqJOQGJEBzvPPVbkk/6/AfvVRsLHAQp5htIDvC5E1gYKLjrf7xUjypt9dU/x7pT+SoBlPsPAJmd6xljwUlN1rT8ojd4KVziFsdV7ea8XCXPG5QKBkQTXT+8aNzwDZ52oZQ6cMXwk3IuYJ9/TpYEVjjbzklhfZcDNP8gpv5jcoi7P18O8t1vjlc69nVfG7UZRs1vA696uOZHuNKz/4E/cvBNQZWsySoArCtP3noaN06dX74e9e6uID4DOxLEad4E3nHPeuKo/rlk8z2/3CP1HeWSh1O69q3RcSD5E/zLokF7fVHc1/uJV2iCMRzIxtOTZa59F8zdWcSoZ5ICNsLm98jPJqygQHPIjm+JqxlTmdglvWCrosQm97cbFKpPT6YQIiz7GhHpPtzpqlGo+6bh1bbpUh/s2r vVNpWtHKUj/AdcIMKE8WqinLaEkI/9RjM1UzcbySzH+B8eCtXaM1YwQoCbkTR51uS2TbvGkiyp4i1FXG5TAXmjrgQ== 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:(13230001)(366004)(316002)(55016003)(64756008)(4326008)(8676002)(76116006)(110136005)(71200400001)(66556008)(66446008)(66946007)(66476007)(508600001)(86362001)(8936002)(52536014)(5660300002)(966005)(122000001)(33656002)(7696005)(186003)(44832011)(6506007)(26005)(9686003)(2906002)(83380400001)(38100700002)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tl32mBiv2IcuLwqMM6sdmHh85ffgQ/rJXAk2et57/XokWD/x5doUUMybwquR?= =?us-ascii?Q?/GxXJr0MYGNBj7RfmfjN7qs1ZsGgg6OGgIq4rzyyS5fmlNWLnwTs1v4BBSLl?= =?us-ascii?Q?2qaUKa+TiFpXGq1/73eyFJFlVrldA6kZkEf3GKUtCmGwuv9QkFbn2YLbzjHc?= =?us-ascii?Q?+3pw8kFG6xPGIDOHXtWHQmmtfP/oA80aNhFslbsH3KoWWXH1Eg4e+xKuQd/y?= =?us-ascii?Q?Zwj1E54WkkyTqdSVrGTAsGqpSgoAKK74eBmzqfT5keMEtZ0ZfCDZPOo/wfER?= =?us-ascii?Q?aqJKBPqeTPYA6CKxpa0EqTR6zq7SRbloDw0ZzBN0nAe+0ayGYGtFuKtZDCp/?= =?us-ascii?Q?r+Px2P/t2rIr02cXvafLi6GHVFREpEJxzC2IOghSlNTFAiyIEpxNwsXBRunF?= =?us-ascii?Q?9u0Hmvn+PT9RBuGIKkkLZruQxzpaWjYv4hghiNvBBCOVByEi0w/SfTcnAfHx?= =?us-ascii?Q?fEWrhqXv/gN4RNBCLazJNr+uLBomXtcG1Auj2AOSUDMrSytwHE0aP/UtG6Gm?= =?us-ascii?Q?ajPxtXDtrklY4uwlWOvxPAwAL5EmtQkelGqLT7bS5JKWleLIv0Y4ipFQYmzN?= =?us-ascii?Q?NskHUe+Xh3v62DA0ttZCppmB1ZbhA5vHfOEhrABvi5SZRLA9uHdpyFVZvc2V?= =?us-ascii?Q?RS 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: e150b106-08c1-4733-3738-08da209071f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2022 16:36:38.4684 (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: kxZFbCJU7edxZm7WPybS48CX8uWjEjvxN58V6S9YYbHYkim9hVTFHdvGw8u02GSsUskOwXf3qHvNQxZHiHzUCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5282 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-04-16_09:2022-04-15, 2022-04-16 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 mlxscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204170113 X-Proofpoint-GUID: f6r0NbZCi5O3cHSUk0zDiS8rD2C0qFFq X-Proofpoint-ORIG-GUID: f6r0NbZCi5O3cHSUk0zDiS8rD2C0qFFq Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136934 Archived-At: No doubt someone will point you to `which-key'... ___ As an alternative, I'll point you to key completion with `keysee.el'. (Better yet is key completion with Icicles; Key See is a reduced version, without any particular completion support/features.) Key See shows you, at any time, in any context - including at the top level (i.e., not just after a prefix key), the keys that are currently available, and the commands they're bound to. All available keys, any time. These are shown in buffer *Completions* as completion candidates: `KEY =3D COMMAND'. You can match KEY, or COMMAND, or both, against minibuffer input to filter the candidates, and then choose one to invoke. A prefix-key candidate has `...' as its COMMAND portion: `PREFIX-KEY =3D ...'. If you invoke a candidate that's a prefix key, you're shown all the keys/commands you can continue with, etc. Choose a final candidate to invoke it, or use `C-g' to end without invoking any command. Except at the top level, you also have the candidate `..' (no `KEY =3D COMAND'), which takes you up a level. E.g., if you're showing the keys on prefix key `C-x 4' then `..' takes you up a level to show you the keys on `C-x'. Choosing `..' again then takes you to the top level. This gives you a dynamic, on-the-fly way to see _any_ part of the entire forest of key bindings (including menu-bar menus!). Explore it up, down, and around - not just down, down... into a given prefix key. (`menu-bar' is the name of a prefix key. Exploring the entire menu-bar hierarchy is no different from exploring `C-x'. Just choose `menu-bar =3D ...' and dig in...) You can change the candidate sort order on the fly, using `C-,'. Sort by key name - either prefix keys first or local (i.e., major-mode) keys first. Or sort by command name. You can configure which keymaps to recognize for top-level key completion. You can have key completion kick in only on demand (by hitting, e.g., `S-TAB) or also automatically, after a given delay. Being able to complete also against command names is an advantage. Among other things, it means you can filter (and sort) by matching parts of command names. You can often remember or guess part of a command name, even if you don't have a clue which keys might be involved. Key completion is a good way to learn keys - it's at your fingertips, either on demand or automatically. Being able to match parts of key names and command names is helpful, but sometimes you might want to just hit a candidate key to match it (`which-key' behavior), rather than type text to match its name (e.g. "C-x"). You can do that by prefixing the key with `M-q': `C-q C-x' inserts "C-x". ___ (If you use Icicles then the key completion you get is more feature-full. You can progressively narrow a set of candidates by matching multiple patterns, show the doc for candidate keys/commands, etc. You can perhaps get some such benefit if you combine `keysee.el' with another completion "framework" besides Icicles - dunno. `keysee.el' is itself independent of Icicles.) ___ https://www.emacswiki.org/emacs/KeySee https://www.emacswiki.org/emacs/download/keysee.el