[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making `eglot-server-programs' a custom variable?
From: |
Philip Kaludercic |
Subject: |
Re: Making `eglot-server-programs' a custom variable? |
Date: |
Sun, 13 Nov 2022 07:11:33 +0000 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: jporterbugs@gmail.com, arash@gnu.org, emacs-devel@gnu.org,
>> joaotavora@gmail.com
>> Date: Sun, 13 Nov 2022 00:20:35 +0000
>>
>> > Under my proposal, the variable eglot-server-programs remains a
>> > defvar, and contains the baseline list of the servers. To customize
>> > the list, users change the value of a separate user option, say,
>> > eglot-user-server-programs. This user option's value is nil by
>> > default, and it allows users to specify both additions of servers to
>> > the baseline value of eglot-server-programs and removal of servers
>> > from that value.
>>
>> How would this look like?
>
> I don't understand what you are asking here. How what will look like?
Err, the question doesn't make sense in retrospect, I should have
removed it before sending out my message.
>> > The :set function of eglot-user-server-programs then
>> > takes care of doing whatever is needed to make sure that the value of
>> > eglot-server-programs is modified according to
>> > eglot-user-server-programs's value when Eglot is started.
>>
>> This I understand, but I don't see how this is preferable to a general
>> solution that doesn't require explicit support for any user option.
>
> What is the general solution you have in mind? And what problems does
> that general solution solve?
That all user options containing lists can be modified, without each
user option containing lists explicitly accommodating the fact using
some other variable.
- Re: Making `eglot-server-programs' a custom variable?, (continued)
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/13
- Re: Making `eglot-server-programs' a custom variable?,
Philip Kaludercic <=
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/13
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/15
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/15
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/16
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/16
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/16
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/16
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/16
Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/10