From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.devel Subject: Re: Loading a package applies automatically to future sessions? Date: Sun, 28 Jan 2018 21:53:28 -0800 Message-ID: References: <76b1fb81-54c0-c213-a542-dc7b9838c473@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1517205150 30080 195.159.176.226 (29 Jan 2018 05:52:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2018 05:52:30 +0000 (UTC) Cc: John Wiegley , George Plymale II , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 29 06:52:25 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 1eg2MZ-0006zO-AU for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 06:52:15 +0100 Original-Received: from localhost ([::1]:40735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eg2OY-0005XO-5d for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 00:54:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eg2OR-0005XE-Ay for emacs-devel@gnu.org; Mon, 29 Jan 2018 00:54:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eg2OQ-0005XY-K7 for emacs-devel@gnu.org; Mon, 29 Jan 2018 00:54:11 -0500 Original-Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:37178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eg2OQ-0005Wz-BQ for emacs-devel@gnu.org; Mon, 29 Jan 2018 00:54:10 -0500 Original-Received: by mail-lf0-x233.google.com with SMTP id 63so8158086lfv.4 for ; Sun, 28 Jan 2018 21:54:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MaR5eaLuH0H0kmOFPDB0yyYTPyE1V/iR1lpjKIKb7yA=; b=ROP//w2GDcwD5mcEkcUGHzhRrj4rTjyt/iT1orGdO5WHQsaDu2GrrRYBPgi3UislXd 9QRdRu/9iAlkZWxdw2HliAhqdMRgGZtduum1RWfuyyNYPl7WZXwr6IQeIcbTEkppYiHk GTcf6tLGWC83RFh+pepwvQGCJ+yHdOwiTAaKghD+pp5Mit6EBfzYrCQlhPRge4YshVx5 CXJJvz7q4chcv+OoBxASyaBsjXXFux6MdptbLs5GeBs3Rhq7mmP75ag3qxjpGReLYbDS RCrgmBgf7aFPN+cKCmz8BgroQXbkk73CFYKUx/8JoU6vPq6Xb+Rz/GreD7QEzTN12T7E AVmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MaR5eaLuH0H0kmOFPDB0yyYTPyE1V/iR1lpjKIKb7yA=; b=EBYqHadT3wr11qkytDt0OEF1lkLHnnp907KyEOmbzC3LcvhnhHQDt+CY2nCu5Dgr7z T8r3zitG7C3lFehNHkUeiIje/TjQ5OITk0yrEjRDYJrwfkJTpP1M/psxdFm7geBP2TP+ BBhx3rYxvaTNOdTmxyFlKwT7Gwhi+NxP1CGSw/eU/AR9DNOE0KRH+M5Sd9pq13BgalUf Ess3C0FnbliA08GECnBom1wLVzH9kn+VGHvumApK2LjSkSHWW4pNkJRotJNgQ0ezEpCF tK1JDRcuXdycqlPCjrSfxBq9eG/WkYe2UBxNqZ+ChzDbYOND/BRalo0NzOP84K0JFSNu pYHQ== X-Gm-Message-State: AKwxytdzvK6hrQ/gzs1hlTU2b2vycfGnjx+WmlAQwnpl7TXMYoNDRAYY oe+Gx+NR6/4EVccxm/Y2gPb1wzJoNMLSbu0fFWOpDdmOES8= X-Google-Smtp-Source: AH8x2256www5eElXn0uPZRHthb4PcJzyyeDxn8Rj1yxV87P/uIe1/OI1JumYW3NE1pRpfCKB/JZXwhr5fw1Pyx9Neug= X-Received: by 10.46.44.13 with SMTP id s13mr334821ljs.129.1517205248891; Sun, 28 Jan 2018 21:54:08 -0800 (PST) Original-Received: by 10.25.16.101 with HTTP; Sun, 28 Jan 2018 21:53:28 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::233 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:222288 Archived-At: > - In the case of JW, why does he have so many packages installed to slow > down his startup, yet he doesn't want them activated? Are these > packages that he does use, but just rarely? Or does he just have lots of > packages installed that he doesn't use (e.g. that's my case: I always > have all GNU ELPA packages installed, even though I use very few of > them)? If so, why does he have so many packages installed even tho he > doesn't use them? JW does not use package.el. Instead he uses git-subtree to manage the packages and use-package to autoload them. The point I was trying to demonstrate by bringing this up was that package activation is not cheap. > Still, what kind of slowdown is JW talking about: is it also in the > order of 1s? I quote: Especially when working on modes with complex state, I frequently restart Emacs, sometimes hundreds of times a day. Before use-package, my load times were upwards of 10-20 seconds. Today, even with >300 declarations, it's down to 0.44 seconds, without any loss of functionality. -- Radon