From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 012487b: * lisp/display-line-numbers.el (display-line-numbers-type): Autoload it. Date: Tue, 25 Jul 2017 08:18:30 +0300 Message-ID: References: <20170723072843.23485.53761@vcs0.savannah.gnu.org> <20170723072844.877FD22EF0@vcs0.savannah.gnu.org> <87inijxnda.fsf@detlef> <83r2x57orp.fsf@gnu.org> <83o9s97lul.fsf@gnu.org> <83fudl7k0p.fsf@gnu.org> <83eft56y4n.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1500959965 17060 195.159.176.226 (25 Jul 2017 05:19:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Jul 2017 05:19:25 +0000 (UTC) User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org,Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 25 07:19:22 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZsFZ-0003kS-Ae for ged-emacs-devel@m.gmane.org; Tue, 25 Jul 2017 07:19:17 +0200 Original-Received: from localhost ([::1]:58490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZsFa-0001gi-5Z for ged-emacs-devel@m.gmane.org; Tue, 25 Jul 2017 01:19:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZsEx-0001d2-3G for emacs-devel@gnu.org; Tue, 25 Jul 2017 01:18:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZsEt-0003eC-UM for emacs-devel@gnu.org; Tue, 25 Jul 2017 01:18:39 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZsEt-0003e4-Qi; Tue, 25 Jul 2017 01:18:35 -0400 Original-Received: from [176.13.240.113] (port=5264 helo=[10.128.204.174]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dZsEt-0003Pv-2j; Tue, 25 Jul 2017 01:18:35 -0400 In-Reply-To: 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:217010 Archived-At: On July 25, 2017 6:22:32 AM GMT+03:00, Stefan Monnier wrote: > > We are miscommunicating=2E By "the problem" I meant the reason(s) why > > autoloading a defcustom should be considered undesirable, and by > > "proposed solutions" the alternatives for making sure a defcustom'd > > variable is defined when it is needed=2E >=20 > There is no need for the variable to be defined in order to `setq' it, > which is why a simple (defvar foo) is sufficient here=2E >=20 >=20 > Stefan This is not what I asked about=2E I asked why autoloading defcustoms is "considered harmful"=2E If it isn't, then there's nothing wrong with the original code as pushed=2E