From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron Newsgroups: gmane.emacs.devel Subject: Re: Inline completion preview Date: Sat, 28 Oct 2023 21:01:11 +0200 Message-ID: References: <83h6mdfcv2.fsf@gnu.org> <838r7ofw8s.fsf@gnu.org> <86jzr6hgbm.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2555"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 28 21:02:04 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 1qwoZQ-0000UH-J8 for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Oct 2023 21:02:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwoYm-0004nr-D6; Sat, 28 Oct 2023 15:01:24 -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 1qwoYh-0004nU-M3 for emacs-devel@gnu.org; Sat, 28 Oct 2023 15:01:21 -0400 Original-Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwoYg-0005OI-5Z; Sat, 28 Oct 2023 15:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1698519674; bh=5ozYvA5AA8dg/Pw+hzL91Bh0jZ4Rpa6teNPaI2nR9zE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=vZQf6tY/91SV5VfrGf+k2gbTS6p+XplxpZ/IInJklI194ENIoDijVgLSuiM2Pe37U LfCyf5YCaEcEeP1w/hAuoNuLg7AMnQhpMqES0DOU/fWbBd9bqTkdHnwZzc8U64WMvo c0rkKIHmA7d8FpEtqO8tDgh0ImSHmap9Upj3aKZ2gnqGWn3ShHaU/HUZMsXEABqnXC msZiMrerFxuGoMsk+JjhQZdKRZcrOHiOOfDYrZmf9PHIEaMfVKtJThi3Ea4w7gb+al sHlyWAk/ZV+cOzTr6nFi/ccdl1HWFr1TXNbRBt8fa+97+vHaVBQtaG5mPSjmUXzScm 8seJyqbmFOlpw== In-Reply-To: <86jzr6hgbm.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 28 Oct 2023 19:47:33 +0300") Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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:311960 Archived-At: Hi Juri, Juri Linkov writes: >> Alright, let me review the alternatives: > > What about icomplete-in-buffer? I don't think that `icomplete-in-buffer` is an alternative to `completion-preview`, they are two independent features, and you can even use them together. (I've posted the code for `completion-preview` upthread, and you can also find it here https://git.sr.ht/~eshel/completion-preview if you want to try it out.) Crucially, the preview that `completion-preview` provides appears automatically as you type, before you actively trigger completion. Best, Eshel