help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: using use-package


From: Stefan Monnier
Subject: Re: using use-package
Date: Tue, 11 Aug 2015 11:22:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> I happen to prefer :load-path, since relying on Emacs' automated discovery
> takes longer than loading my entire init.el now.

If you use ELPA and package-initialize to install your packages,
the load-path and the autoloads are already set and that time is
already "wasted".

So are you saying that use-package is designed for the case where you
don't use ELPA?  It is the impression I got when I looked at
use-package, but it seems like an odd position nowadays.

[ Note: if the time to run package-initialize is too high, it could be
  improved by caching.  I haven't heard any complaint about its speed
  so far, tho.  ]

>> IOW, in many cases, it would be better for people to report the problem as a
>> bug rather than to reach for use-package.
> The idea that use-package will never make it into core because "package
> authors should do things a better way" strikes me as a very odd argument.

To be more precise, I don't think those problems in packages are
particularly frequent, so it's perfectly OK to report them in those rare
remaining cases.


        Stefan




reply via email to

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