[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: |
Thu, 10 Nov 2022 19:36:54 +0000 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> I suspect it would not be able to use `with-eval-after-load` because it
>>> wouldn't know which file holds/defines that var. But we could make it
>>> work for Custom vars, OTOH.
>>
>> I have the hunch that modifying `add-to-list' along these lines could
>> break a lot of subtle programs,
>
> I'd imagine the change would only affect the case where the var is
> unbound, i.e. where we currently signal an error. For that reason, it
> seems safe enough.
If that is all the function does, I think it should be safe. Other
questions are if an error should be raised when there is a type-mismatch
or if the custom setter/getter ought to be used.
- Making `eglot-server-programs' a custom variable?, Arash Esbati, 2022/11/09
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/09
- Re: Making `eglot-server-programs' a custom variable?, Arash Esbati, 2022/11/09
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Stefan Monnier, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Stefan Monnier, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?,
Philip Kaludercic <=
- Re: Making `eglot-server-programs' a custom variable?, Jim Porter, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, chad, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 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