[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: |
Sat, 12 Nov 2022 08:45:38 +0000 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: Jim Porter <jporterbugs@gmail.com>, arash@gnu.org,
>> emacs-devel@gnu.org, joaotavora@gmail.com
>> Date: Sat, 12 Nov 2022 08:03:51 +0000
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> >> Date: Fri, 11 Nov 2022 19:47:52 -0800
>> >> Cc: emacs-devel <emacs-devel@gnu.org>, João Távora
>> >> <joaotavora@gmail.com>
>> >> From: Jim Porter <jporterbugs@gmail.com>
>> >>
>> >> I think it would be super-helpful for there to be a way in the
>> >> Customize interface to indicate that you want to add A, B, C to a
>> >> defcustom list, and/or remove X, Y, Z.
>> >
>> > We already have that, AFAIU what you mean: see, for example
>> >
>> > M-x customize-variable RET image-load-path RET
>>
>> My issue here is that while you can modify the list, when saved you will
>> store the entire modified list, and no the modifications you made on the
>> base variable.
>
> The way to do this is to have a basic value as a defvar, and store the
> corrections to that in a defcustom.
But in that case you need to load the library to get the default value,
in which case you might as well store the default value in the
defcustom. Also, I don't think this helps people who use the Customize
interface?
- Re: Making `eglot-server-programs' a custom variable?, (continued)
- 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 <=
- 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, 2022/11/13
- 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