emacs-devel
[Top][All Lists]
Advanced

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

Re: master f995fbd: * lisp/server.el (server-name): Add autoload cookie.


From: Eli Zaretskii
Subject: Re: master f995fbd: * lisp/server.el (server-name): Add autoload cookie. (Bug#23576)
Date: Fri, 20 May 2016 12:41:04 +0300

> Cc: address@hidden
> From: Dmitry Gutov <address@hidden>
> Date: Fri, 20 May 2016 11:48:35 +0300
> 
> On 05/20/2016 10:46 AM, Eli Zaretskii wrote:
> 
> >> Get rid of the set-variable.
> >
> > Sorry, no.  I use that command myself a lot, so I see no reason why it
> > should be avoided.
> 
> I don't think Leo means to delete the command, just update the manual to 
> note that the package should be loaded first.

It's nuisance to load a package before you can set a variable which
should be used on the first use of the package's functionality.  It's
easy to forget to load first, and then seeing "No match" or some such
is an annoyance.

> Otherwise, we'd have to autoload _all_ the defcustoms. Why should this 
> one be different?

Because the value should be set before the first invocation of
server-start.  If you set it after starting the server, it's too late.
That's not something that happens with _all_ the other defcustoms.



reply via email to

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