From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: scratch/backend-completion c807121fbd 1/2: Add lisp/backend-completion.el Date: Sat, 03 Dec 2022 09:04:48 -0500 Message-ID: References: <166938157708.15020.14294469350904271113@vcs2.savannah.gnu.org> <20221125130621.A3C14C0E4C1@vcs2.savannah.gnu.org> <878rjzuhgv.fsf@gmail.com> <87a649qsef.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33466"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 03 15:05:42 2022 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 1p1T9B-0008Tc-VT for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Dec 2022 15:05:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1T8R-0002Ca-Sq; Sat, 03 Dec 2022 09:04:55 -0500 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 1p1T8Q-0002CP-Di for emacs-devel@gnu.org; Sat, 03 Dec 2022 09:04:54 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1T8O-0003it-IK for emacs-devel@gnu.org; Sat, 03 Dec 2022 09:04:54 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B1A66440F1F; Sat, 3 Dec 2022 09:04:50 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3C5664409DF; Sat, 3 Dec 2022 09:04:49 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1670076289; bh=Aaf3JETODCsXGnJQv/yhdASyzb4zv3jt01pwHtJsq30=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=TR7u2Z7NhCh141HNLpADPZTjAzjcKeQ4SFh62a+zVXP+NMuIdIHt2M+X71Og97dS+ weGuZr4EE7zd0wnZ1jk+WwBzz501VrvW8i348Ss6MrzNR/H1tkMadRGW/yc9KspSBF 8OrzXbVOQf6b90TEqkOEHR4Xl7sj9nM+ht5zX87Nua2Pa69EE+wttf7PFNP2Vm+Yw6 k1d83cw9MPDpGojzOOFyf55otJNNsdod4Cd+v0XtO0rspn+TPNeFDBWqoOaUyTK8KS z40fjv/qklLPZuTZfmYKtRcRHWN9rTz1HGjlbQpR6POC6Bqeb762Wun3YpsLamcR7x pYIyvoFOhliDg== Original-Received: from pastel (unknown [45.72.193.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 171A512253B; Sat, 3 Dec 2022 09:04:49 -0500 (EST) In-Reply-To: (=?windows-1252?Q?=22Jo=E3o_T=E1vora=22's?= message of "Sat, 3 Dec 2022 13:21:04 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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:300869 Archived-At: > I quite like this and it's working well for both Eglot and that other > library. I haven't tried it with SLY but I'm sure it will do the job > nicely. One thing I was wondering is how useful is the `tryc` method. I suspect that SLY can provide a real implementation for it but in most other cases I'd expect that the only option is to use a degenerate `tryc` method. So I was thinking that maybe the `tryc-function` arg should be optional. > One of the most important things though is the naming. > "Backend completion" is not a good name, there are already a ton > of "backend" semantics that are entirely Emacs only, and this new > style is really exclusive for tools _outside_ of Emacs's address > space. I agree that "backend" is not great since it's largely a matter of perspective. I can't remember which other names have been considered but how 'bout `external`? Stefan