From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.devel Subject: Re: Updating *Completions* as you type Date: Sat, 14 Oct 2023 13:56:25 -0400 Message-ID: <871qdxyto6.fsf@catern.com> References: <87bkd3z9bi.fsf@catern.com> <83fs2ft4nq.fsf@gnu.org> <ierbkd24d19.fsf@janestreet.com> <86il79nnou.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="31924"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:Uhox6JMo9x9muiW3eZLiQfAWKuU= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 15 07:10:24 2023 Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> 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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1qrtOS-000879-7y for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Oct 2023 07:10:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-devel-bounces@gnu.org>) id 1qrtNo-0005nX-3T; Sun, 15 Oct 2023 01:09:44 -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 <ged-emacs-devel@m.gmane-mx.org>) id 1qrisR-0000H8-Hs for emacs-devel@gnu.org; Sat, 14 Oct 2023 13:56:39 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ged-emacs-devel@m.gmane-mx.org>) id 1qrisQ-0005y1-4u for emacs-devel@gnu.org; Sat, 14 Oct 2023 13:56:39 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from <ged-emacs-devel@m.gmane-mx.org>) id 1qrisM-0005sb-7g for emacs-devel@gnu.org; Sat, 14 Oct 2023 19:56:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 15 Oct 2023 01:09:40 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." <emacs-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-devel> List-Post: <mailto:emacs-devel@gnu.org> List-Help: <mailto:emacs-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=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:311469 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/311469> Juri Linkov <juri@linkov.net> writes: >> icomplete-mode (and its derivatives) doesn't work for in-buffer >> completion. Also, it is buggier than the default completion scheme. > > Actually, now icomplete-mode supports in-buffer completion quite well. Oh, neat! I knew there was icomplete-in-buffer but I see that it's been much improved recently. >> By asynchronous completion, I just mean being able to type, and trigger >> completion, and have completions appear incrementally as they are >> computed, without interfering with you continuing to type. I don't >> think that stops immediate feedback for typing. > > I believe this is achievable by just wrapping code with while-no-input. Indeed.