[Top][All Lists]

[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 10:46:05 +0300

> From: Leo Liu <address@hidden>
> Date: Fri, 20 May 2016 15:11:45 +0800
> On 2016-05-20 08:51 +0300, Eli Zaretskii wrote:
> > Sorry, I don't think I understand what that means.  What duplication
> > do you allude to here?
> For example if you autoload server-name, the whole
> (defcustom server-name "server"
>   "The name of the Emacs server, if this Emacs process creates one.
> The command `server-start' makes use of this.  It should not be
> changed while a server is running."
>   :group 'server
>   :type 'string
>   :version "23.1")
> is duplicated to the loaddefs file and now you have two definitions in
> two separate files.

And why is that a problem?  loaddefs.el is auto-generated, so no one
needs to maintain it.

> > I added the autoload for a reason for which I didn't see a better
> > solution.  If you can suggest a better solution that allows users to
> > specify the name before starting the first server, please do.
> 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.

reply via email to

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