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: [PATCH] Fixing package-initialize, adding early init file Date: Sun, 11 Feb 2018 09:45:09 -0500 Message-ID: References: <83po9vos4z.fsf@gnu.org> <87shelv2m6.fsf@udel.edu> <83vajgh4xe.fsf@gnu.org> <838tc12h42.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518360268 19930 195.159.176.226 (11 Feb 2018 14:44:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2018 14:44:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel To: Radon Rosborough Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 11 15:44:23 2018 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 1eksrI-0003XR-PP for ged-emacs-devel@m.gmane.org; Sun, 11 Feb 2018 15:44:00 +0100 Original-Received: from localhost ([::1]:45995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekstK-0001XO-8x for ged-emacs-devel@m.gmane.org; Sun, 11 Feb 2018 09:46:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekst3-0001Uo-1R for emacs-devel@gnu.org; Sun, 11 Feb 2018 09:45:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekssz-0007rK-W5 for emacs-devel@gnu.org; Sun, 11 Feb 2018 09:45:49 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:34913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekssz-0007pm-Px for emacs-devel@gnu.org; Sun, 11 Feb 2018 09:45:45 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w1BEjHcl026290; Sun, 11 Feb 2018 09:45:26 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 96D1E6052C; Sun, 11 Feb 2018 09:45:09 -0500 (EST) In-Reply-To: (Radon Rosborough's message of "Sat, 10 Feb 2018 19:26:57 -0800") 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, RV6219=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6219> : inlines <6389> : streams <1778677> : uri <2590934> 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:222665 Archived-At: >> [ ...looking up package-initialize... ] OMG, you're right >> it's interactive. Does it make sense to use it interactively, really? > Yes, I've done so dozens of times when I'm testing package.el. I consider that for such purposes `M-: (package-initialize) RET` (or the same done from IELM) is quite sufficient. "Use it interactively" here is meant for "normal users", not for someone hacking on package.el. > The purpose of the command is to activate all installed packages, > without doing anything else. Actually, it has 2 purposes. Activating the packages is only one of the two: in order to speed up startup by caching the autoloads like I do in my package-fastpath patch, we will need to separate those two purposes. Stefan