[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making `eglot-server-programs' a custom variable?

From: Eli Zaretskii
Subject: Re: Making `eglot-server-programs' a custom variable?
Date: Thu, 10 Nov 2022 13:16:19 +0200

> From: Tim Cross <theophilusx@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 10 Nov 2022 20:34:49 +1100
> >> I'm not sure that intent will hold. It has the underlying assumption
> >> there is a definitive language server for each language.
> >
> > No, it doesn't.  Please see the current value of the variable and its
> > documentation in the manual.
> I guess you will have to explain as I've looked at the documentation
> again and still don't see how you can have two different language
> servers for the same language. While you can have multiple entries for
> the same language modes, only the first one in the list take effect.

That's not my understanding.

> >> There are multiple servers for many languages and individual
> >> preferences/requirements can differ.
> >
> > Yes, and the variable already supports that.
> >
> How?

Via eglot-alternatives.  There are entries in the value which already
use that.  And the change you suggested used that as well.  So I
wonder what kind of misunderstanding are we having here.

> Please show as it isn't clear to me from the documentation and
> there isn't a single entry which shows support for multiple language
> servers for the same language (where only one is active at a time of course). 
> .

You mean, there's a difference between several servers for the same
mode and several servers for the same language?  What is the
difference?  Or is that also part of the misunderstanding?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]