emacs-devel
[Top][All Lists]
Advanced

[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 20:31:06 +0200

> Date: Thu, 10 Nov 2022 20:22:00 +0200
> Cc: joaotavora@gmail.com, arash@gnu.org, theophilusx@gmail.com,
>  emacs-devel@gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> On 10.11.2022 18:50, Eli Zaretskii wrote:
> >> Date: Thu, 10 Nov 2022 17:35:55 +0200
> >> Cc:arash@gnu.org,theophilusx@gmail.com,emacs-devel@gnu.org
> >> From: Dmitry Gutov<dgutov@yandex.ru>
> >>
> >> If you just have a command (to be used interactively, right?), it will
> >> only affect the value in the current session.
> > The command could do whatever we want it to do, including writing to
> > the user's init file, if the user wants that.  And if the command is
> > invoked from the init file, it will affect the current session, in
> > every session.
> 
> The user can normally choose where the customizations are stored (inside 
> the init file, or in some file alongside it).

When they use defcustoms? only globally, for all the defcustoms, not
individually for each defcustom.

> If you're suggesting the proposed command reimplements that logic (and 
> honors the value of custom-file? ignores it?), that seems like a poor 
> choice in my POV.

There's no need to reimplement anything, because we can use the same
APIs that Custom uses.  For example Options->Save options from the
menu bar already does that.



reply via email to

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