From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 012487b: * lisp/display-line-numbers.el (display-line-numbers-type): Autoload it. Date: Mon, 24 Jul 2017 13:30:50 -0400 Message-ID: References: <20170723072843.23485.53761@vcs0.savannah.gnu.org> <20170723072844.877FD22EF0@vcs0.savannah.gnu.org> <87inijxnda.fsf@detlef> <87vamh7nl3.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500917551 436 195.159.176.226 (24 Jul 2017 17:32:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 17:32:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Glenn Morris , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 24 19:32:27 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 1dZhDU-0008DS-6u for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 19:32:24 +0200 Original-Received: from localhost ([::1]:56084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZhDZ-0003M5-Sm for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 13:32:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZhCD-0003K8-7Y for emacs-devel@gnu.org; Mon, 24 Jul 2017 13:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZhCC-0004Uc-En for emacs-devel@gnu.org; Mon, 24 Jul 2017 13:31:05 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:56357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZhC7-0004QZ-21; Mon, 24 Jul 2017 13:30:59 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v6OHUpfT027838; Mon, 24 Jul 2017 13:30:52 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B408C660EB; Mon, 24 Jul 2017 13:30:50 -0400 (EDT) In-Reply-To: <87vamh7nl3.fsf@detlef> (Michael Albinus's message of "Mon, 24 Jul 2017 19:26:48 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6078=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6078> : inlines <5991> : streams <1755592> : uri <2468997> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:216986 Archived-At: > If the user prefers another value but the default one, > `display-line-numbers-type' shall be modified prior the first call of > `display-line-numbers-mode' or global-display-line-numbers-mode'. > A typical use case for the autoload cookie. You can setq a variable long before it's defined. So no, this is not a typical case for an autoload. Stefan