From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Inline completion preview Date: Wed, 01 Nov 2023 14:34:03 +0200 Message-ID: <835y2lac04.fsf@gnu.org> References: <2c15c71f-613d-ec61-774d-93e7696470eb@gutov.dev> <8ec6cab5d8104227fef6123b9c99f93a@condition-alpha.com> <8af5efc7-754a-111d-42d7-b875edbb6202@gutov.dev> <26ef9d21-9ab6-1cf5-005d-4ad2907169b5@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15214"; mail-complaints-to="usenet@ciao.gmane.io" Cc: me@eshelyaron.com, alexander.adolf@condition-alpha.com, joaotavora@gmail.com, juri@linkov.net, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 01 13:34:40 2023 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 1qyAQh-0003kp-NF for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Nov 2023 13:34:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyAQK-0007No-7L; Wed, 01 Nov 2023 08:34:16 -0400 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 1qyAQI-0007Nc-Jz for emacs-devel@gnu.org; Wed, 01 Nov 2023 08:34:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyAQH-0003Gs-Am; Wed, 01 Nov 2023 08:34:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=r6Y6GnhZUHrB4gXxUfI/ZVofshRSDiOC8wm9RWHq15E=; b=Xd9XHLgx9adowFCE/hkg t9uf6Kc+wyi1r6I2efFtLTmugU8AucRUvhgNIxUM3isn2R8aksJLHjN/dgFqpVpfYYcjAo+AdS3Gj UQ/Tkpnya0GiG4ir3RfEWmCMkRXHCPLR/4ZP2Uo9vSvvxVoATtf9MMI13jXaAnYVtCN7NZ8/r610P IkIbUx9xktzb0s2IVetIc2nTov4Nt7tZ4hV6F4LJqJM4Be6/lXSkHbFc9sMEM91HofdS+tdSx7TwS j4Eca1fCY3tX0dGSoXhhRC+NRoIsVQBl/3lGNdX5qRWNhWLqvkXiuRlmdQ0NHXZACusno7R20Y6p7 MCW2RB0ckQ0hxA==; In-Reply-To: (message from Dmitry Gutov on Wed, 1 Nov 2023 14:14:43 +0200) 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:312061 Archived-At: > Date: Wed, 1 Nov 2023 14:14:43 +0200 > Cc: Alexander Adolf , > João Távora , > Juri Linkov , Eli Zaretskii , > emacs-devel@gnu.org > From: Dmitry Gutov > > On 01/11/2023 10:30, Eshel Yaron wrote: > > Either way, `C-M-i` seems like a natural choice since inserting the > > previewed completion is strongly related to `completion-at-point`, so > > the idea is that this key combination does something similar > > (completion) whether the preview is visible or not. WDYT? > > It removes certain power from the user, namely, being able to press > C-M-i to see all available completions, not just the previewed one. > > I think I'd simply use RET as the key. Since the preview only appears > after the user had pressed C-M-i already, this should conflict with the > regular usage of RET. Other applications that provide this feature use TAB, not RET.