From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 4449301: * etc/NEWS: Improve documentation of 'package-initialize'. Date: Mon, 04 Nov 2019 12:53:05 -0500 Message-ID: References: <20191022021600.2389.91268@vcs0.savannah.gnu.org> <20191022021602.B41B3209DE@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="147602"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 04 18:53:57 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iRgY8-000cH4-CS for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2019 18:53:56 +0100 Original-Received: from localhost ([::1]:36014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRgY7-0007eo-8d for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2019 12:53:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37087) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRgXP-0007c4-EA for emacs-devel@gnu.org; Mon, 04 Nov 2019 12:53:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRgXN-0004KI-ME for emacs-devel@gnu.org; Mon, 04 Nov 2019 12:53:10 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:12060) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iRgXN-0004Ic-Ff for emacs-devel@gnu.org; Mon, 04 Nov 2019 12:53:09 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2AB45100506; Mon, 4 Nov 2019 12:53:08 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B7F861004A7; Mon, 4 Nov 2019 12:53:06 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572889986; bh=NQRyPH/iBS5hz914SJbkZMsSrU/Z8UXteee7qXqbZGs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=o06s8Nl9IAOirVnqjJKnCHX2Nxw1TOraNCJi1lkW7IJH9f49WCU9qZWsyVuNQLnDe YQqV9wHqSSc5QYKGEMr4gzUL8Zzm4sqt8Bq/cr+0rowNjQXZiUCGhRVdS6PxGknjUR 23sIKNSCQtnRiQQi9lY319JAIMn/ArYx2qeIu8mAyDRS3EjC+aDw7wiHWa7ariCf4n rjmadnMszhPyGI1b8EpcNRxXSQGds76+cMSVN7EJ9KYTuMIddlLkeYLmJE4bOPanMj jkoiD6jBF9L/V+35foeBbARNwFhvOp9ZrV+j/HBDpLo3qLpSLT0w3rEusqS9NhB7LR dAUgO+/Hphvkw== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7493C1202AA; Mon, 4 Nov 2019 12:53:06 -0500 (EST) In-Reply-To: (Stefan Kangas's message of "Sat, 2 Nov 2019 05:57:58 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:241784 Archived-At: > I started looking into package-enabe-at-startup, and of course the > above reasoning goes for package-load-list and package-user-dir; that > is, setting them via customize has no effect. Yes and no: you can set `package-load-list` and `package-user-dir` in your .emacs (and/or via customize) in order to affect the place where packages are later installed and also in order to affect a subsequent manual package-activate-all. Currently, this requires setting (setq package-alist nil) by hand to force reloading the package descriptors, but my hope is that we can improve this in the future (e.g. with a :setter placed on those vars so that package-activate-all is called again when they're modified via custom). Also, a "late-setting" of `package-load-list` (e.g. when set via customize) will still work if you use `package-quickstart`. > Meanwhile, the attached patch makes us not change the value of > package-enable-at-startup by introducing a new variable. Any > comments? The patch looks OK to me, Stefan