From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master f995fbd: * lisp/server.el (server-name): Add autoload cookie. (Bug#23576) Date: Fri, 20 May 2016 12:41:04 +0300 Message-ID: <83lh3583tb.fsf@gnu.org> References: <20160518194708.27363.47377@vcs.savannah.gnu.org> <20160518194708.86FE0220157@vcs.savannah.gnu.org> <834m9u9dis.fsf@gnu.org> <83r3cx8eg2.fsf@gnu.org> <83mvnl894y.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1463737276 8639 80.91.229.3 (20 May 2016 09:41:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 May 2016 09:41:16 +0000 (UTC) Cc: sdl.web@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 20 11:41:15 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b3gvi-0007f3-IN for ged-emacs-devel@m.gmane.org; Fri, 20 May 2016 11:41:14 +0200 Original-Received: from localhost ([::1]:54212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3gve-0006EK-K7 for ged-emacs-devel@m.gmane.org; Fri, 20 May 2016 05:41:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3gvV-0006AZ-GV for emacs-devel@gnu.org; Fri, 20 May 2016 05:41:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3gvR-0002TP-AX for emacs-devel@gnu.org; Fri, 20 May 2016 05:41:00 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3gvR-0002TC-79; Fri, 20 May 2016 05:40:57 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2994 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3gvP-0007qW-Bo; Fri, 20 May 2016 05:40:55 -0400 In-reply-to: (message from Dmitry Gutov on Fri, 20 May 2016 11:48:35 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203903 Archived-At: > Cc: emacs-devel@gnu.org > From: Dmitry Gutov > 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.