[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: use-package

From: Stefan Monnier
Subject: Re: use-package
Date: Tue, 03 May 2016 18:28:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> use-package speeds up startup times by delaying the loading the packages
> that you can afford to..

In my point of view, the job that use-package does is only useful when
the corresponding package is poorly setup to start with.

IOW, if use-package is helpful, usually it indicates a shortcoming in
the package or in the way the package is installed.

> for example, you do not need to load org-mode until you are in
> a buffer with org-mode major mode or you call one of the commands like
> org-agenda that autoloads org-mode.

That's right.  But that's already the case without doing any config at
all (because org-mode is setup properly to start with), so you shouldn't
need use-package for that.

I see use-package as having 2 benefits:
- work around package shortcomings as described above.
- help the user structure his .emacs configuration.
I'd like to see those two parts separated, FWIW.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]