From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?ISO-8859-1?Q?S=E9bastien?= G Newsgroups: gmane.emacs.devel Subject: Re: PL support Date: Sat, 09 May 2020 21:26:22 +0200 Message-ID: <2c09354e7994f0e61271ab0078256a9dc4202171.camel@k-7.ch> References: <9mmFgzvrBwjt_n_VJyaJdXINraNi5HsGpwq-0MLeKiJA7kG2BQA4uywrzjyz7lpRS0OZDpjEi8lspOKYUA7P_QsODsDew_8nbH960G55fmY=@protonmail.com> <87d07xamrg.fsf@ericabrahamsen.net> <878silajdl.fsf@ericabrahamsen.net> <87tv18pyh4.fsf@russet.org.uk> <83zhaih0oz.fsf@gnu.org> <83pnbegsvm.fsf@gnu.org> <83imh5hby1.fsf@gnu.org> <2e4e8ce9-d857-f3e3-31cf-a40dee67bd25@yandex.ru> <83y2q1dsvh.fsf@gnu.org> <2468efa6-7dbd-8634-44cc-586bb6985f49@yandex.ru> <83pnbddrfd.fsf@gnu.org> <83k11ldpxs.fsf@gnu.org> <83imh5dnun.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-5nR2EeK8dGWFdJKqBe0B" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="21847"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.2 (3.36.2-1.fc32) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 09 21:26:58 2020 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 1jXV7i-0005a7-L8 for ged-emacs-devel@m.gmane-mx.org; Sat, 09 May 2020 21:26:58 +0200 Original-Received: from localhost ([::1]:33500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXV7h-0006JJ-K5 for ged-emacs-devel@m.gmane-mx.org; Sat, 09 May 2020 15:26:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXV7D-0005aE-C2 for emacs-devel@gnu.org; Sat, 09 May 2020 15:26:27 -0400 Original-Received: from 50-102-31-185.ftth.cust.kwaoo.net ([185.31.102.50]:35332 helo=gandalf.k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXV7C-0006Ud-1v for emacs-devel@gnu.org; Sat, 09 May 2020 15:26:26 -0400 Original-Received: from sherazad-lan.lan (Alfred.lan [192.168.1.1]) (Authenticated sender: seb) by gandalf.k-7.ch (Postfix) with ESMTPSA id 121E2D2836 for ; Sat, 9 May 2020 21:26:22 +0200 (CEST) In-Reply-To: Received-SPF: pass client-ip=185.31.102.50; envelope-from=seb@k-7.ch; helo=gandalf.k-7.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/09 14:55:38 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:249559 Archived-At: --=-5nR2EeK8dGWFdJKqBe0B Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le samedi 09 mai 2020 =C3=A0 18:36 +0100, Jo=C3=A3o T=C3=A1vora a =C3=A9cri= t : > enhance eglot.el to automatically download server programs. Maybe downloading and installing server programs can be delegate to a new "external-tools.el" library. Something that can manage not only language server, but any extrnal tools requested by a mode. This library could provide an API to: - Declare, in a single elisp function call, an external tool with a name and how install it (which pkg and pkg manager to use) - Let modes request the presence of specific external tool with a single elisp function call - Modes can, optionnaly, request the latest version of the external tool to be present When an external tools is requested: - If the tool is not installed: Install it - If the tool is already installed and latest version is required: Update it - If the tool is already installed and latest version is not required: Do nothing - When installing or updating something, ask user confirmation before do it - If the tool requested cannot be installed, the mode can know it and desactivate some of its features. "external-tools" could be useful to many modes and elisp functions. --=-5nR2EeK8dGWFdJKqBe0B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAl63A94ACgkQtYb3x3I5 4p7QnhAAwRUvIVjili5jK0s2tubPQDaVKC04cOng/NumttncYJ/llXTpvR+6yabb b8exHX1FgFCL4DFBo2ts5mZwONTHZBC8xkh5HzVGYY10d2Drs/PO484ddDEOBeu8 tNoqSbauffWMUFUMoSzFIB91hIszQa2xDPgXA6i55BhwAw5rUoyIoWAxhCAeUg3Z uZ0bz4UIrEfQq++PIkYXtlihCy5k+XLnOSqnjbdIE/0mvOrbf4O9bXjwE0G2Yr6d AWZklRRHgIWg3xqonOKirRAoluiy9B6Qn0Rt8x5y4BngbrJLCBPtKGJKFIPg5axL +Tfboz6FgqXRHSUwu8XP3tXViap0c/M6zFFoJzyAfvfuvc1+gbDv5NE4+xXcqQbn mcl/T1DNIVbRtcoG2/WDwCE4MPf/i1TMZcko8NEfbKGKKstLuyDroikyJwGa5Maf iEv8e6VrxKBpTnZvQmU/x3SXSTNOIkcntVf+mx3TbEQopwdBLijLynWtaa3hyNLB 7YOZMR3Z+fz7b23TEF7qHsjufS1Iw5Zx3Z2/ygV1Lw5FKdTkLetS5dxPD7ZQVwFN 9un5TXe24RITgQHmlMMIVJoyAk+KyZ527j1ZO+4j/lvQvSXzjBI/51XRE+LYRxYT 57t647fDk9HscMUZJlGdB6fwBNp13hrNeUTxYNL+lVYn0o7b71g= =tveL -----END PGP SIGNATURE----- --=-5nR2EeK8dGWFdJKqBe0B--