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 16:34:40 +0300 Message-ID: <83eg8w97kf.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> <83lh3583tb.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1463751337 18851 80.91.229.3 (20 May 2016 13:35:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 May 2016 13:35:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 20 15:35:26 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 1b3kZs-0004fi-MP for ged-emacs-devel@m.gmane.org; Fri, 20 May 2016 15:34:56 +0200 Original-Received: from localhost ([::1]:54866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3kZm-0000Rq-RH for ged-emacs-devel@m.gmane.org; Fri, 20 May 2016 09:34:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3kZh-0000Rl-35 for emacs-devel@gnu.org; Fri, 20 May 2016 09:34:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3kZc-00037D-Tu for emacs-devel@gnu.org; Fri, 20 May 2016 09:34:44 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3kZc-000377-Qj; Fri, 20 May 2016 09:34:40 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3198 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3kZa-0007lA-UF; Fri, 20 May 2016 09:34:40 -0400 In-reply-to: (message from Stefan Monnier on Fri, 20 May 2016 08:12:48 -0400) 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:203906 Archived-At: > From: Stefan Monnier > Date: Fri, 20 May 2016 08:12:48 -0400 > > > 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. > > Right, but that's true of many other variables. > It's a known problem that shouldn't be fixed by preloading every > variable, but by making completion more clever. I'm all for it. But as long as no one is working on that, I see no better way than autoloading the variables. Users shouldn't suffer from our lack of resources or motivation. > > 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. > > Maybe not all, but many. We should handle that on a per-variable basis.