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:14:43 +0200 Message-ID: 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: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36434"; 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:15:36 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 1qyA8F-0009Dv-Pt for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Nov 2023 13:15:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyA7Y-0006i3-8r; Wed, 01 Nov 2023 08:14:52 -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 1qyA7V-0006hf-Vw for emacs-devel@gnu.org; Wed, 01 Nov 2023 08:14:50 -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 1qyA7U-0007Yl-6O; Wed, 01 Nov 2023 08:14:49 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7CA005C04DC; Wed, 1 Nov 2023 08:14:46 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 01 Nov 2023 08:14:46 -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= 1698840886; x=1698927286; bh=WLt/wL8YkqzH+aemWc/eW61YHeV1ZoZMHEc aZpdcJBg=; b=XTd11epIzVR1yvI3QAXQ5aKB66eyp5ZXitaeqc9U2+6sW3KUahT Tb4WLu3kl1BTcKcubat0xOXF0rOwHqj0MPB+b+7R5ZGvecZgoBpdmVIvB2qo2xAe +OH9KvMPe3lSKR0r0dtxkJOkqGp0TSreR3a98teQxzy6EuWFvgI/9pSzWMRm+xER esghTslL3YqLZmr6S6I2DnRVeaf8K9/odr5gJ0jgYG+D+DyjjPL6WVocsoOwZvLU ov7rYkvkPwZB1BRbn7Pmj+7JK9OEnX00vryRZT9pvSu0W1f4NJUWhWxgoBByWzcY pVezlAmrNQIzbo7JfyZMSYSdqJGll1BbAOw== 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= 1698840886; x=1698927286; bh=WLt/wL8YkqzH+aemWc/eW61YHeV1ZoZMHEc aZpdcJBg=; b=Pd+gpfcX5b7DW4kD7cdF9crz5NZU2L6K4ngHEzDjYowMJhKThRj Vhz51aQKp4qhhE6x/gYNMCJViGDGrFb62x8Az1J5YjxH8tALotnd3ChSYhurWJ3V x6HYe24Zbau1pDDZEb4IB5XMqnD9JEfVibMw/npjtvnOOPPaYi8JmVmzrmZhAhmp RxMbev+Tght0rGxDYMb8+HCWl4xHaMTjRX41aGmoa8jmEcd/hTpouLQWtutoMPKu Sh2+nj8TMyVRdhaBkgX+vViHjHAevGMDLQ2kr5E9B5LXWTHV9TJCkgtTkeSHOZnU VAm9f5AWFjF74R6+uv9pJErXjQ42rv2r4PQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtgedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Nov 2023 08:14:44 -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:312054 Archived-At: 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.