From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Thu, 10 Nov 2022 10:25:11 +0000 Message-ID: References: <86fservpri.fsf@gnu.org> <831qqbtixr.fsf@gnu.org> <86edubdv64.fsf@gnu.org> <83iljnrw3t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004e4fe405ed1b2c35" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27506"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Arash Esbati , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 10 11:25:14 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 1ot4kE-00070U-1q for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Nov 2022 11:25:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot4jM-0006jt-Gs; Thu, 10 Nov 2022 05:24:32 -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 1ot4jC-0006gR-MG for emacs-devel@gnu.org; Thu, 10 Nov 2022 05:24:13 -0500 Original-Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ot4jB-0002j7-0R; Thu, 10 Nov 2022 05:24:10 -0500 Original-Received: by mail-oi1-x231.google.com with SMTP id q186so1343690oia.9; Thu, 10 Nov 2022 02:24:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=S8+qBfJd5XzVyssDzVkZxlu+XAg+8dCP0KvYK5zcwgU=; b=Ld+1SvoIN2FzCWYG94Fmk4Nrg/xjIKB39lzPANH1yOARaPIWsNyQEZOBE4/ZeuymFT uv3ENBf/vWN9zMh8SGO77KzVkz4TWB3ShZFALYohYuaZhkpFIB3CFk49rxnGsAfrvEJc 2vvnmAEeBmTEkFdjjxIiMPTG6N8+zGvCVy3kAk53oogojI7B8fvhbfiS9LQAcIXfKqdX reo307zhCLqWOQfmfelb4waAI5TT/yVC6E1oC+rxck4b5iIO8AoK/1vOMcdzGYRt+sqd hpKhWLv5qtgV7pArgKf05Tah7tBI1FvCmiwUOropFGiMzU6qLfoWgPOPfmzIAM7wEYhT pcCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S8+qBfJd5XzVyssDzVkZxlu+XAg+8dCP0KvYK5zcwgU=; b=QcErM8VRWXcH9Ij2IQvZhRmZamxfpsduUZ6eVZAHdlseZ7m+hJIiNPaSXYnKYwXDrE ehf0Xaya4cqWCK0xZO1w2RkOmUDW9jd6fv50jyZrT2o6g6jLldFPhtadpz9SqnNToQle ri5TOggT8YAI1HcOLyUaFvKOcHyQAJnNZq6+Kn3qRkuGFiltZoPZNfw4JJok7DlpR+op 0XdmKpahYqKMitdOQ8YMC3cXmChHG6/MuBOvYbvQFRUk+P5ZiRTh/Z1RxVA5oJxUDN1V UlO+NrJZE/1CmpyAoyiLVdCrjYxZsC+RggbRtPgQOyvSP6Gwj+1w/gQqd9ZBZWIbFSud zq+w== X-Gm-Message-State: ACrzQf0YFjhHrG5UYvHi4vQnZg31XfG+yH4BBeu4WogB7NWYO2L6LMnr zMail+Dhze/1W2lj/f3LcJihsHs57A6O3cb6gM5lREVmToI= X-Google-Smtp-Source: AMsMyM4iXgbT5xbrmIrdgVI81r8a7xKIPCr8PLhqG7DgyD80dJDu7EB2Di1lvfxlRuOiFYx5wfNl79xknBDyjgWSu88= X-Received: by 2002:a05:6808:11c9:b0:359:ca6a:7fc0 with SMTP id p9-20020a05680811c900b00359ca6a7fc0mr1339797oiv.215.1668075846781; Thu, 10 Nov 2022 02:24:06 -0800 (PST) In-Reply-To: <83iljnrw3t.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::231; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x231.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:299475 Archived-At: --0000000000004e4fe405ed1b2c35 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Nov 10, 2022 at 9:35 AM Eli Zaretskii wrote: > Users need to read the documentation of the servers they want to > install anyway. We cannot provide that in Emacs, in the same way we > don't provide this information about other programs Emacs uses. Yes, I agree. We won't mention details like server's operating systems in the manual, at least not in that section. The only mentions to servers so far are in the example of eglot-workspace-configurations, becaus= e they its a fairly representative example, and no better one has been submitted. And we also mention, in the troubleshooting section, that clangd and pylsp are good servers to try to reproduce a bug report, because they're fairly easy to install. > > The addition would look like this: > [...] > Thanks, I'll let Jo=C3=A3o comment on this. The addition is fine. But I disagree that we should endeavor to be exhaustive in that list and think that tweaking the variable is a rare event. Servers come and go for many languages, it's a very volatile landscape. And eglot-server-programs is just a starter database of simple server invocations that are more or less known to work out of the box. It is designed to be tweaked, passing command line arguments to servers, putting in absolute paths for experiments, etc. Maybe the variable could be autoloaded, but that probably has some pitfalls I'm not seeing at the moment. Jo=C3=A3o --0000000000004e4fe405ed1b2c35 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Nov 10, 2022 at 9:35 AM Eli Zaretskii <eliz@gnu.org> wrote:

> Users need= to read the documentation of the servers they want to
> install anyw= ay.=C2=A0 We cannot provide that in Emacs, in the same way we
> don&#= 39;t provide this information about other programs Emacs uses.

Yes, = I agree.=C2=A0 We won't mention details like server's operating
=
systems in the manual, at least not in that section.=C2=A0 The only me= ntions to
servers so far are in the example of eglot-workspa= ce-configurations, because
they its a fairly representative examp= le, and no better one has been submitted.
And we also mention, in= the troubleshooting section, that clangd and pylsp are
good= servers to try to reproduce a bug report, because they're fairly easy<= /div>
to install.
=C2=A0
> > The addition would look = like this:
> [...]
> Thanks, I'll let Jo=C3=A3o comment on = this.

The addition is fine.

But I disagree that we should end= eavor to be exhaustive in that list
and think that tweaking the variable= is a rare event.=C2=A0 Servers come and
go for many languages, it's= a very volatile landscape.=C2=A0 And
eglot-server-programs is just a st= arter database of simple server
invocations that are more or less known = to work out of the box.=C2=A0 It is
designed to be tweaked, passing comm= and line arguments to servers,
putting in absolute paths for experiments= , etc.

Maybe the variable could be autoloaded, but that probably has=
some pitfalls I'm not seeing at the moment.

Jo=C3=A3o
--0000000000004e4fe405ed1b2c35--