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: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico Date: Sun, 11 Apr 2021 22:07:24 +0000 Message-ID: References: <9c9af088-580f-9fb1-4d79-237a74ce605c@inventati.org> <874kgkxxs0.fsf@posteo.net> <78741fe6-2612-d7c9-2bc4-0b68ea7fa51a@yandex.ru> <76a4d0e2-117b-165d-d56e-5bc2f504b50c@yandex.ru> <87blapln0r.fsf@posteo.net> <37bd2e96-ce04-eb6d-24da-fdd7ea427e61@yandex.ru> <87im4wx2ct.fsf@posteo.net> <83ft0080hi.fsf@gnu.org> <16784f40-b959-9a84-65d4-93b71d1bebec@yandex.ru> <5d5d0152-bb07-1bdd-6370-9498d4e4b867@yandex.ru> <9408552c-5964-0eef-d821-ab2a79e5d7c7@yandex.ru> 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="2746"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , "philipk@posteo.net" , "emacs-devel@gnu.org" To: Stefan Monnier , Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 12 00:08:22 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 1lViFh-0000a7-F6 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Apr 2021 00:08:21 +0200 Original-Received: from localhost ([::1]:56054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lViFg-0002DH-HJ for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 18:08:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lViEu-0001m1-0r for emacs-devel@gnu.org; Sun, 11 Apr 2021 18:07:32 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:40202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lViEr-0000U0-RV; Sun, 11 Apr 2021 18:07:31 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 13BM56A2128908; Sun, 11 Apr 2021 22:07:26 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-2020-01-29; bh=s8ATLo8mHGuYe2BJNhe9D/g+mmCxif6Znwdem1n9n0o=; b=kjXrWmQliRlDMkWLh9lkP4QP31Q6u0nmP8ccJidT7Kale2hPrTLuIFytsKz8KQEztX0H AYjr+kf2bCNL3JbkEg7UawrebINrwRI8/g77pH4MrX/n/cl4DTiOjt70r8hyWCAa0Ddl mkKLVxv1wXklPfzDM8MQGtyT8yOC3DcB5qpxoc4zEqbD5ZhxXxd/YTYiliQDjfHBDIpD QEt3p9SDrxVn8bHL7a44oi/hrtKe8qmY5bMTK06/u/5+epTZ9IPrv11+ZAa1tuqR6zdc mNOkPbtQXyGaiqhMtzRb7QzngwNtJfWUHp9SzqmP5ChchM8EiHx33ng/ykjjrzAX3FTp 2g== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 37u3er9xq0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Apr 2021 22:07:26 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 13BM0FY4109535; Sun, 11 Apr 2021 22:07:26 GMT Original-Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2101.outbound.protection.outlook.com [104.47.55.101]) by userp3030.oracle.com with ESMTP id 37unxunkqq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Apr 2021 22:07:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nii4/ORfC72BP61pi/udF3XdARr6OtfQmG5NyHN9Yx/BlITPo3MfOCkfsHVwtczFuc27RpkBwj9lBvUpwCDFINUrEgx0FsKvhot5QlWnI3gbGENOSWfcEejgmZfe487IH+QE5S3VnQbXIW9kAb0Z/JDOq0ZSuGtlIG1WuLlvOGiJk4fe4JEVUpYjVol910oPYKFGZeDFfYf6tXf6IdyngbjZRYzCBgUXEYqh6IXqAWnkOKYdzWfKSarrFvU38y2tLsl3xXyo/Ecndq+L3ysZOa1dUfQ5v0MsgOqBO5fScyXTHza4PfQ/khVOQxqT0uWpNK/5ETM4f+9dA9gta3oy3A== 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=s8ATLo8mHGuYe2BJNhe9D/g+mmCxif6Znwdem1n9n0o=; b=g7YzClIwChWqDN3Z35ajBUCFpn7ZXlkL/MLHHD3u1XouCDg0tOCvFlgbQHoUtRFpNIAzilJrrE/bMcWfLoyaJUUPbOpHXpdyebKPlDMgBbi8nWv3ZDcwIYswFpsua/hzx1wdHNZO8ATlZcMn8lMVWLAoVrDkMqZ0KE8zhqGy87CoxsLOQ2duve42UW+ElQoCnf+1tyo2w/6dP0Zbwbg/fe97fk+DXQzAdzaLXyUhCzmvEpeF1jb33ApxBv3GCw/eC1Emn3B9JLwS3c3Os3kbkzu73DzLZB/bHN0wKuHsnPAAkqwoUr+YRSRKmiFZ5F2ZB8VMdDRAwaGZMDSgPwo/Fg== 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=s8ATLo8mHGuYe2BJNhe9D/g+mmCxif6Znwdem1n9n0o=; b=lpPT37pnfRRA1UAPskkQ36tY9BvrHHuGqn0oLRjnO0OlcADm6KHIGRAcD7+PRCL02+eiCGAgkUPOeiKJUQqRqn2oimTir6s7Ly5jbQ46oFAcosr09jQeTTbpsrDiyjMGWZia88t7MMdUyzxX1QO5ic0FTHOa+ayqn/yGgeWm3iQ= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4412.namprd10.prod.outlook.com (2603:10b6:806:117::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.22; Sun, 11 Apr 2021 22:07:24 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.4020.022; Sun, 11 Apr 2021 22:07:24 +0000 Thread-Topic: [External] : Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico Thread-Index: AQHXLxx10kANHh/YZE+nf9AVCLUV2Kqv3YwQ In-Reply-To: Accept-Language: en-US Content-Language: en-US authentication-results: iro.umontreal.ca; dkim=none (message not signed) header.d=none;iro.umontreal.ca; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0ad49e47-b2a8-477e-fbd8-08d8fd362fab x-ms-traffictypediagnostic: SA2PR10MB4412: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b2QeU5aXYGmavF14PjO57uBaOq1POZ7RLBIpfAOeG1uBfl5wzVhzB128opYPHSNmIkGV3jJyg5aosurHAzV5yCQUUujDoP9zCXbwST4giG7+lKo0z7ZR3gebxaMVf8sstRYaGSen28ViBAWDchHkvmQTGOThJoBsquMtyNDMhIZomCXSo3D7kqXecrNB75MHvQQ5tX3TgdkGA/CQR8/8FGyvQSDDXFjvpYtIz6WMQU6eYpUMELjGXpIqNQ2Yk3HUoLaWY3n54fBJsRinBnZxqm+rkPyAP1/pOu11yH1a7pCdQChV+n8Renn3Uth42YC2F/IPenn3lD4ScUreKvIb0dSyT0bdtaUf8bs9ViF0URBMCUI7RsyC86A/u5IYkgx4RVFhoIOHARyFDqjbJHjlX+kUchyHlgopHBIgPfMFa/D1qIGXbkDkoYOVgBxhNk6oYrX7kKga/+vCUyKtDpciCCBQMMe5Ql8TP5syzIb5O9dY5hI5NjC5ckpM4wuFmUa2n6OyK/wzwqMR8ILAxBWBMDesfx0UBMZ/zvneZOxh0jUIeDKHqMQdChTwk1DTQ2CtqpAYLpGRA5+R9TMOBM3pEOMSpSvoyscvZ2W1fKIO/c8cfSpPtil+b3/P54oQ2Pf7WpG64hBJqqByvBLr/J1JPg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(136003)(396003)(39860400002)(366004)(346002)(76116006)(64756008)(66476007)(66556008)(66446008)(5660300002)(33656002)(66946007)(7696005)(8676002)(52536014)(186003)(83380400001)(55016002)(8936002)(54906003)(86362001)(478600001)(4326008)(316002)(38100700002)(4744005)(2906002)(44832011)(296002)(6506007)(110136005)(26005)(9686003)(71200400001)(14263002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?eg/VRTiDp7quSSMvFDGdpzO4hgQrhVC2cOp94+vPhaAZJxjUlHparEAPhh4T?= =?us-ascii?Q?ADcciJiPIjnBHBwrOd1BsGcI57Jt3pbShmTkS/ZtmkTOKdNpZTwB/oqq1IG0?= =?us-ascii?Q?a5E2XV3pQXzE4pY7ImClHPf1vsISK4uqbxMTM5UzGSyif6coNN+cI4bckTxQ?= =?us-ascii?Q?6Z6vYKGQI6GHZ9WgRRVjbyPdLuBspX5voqHXzX0JWz0TVmzmOwA3UN/0jmHR?= =?us-ascii?Q?v0oCEGESEGto2JqUiOLau3pkXKEbObJe6ig67Y/UGcz2BdSXoSBJVg37QNO7?= =?us-ascii?Q?jbZc2ClaGl2Y2Io/FXKIbnR7sJPFBuEZroHist2LRoBwmFSUicDg+OD7cYQv?= =?us-ascii?Q?8HTYPoIcW1SswgRLU3bdct0GxqsDhSfoxPJbgzqejLfhDSWVI3Op6lvw9ZIa?= =?us-ascii?Q?PdpxGjGCHlFw2CL5BcOIH8c5+66xb2XMwJuPpffxkFFuXC8nSzZNW/9gG9ZE?= =?us-ascii?Q?bW1XWL2vgehqp0O7NcBETcw3dC7NhXjrFKVReUpMblITU4cv82Bn3rEfVICT?= =?us-ascii?Q?wWI2DwUD6yJ0wVkJZjnd+BpTlY19TPoOgCXSQqEKzRbbD4e8dNZiH6MWi9Ly?= =?us-ascii?Q?rASPAznh1yd+NDXTUej2EgBMGxm1tz9KRSjEKmvKCp+ArBUXCsA1Wpl0x7VM?= =?us-ascii?Q?1JkG x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ad49e47-b2a8-477e-fbd8-08d8fd362fab X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2021 22:07:24.1552 (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: CXsF4suehcisdPjpjZPP/squjLCWNWOjYpxaagIQXsml5iHsdAyucCTVm20y3TGw1rDEf21e0bdkzOZo+7+HdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4412 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9951 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 malwarescore=0 spamscore=0 adultscore=0 phishscore=0 mlxlogscore=530 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104110171 X-Proofpoint-ORIG-GUID: SrxHtD78HiuZNXZeg76YhSs82w-E_SvQ X-Proofpoint-GUID: SrxHtD78HiuZNXZeg76YhSs82w-E_SvQ X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9951 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 clxscore=1015 adultscore=0 mlxlogscore=835 bulkscore=0 malwarescore=0 spamscore=0 impostorscore=0 suspectscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104110171 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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:267920 Archived-At: > > At the moment, IIUC, the UI either lets you cycle, or shows > > the *Completions* buffer, but not both at the same time. >=20 > Looks like we may want to revisit this choice, then. >=20 > > Perhaps you're suggesting to remove that limitation >=20 > Exactly. FWIW, my tiny library sortie.el provides that. You can cycle while seeing the candidates you cycle among in *Completions*. And you can change sort orders on the fly by hitting a key (`C-,' by default). The file header has a tiny toy example of Lisp use. In general, IMO, it makes sense to bind both `display-sort-function' and `cycle-sort-function' to the same function. (I've never understood why Emacs has separate sort functions for display and cycling.) (I pulled sortie.el out of what Icicles provides for defining and changing sort orders. And I pulled keysee.el, which uses sortie.el, out of Icicles key completion.)