[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling (package-initialize) sooner during initialization
From: |
Aneesh Kumar K.V |
Subject: |
Re: Calling (package-initialize) sooner during initialization |
Date: |
Sun, 12 Apr 2015 20:10:45 +0530 |
User-agent: |
Notmuch/0.19+30~gd241a48 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) |
Jorgen Schäfer <address@hidden> writes:
> Hello.
> I think a major part of the problem here is that package-initialize does
> a lot more things than it needs to. All that has to happen before the
> user init file is loaded is to load the autoload files from ~/.emacs.d/elpa/.
> Everything else can happen on demand or after the init file is loaded,
> because it is not necessary to make packages available.
>
> If package.el provided some sort of (package-load-directory DIR), and
> ran that on ~/.emacs.d/elpa/, that should fix most use cases already:
>
I ran into an issue with using package.el along with use-package.el. I
had most of the packages installed via package.el . One of the main
benefit of using elpa is the easy upgrade of packages that elpa
offers. So it would be nice to have a facility that enables to add all
the installed packages to the load-path so that a (require 'use-package)
can work. This enables us to delay the package initialization of elpa
packages using use-package,which in-turn helps the emacs startup time.
-aneesh
- Re: Calling (package-initialize) sooner during initialization, (continued)
Re: Calling (package-initialize) sooner during initialization, Jorgen Schäfer, 2015/04/12
Re: Calling (package-initialize) sooner during initialization,
Aneesh Kumar K.V <=
Re: Calling (package-initialize) sooner during initialization, Stefan Monnier, 2015/04/12
Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/13
Re: Calling (package-initialize) sooner during initialization, Ted Zlatanov, 2015/04/18
Re: Calling (package-initialize) sooner during initialization, Taylan Ulrich Bayırlı/Kammer, 2015/04/18