From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Inline completion preview Date: Wed, 1 Nov 2023 14:24:23 +0200 Message-ID: <38d20b8d-af34-757c-b990-19b4424eeeb8@gutov.dev> 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; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5417"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: Alexander Adolf , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Juri Linkov , Eli Zaretskii , emacs-devel@gnu.org To: Eshel Yaron Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 01 13:24:55 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 1qyAHG-00018N-8x for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Nov 2023 13:24:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyAGu-00027Q-OZ; Wed, 01 Nov 2023 08:24:32 -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 1qyAGr-000211-1M for emacs-devel@gnu.org; Wed, 01 Nov 2023 08:24:29 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyAGp-0001A5-Ha; Wed, 01 Nov 2023 08:24:28 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id B8A505C051D; Wed, 1 Nov 2023 08:24:26 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 01 Nov 2023 08:24:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698841466; x=1698927866; bh=4zqM9/4SzthBbZz7KPKcUGJ7CgZhOg19nSv tiF/Ve8E=; b=oWv2kQi5zzdUV0nngvDlgLHx7cnWz82K5RLHCy6jJxIXM1TSiUX dgsDJ6qpXrgWcGWZE69ni/cSfPRLNo7leYTnp7EIdTzvKrNFDEx/OQs1cimVTQ6T ZnkvAZ361ijju7WoNdlQjqXAmWOAuqAEi5rI8eDA/S78WNxoe1xievKTSt2v5g1f Q2y+/q5g8rYzCGrSv46Bfb7hj1S9HVeJ/2vmJhkM5svlGcJj4JEoDhkhuq5RJ2Jq 14TXh7FEQooLIdm+8Hyp9kzIAalc9oUr9M17plsTNUTKb1AQQj+n0hzz5qOxCCjl RJ5N5z5bz2jn7WpqgltZxjh6+1I0h16fXTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698841466; x=1698927866; bh=4zqM9/4SzthBbZz7KPKcUGJ7CgZhOg19nSv tiF/Ve8E=; b=Uh+OAQNQwhnBjfUgjYCvjnadWe2Mtz/3/rWOdflJbT7Os0LdzeW lOqK8EKNKU+HC49hL7PZlZB/OUZ4RqT3foRCzlILWIEfsor0gjA8kyvTlrc1WQQZ d3SZyccpv+100uoVKLl5zLtru+LYyA39I8FeFqYr/5K3BN/eLhIMNxBvv6q/fP8F CF+tq1ZTxZcjJ/KcUERmrL26Dp/E8h/9y4k/R9NAn2cWfHxRhD3u7l7ju99bdfqZ oyFelDiAxfkWXazf4x2CWwnxSMmX0BbvhTu28rgndhNH5dc42d0EEw0plf+91K3p LEySEV8x/upF9CJ7op4NBlnZn6h9i6NjiQw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtgedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffhvfevfhgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfeftdejleetffelhfffteefgfeggfejgfdtudeuvedttdetvdelffekvdeg udetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Nov 2023 08:24:24 -0400 (EDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=66.111.4.29; envelope-from=dmitry@gutov.dev; helo=out5-smtp.messagingengine.com X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 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, NICE_REPLY_A=-3.777, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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:312056 Archived-At: Sorry, On 01/11/2023 14:14, Dmitry Gutov wrote: > 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. ^ shouldn't