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 01:29:14 +0200 Message-ID: <26ef9d21-9ab6-1cf5-005d-4ad2907169b5@gutov.dev> References: <2c15c71f-613d-ec61-774d-93e7696470eb@gutov.dev> <8ec6cab5d8104227fef6123b9c99f93a@condition-alpha.com> <8af5efc7-754a-111d-42d7-b875edbb6202@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="16393"; 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 00:30:29 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 1qxyBm-000424-0U for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Nov 2023 00:30:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxyAo-00073S-VQ; Tue, 31 Oct 2023 19:29:26 -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 1qxyAm-00072x-OR for emacs-devel@gnu.org; Tue, 31 Oct 2023 19:29:24 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxyAk-0002I8-PM; Tue, 31 Oct 2023 19:29:24 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 1B54E3200AAA; Tue, 31 Oct 2023 19:29:20 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 31 Oct 2023 19:29:20 -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= 1698794959; x=1698881359; bh=JTup4zgjnnKwL+2PQDjCZG9GbXdsW7CM9md YWvE1gOU=; b=Yax6lib9CAoSdplY7n1dEcSiC7P9t6N2PBgYbjooHQgXyJ6ODSo bOd/C2wlRUK+3PfPz+clugG/6uXORORMDuRCTaEbbUTXni8X8nuPHMAqS5JOaAop /hBesyO0B2hBn2yJ+coNbGs/1wtcLui7vjCL9k+zQ2ZKz0yxYA83fJYn69YwfIOK /AreZdvt6NWuYJU2mXtCPCb6S8w9zp8CrJJhutR2yA8fDvMRci6jD2QVigeCs/BM u/IQk2QPFlZWVW1iV4LWGBP0+27p+c4jzXhNcfRbNl+mL+MumHkzgywCDgrcLDLt OjKq1ySF5Gss0H1kXfk2we2I/yEknkUJphg== 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= 1698794959; x=1698881359; bh=JTup4zgjnnKwL+2PQDjCZG9GbXdsW7CM9md YWvE1gOU=; b=AkTj0pR8ZmqKnE6DpNobsIxixwsxu99knGrBAyE75aUKgyu+R2f 1at+P9URG1RfYPn0ZmAyNiRn19aqaciUPtQhohEZ8EXUX6RajWrOdQ5p7ZCtqRiW nDPNiGzDz6GKLEEn3xTK12g/R9fZGetoyhDYUdp3XkaeM0QJLTQ7gYLgFjAAI0Zo egrhBjTJu1608wkKghrn7EwRMUrEyBaEnqALdj5yFw2iClGnbDIWmy0anywXunTF x3k9rR0vKP7LOMVCmqdQYlwoVH5UeEGx1zjggf+TPKgwxyyt74dPXypAyPn4leFH G15UAkTwSZrq4VRnLBK12jBzx2qBUC1489w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtfedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 31 Oct 2023 19:29:17 -0400 (EDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.19; envelope-from=dmitry@gutov.dev; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -58 X-Spam_score: -5.9 X-Spam_bar: ----- X-Spam_report: (-5.9 / 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.053, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:312030 Archived-At: On 31/10/2023 08:50, Eshel Yaron wrote: > I find this company/corfo comparison quite compelling, but I'd like to > steer the discussion back to the topic at hand: adding inline completion > *preview* to Emacs. Could you check out my proposed implementation[0] > and weigh in on adding it to core, possibly as part of completion.el? Ok, I tried your code. This is probably an issue: C-M-i is rebound. With completion-preview-mode on, this key combination does something different than the usual (it inserts the previewed completion). I can imagine that this behavior can be useful for certain personal habits/used languages/etc, but it's a change from the default. Otherwise, I can't really comment on the inclusion, since it's not something I would have used, and I don't know how many users would really benefit.