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: Loading a package applies automatically to future sessions? Date: Mon, 29 Jan 2018 16:50:15 -0500 Message-ID: References: <76b1fb81-54c0-c213-a542-dc7b9838c473@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1517262262 23294 195.159.176.226 (29 Jan 2018 21:44:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2018 21:44:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: George Plymale II , emacs-devel To: Radon Rosborough Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 29 22:44:18 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 1egHDg-0004nt-8y for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 22:44:04 +0100 Original-Received: from localhost ([::1]:41756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egHFf-0002j9-DV for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 16:46:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egHFY-0002j0-QS for emacs-devel@gnu.org; Mon, 29 Jan 2018 16:46:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egHFT-00069A-V6 for emacs-devel@gnu.org; Mon, 29 Jan 2018 16:46:00 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:50158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egHFT-000687-Qq for emacs-devel@gnu.org; Mon, 29 Jan 2018 16:45:55 -0500 Original-Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w0TLjqoP012207; Mon, 29 Jan 2018 16:45:52 -0500 Original-Received: by lechazo.home (Postfix, from userid 20848) id 6A13460164; Mon, 29 Jan 2018 16:50:15 -0500 (EST) In-Reply-To: (John Wiegley's message of "Mon, 29 Jan 2018 11:55:55 -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, RV6210=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6210> : inlines <6345> : streams <1777470> : uri <2582239> 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:222303 Archived-At: > True. Note that I did shave an entire second from my startup time just by > adding: > (setq package-enable-at-startup nil) My experiments indicate that we might be able to divide this time by almost a factor 10 if we pre-compute and byte-compile one big autoloads file, so it would only shave 0.1s of your startup time. Given that it would also let you simplify the rest of your startup, there's a chance the result would be pretty competitive with your current setup. Stefan