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.devel Subject: RE: [External] : Re: discoverability, better defaults and which-key in Emacs Date: Sat, 3 Feb 2024 16:58:19 +0000 Message-ID: References: <874jetaxri.fsf@jeremybryant.net> <86fryc1vsh.fsf@gnu.org> <86r0hu4qk8.fsf@gnu.org> <86eddu3pbd.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="17918"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Eli Zaretskii , Howard Melman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 03 17:59:29 2024 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 1rWJMV-0004SC-HA for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Feb 2024 17:59:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWJLe-0004yU-Ee; Sat, 03 Feb 2024 11:58:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWJLc-0004y2-F4 for emacs-devel@gnu.org; Sat, 03 Feb 2024 11:58:32 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWJLa-0007Um-GA; Sat, 03 Feb 2024 11:58:32 -0500 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4133wbd3030213; Sat, 3 Feb 2024 16:58:24 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-2023-11-20; bh=8OcInlPJpRe8AUOR9WjrALR3+3FA+Ku1mY0P3lOtMxI=; b=JXMKlNVvlTN5cNN1wCWA8IzDygjypYtL9L4pUBvVqr5gaoVr489278fBKupTSNhyJm58 zVX3jH/vgd+nbDvV8hKx2ce32BlYD6ajB4wwxIWw9SWlMbF4fUQQBeWlvBwMY2WIjrK1 eJK+vay6bkkl5OKP1BT/4BCd8C2qJ7svISJgV2g9tXWXtzQxKwHhJ5KMXM3FXoFIg7l7 3uDodQffq9esJypN+t8iT2g551o/APcJwj74S+hueOYBPT3TtCwJIjd3hNtipUbstdw9 Nn845yVsSWCKLOD7tiCB+cnGj/cwrlkOj/TwB7hKxEMx7JZllJVQHZtinVB5N07uMCz3 YA== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3w1e1v0xgx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 03 Feb 2024 16:58:24 +0000 Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 413E3xVv036843; Sat, 3 Feb 2024 16:58:23 GMT Original-Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3w1bx3uxdj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 03 Feb 2024 16:58:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nd9wY5gyCuBwQk6l4S80UBA3Jx6tPDIYFCo83/4Ru44Mt5OmBwXhyrFg8p/M1tCkSbKd10wP/4ZKFfDcAlAMhXbh4FZ7peFXBXfvS0zhLsw5IDIBzvUEmySDjJbbIdUJ3VZ6Jf+iRyAnUbWmyq/+kXY1tOGdAUZO5ujmJ51e+C9eQUGoH70GvkzopVfhFDH7bvI2AQsuonmwtN//i4cSWqwSYdvBL2wbY3OwRgxJKEb+9GkrKAXNXw0JoeiA4qeRAjaO/BQBluTu6d13Pije3/dUtSlssodu8UwjXGRlvfGNzK4bkafl59buEhLAO/VtZBc47Cpn7RuutTIbM/3qsA== 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=8OcInlPJpRe8AUOR9WjrALR3+3FA+Ku1mY0P3lOtMxI=; b=WBvQtvzzI+6uSMpBWcZMWGrC+WwOmtdmAU7YYXMDDBA3rlobmrlwyGAfsqXC+mdqow3Y5eFTommuSJhQ32fPzhNxHJYmF1hIi+pD9uJ/EyMQerfP5PQ08X7iRzVy9WS6YIxvQT6tFb9+UaA/ijGSm0YCG23GS3Z5N5wI4JfQ0lp4cgKPO/kYduIU0xNs4QY989lvu1b3IBdxpUXddqgc0OCan+KE7+VCO6gaMlqyWw0EsVhm6/lckaQCKXsF0hpKUKye82w4AsrM8WFkaeRgmItLdUnRqDPQThM+EwcNnwxPNCPARml7IBRaHRDkaA3xDnTXWl6//tJ+vv1ygzDUjA== 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=8OcInlPJpRe8AUOR9WjrALR3+3FA+Ku1mY0P3lOtMxI=; b=cxTl+hn+bjEfyAPKAaEG0vSZbxuMh+wSL59xJqYV50qNxcqUeHbRjX+Y2cGYA7XQTEDQ4x0uV5o787hmEWUVESjni5zSl0gBjhE4TJGIzD2xB1VzixbiewOjL8SzbN29x591Kl/mTi25OoEPWGzU8QUNlkOdwJUdjI+nhJhUiX0= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by PH7PR10MB6035.namprd10.prod.outlook.com (2603:10b6:510:1fd::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.31; Sat, 3 Feb 2024 16:58:19 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7eb0:e361:caf4:a410]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7eb0:e361:caf4:a410%4]) with mapi id 15.20.7249.027; Sat, 3 Feb 2024 16:58:19 +0000 Thread-Topic: [External] : Re: discoverability, better defaults and which-key in Emacs Thread-Index: AQHaVn35x9x8mIaDZEW0VNGbpsWdWbD4zi7w In-Reply-To: <86eddu3pbd.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|PH7PR10MB6035:EE_ x-ms-office365-filtering-correlation-id: 951b0811-77af-4a24-9da1-08dc24d952f8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZQUshLTq+TsLrril2QHMsc/+cnpDnR42YBxT2Ma3lHURIe/GCljPLiTcN9pti7LwhKKC/f8SnWYVweihI6duuS+5Tsoi11UiqO397L10285g/zrr2mpKYdS2map2lXmdvdoBTcY6Z86sYw4WX7vr3c3fMXATN2b/JRNlGjw7KyBQdg7A38A/G/CYqKvs+zPpPelCSil9uTHDV0a4i7C9fYBgYkcKO/uEosY1wFrFT1g4dvKXegTCMajOZDG3K/kpnLDrikhGf6W25hmB/QoTe59n7fRnNGM3SQp8q657ibVRYvauekt1almoWadw6oUU9YlvarNdtvkPy3OUGJUonzIH7qc2iaib0O/yoR6hkIMdjNvyi3wOxqux0cuKMLANiLPqqFoBWnjlM6fMWzl5aX9WxsO1OzEsnFyZLgazAEGwf0oU8DmSiWRxelGoPXqRMXBHAzZVPFwMV7k8iMxOFyHFLCZfgdOoRcTm8SpG7dQc1OCZjbRDxSnEu3Gu7ijo5a8ezU/CVWxoKdTgAYVQXvXwTBrmYjA0A94XR58WJW9h7yC44hDCUt+R2LWwAPVCcEhmaHSjZd4dYubfZrf6r0LeqXaTzPubYnezls6bWUQ= 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:(13230031)(136003)(346002)(396003)(366004)(376002)(39860400002)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(41300700001)(38100700002)(9686003)(64756008)(55016003)(6506007)(71200400001)(7696005)(83380400001)(26005)(8936002)(66476007)(66946007)(316002)(66446008)(66556008)(44832011)(5660300002)(76116006)(33656002)(8676002)(966005)(110136005)(122000001)(4326008)(52536014)(478600001)(86362001)(38070700009)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?MGAgO3eDJf1SoHDWwhr2Muwqe8jJCiuGUTM0xuLwFf4S+fiFf2VDBqpSiw8r?= =?us-ascii?Q?nEoGTLLkhb3C3jCpTJWlm5wwlj76zUyePulXvaXz9623VPHG66gtAghvMLan?= =?us-ascii?Q?qbyzx7nSVWMETPdUCXYOXqisYDGGdAU4adPk7++351/1BzIXYi22TSAXJQKA?= =?us-ascii?Q?5UjvQjBq4oh5zeRYzO7uoEVUpghwAWZO+DTmB3pGBL0tMX7fE76ucx9fO73A?= =?us-ascii?Q?JBoehtpuwWK72a2WEdE0EiXJer/UNV7vrEnURQboWPHT+7Cx+UFlxS77RXL9?= =?us-ascii?Q?f802iTPxBQVL6pdmk4D7c3qBV8eFpBD+nQv4YE58JDWz/AZ+nw+9yWoTUG1P?= =?us-ascii?Q?bE2QvaAFAIDfk3mx6AwyBgh2WnAiJktl75Ht2u3PaaIsDQ8yTnD3MWi3D1r4?= =?us-ascii?Q?5ThindISqFgEtK1zB37Fb+W9PkoHdXRIdiOzpRAPrWbPyElzxpkyi1gHKXlC?= =?us-ascii?Q?tfALmQCOt/CRwx7sytNKHJMT22QxpGI4gO1xGCzJiYU5BuvebZH1/eI9Jh6c?= =?us-ascii?Q?PkZI2xnvaWplEMGnvZvYA+g8+XnFx5yYvh26FtqaRbGphhuD1JtS7l+QyBql?= =?us-ascii?Q?pvAvNxjiCJZ9MLlzbANXbXbhx2nZfJ4dC8Ns7VGfYbHeJ2Op1ledQBEuNa+o?= =?us-ascii?Q?c3 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: v4BpkCwC1VJqjh6/ZeRMB1azwKYmrn5f5XC/nVQQzIDhkDDS278dZ4aD4nt+7YCCqvB7qsU0bbGlOGC268Fzy/S/q2BdMRaZIvsT/75TlPywxCp9Hairo15vgyMrpSqvDBz4njuALeHFTi1PfYy5M0SDOl+O8txnD0MsrpWxohXEDfmvNEJnElgIZBBq/Z4kVTEsUXKsVi3PAk59wp8QuSyfY/7HLrwDMNd7dpu2wfvkF7rVApIr4WTLLMjf0BqfiKsfh9BenP1STte6vlQvpDceHLgI4Cku9Qe42W1BYUu046Tmvj32b8vwLDcspW2uENg0sXhEWNqaYvoj24cJg3OEHlFmkLh0aV+IbcIqsxgZ29rTL86jw3K0GnjXiLy+peR41C5DkWK5mhj8JNzcO3tS9/Njzm9xnn37bCOAGqITq5lKA8+Hkl5O/mLv49j1V5Xr6P4CUXcGTUAdd77Nfi/Eyt0/WOZCouDZcnZaJaZ7XzZKZjAkShZ4PgBy3p9oug0gqc+wHNefEO0/R4GmPRaIAUoqu3UUs/njqdQJU1JCWi4NLH8IVIZLTcQ6Fm8YlVHjrWcnw6IOu/21k5bhsc5Gz7em1Z7FFHYw8OwkO/Q= 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: 951b0811-77af-4a24-9da1-08dc24d952f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2024 16:58:19.8067 (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: gGGbZSTf/+h9Tucm/zNAlecOO/CLBYpdac13iaAXdVqS3uMIBdCOgRTVZyLZ2AOrgi4zWs8ASDr3VFhsOC5tBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6035 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-03_12,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 mlxlogscore=686 suspectscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402030126 X-Proofpoint-GUID: OS2aAaYEyS8xEjeSi9K3lL9i4msZqDGX X-Proofpoint-ORIG-GUID: OS2aAaYEyS8xEjeSi9K3lL9i4msZqDGX Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315836 Archived-At: Not to distract, but FYI library `keysee.el' is an alternative to which-key. Less known, some differences, maybe worth checking out. In particular, it lets you sort key-completion candidates in different ways interactively:=20 - By key name alphabetically, prefix keys first - By key name alphabetically, local keys first - By command name alphabetically - Off (no sorting) You can cycle among them during completion using `C-,` (default of option `sorti-sort-cycle-key'). (You can cycle among key choices with `TAB', per standard option `completion-cycle-threshold'.)=20 Two global minor modes: - `kc-mode': on-demand completion with `S-TAB' (default of option `kc-completion-keys') - `kc-auto-mode': completion after idle delay (also turns on/off `kc-mode', for on-demand) Both provide (1) top-level completion (on-demand: `S-TAB'), which shows you the keys available in the current context, and (2) completion after a prefix key. For top-level completion, choose the keymaps in which to bind `S-TAB' for key completion, using option `kc-keymaps-for-key-completion'. keysee.el uses sortie.el, which provides general interactive sorting of completion candidates (usable for any completion). ___ https://www.emacswiki.org/emacs/KeySee https://www.emacswiki.org/emacs/download/keysee.el ___ https://www.emacswiki.org/emacs/Sortie https://www.emacswiki.org/emacs/download/sortie.el