From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander Adolf Newsgroups: gmane.emacs.devel Subject: Re: Inline completion preview Date: Tue, 31 Oct 2023 18:31:36 +0100 Message-ID: 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5835"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jo , Juri Linkov , Eli Zaretskii , emacs-devel@gnu.org To: Eshel Yaron , Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 31 18:32:37 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 1qxsbT-0001Jz-T3 for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Oct 2023 18:32:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxsag-0006dC-Bm; Tue, 31 Oct 2023 13:31:46 -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 1qxsae-0006cq-Jz for emacs-devel@gnu.org; Tue, 31 Oct 2023 13:31:44 -0400 Original-Received: from smtprelay03.ispgateway.de ([80.67.31.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxsab-00079T-Ea; Tue, 31 Oct 2023 13:31:44 -0400 Original-Received: from [185.17.206.183] (helo=condition-alpha.com) by smtprelay03.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qxsaW-00067Q-2S; Tue, 31 Oct 2023 18:31:36 +0100 In-Reply-To: X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= Received-SPF: pass client-ip=80.67.31.30; envelope-from=alexander.adolf@condition-alpha.com; helo=smtprelay03.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=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:312022 Archived-At: Eshel Yaron writes: > [...] > 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? > [...] Thanks for the prod, Eshel. Good getting things back on track. It seems to me that corfu's `corfu-preview-current` option does just that when set to `insert`. I tried it, and to me at least it seemed to do what you describe. In that light, I'd mostly concur with what Eli commented last Thursday: > > [...] > > You list those, but don't say why you think we should have yet another > > such facility, and in core on top of that. If we want something like > > that in core, I'd rather include Company, not invent something new (and > > partial). > > > > Am I missing something? > > [...] With the difference that I would advocate for corfu being included. Cheers, --alexander