[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: |
Sun, 09 Aug 2015 12:45:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> One basic property of FP is that things should not be more order sensitive
> than the minimum (data-dependency) required
Agreed.
> By not having package-archive as an autoload, those two statements become
> more order dependent than they (seemingly) need be.
I don't see it that way: add-to-list is inherently different from setq
(from a data-dependency point of view), so you can't expect
(add-to-list 'foo bar) to work properly without first loading the
package that defines foo.
Relying on variables being autoloaded would just open another can of worms.
> And if core emacs functionality can be thus fragile is it realistic to expect
> random packages to satisfy all the new/changing/confusing best practices?
AFAIK those "best practices" aren't very new and changing. They've been
used for bundled Emacs packages for many years and all GNU ELPA packages
have strived to do the same from the very beginning.
> IOW you folks should give a serious consideration to putting
> (something like) use-package (better req-package) in the core
The problem is to define "something like".
Stefan
- Re: using use-package, (continued)
- Re: using use-package, John Yates, 2015/08/14
- Message not available
- Re: using use-package, Stefan Monnier, 2015/08/14
- RE: using use-package, Drew Adams, 2015/08/14
- Re: using use-package, Phillip Lord, 2015/08/14
- RE: using use-package, Drew Adams, 2015/08/14
- Message not available
- Re: using use-package, Rusi, 2015/08/12
- Message not available
- Re: using use-package, Rusi, 2015/08/08
- Re: using use-package, Stefan Monnier, 2015/08/09
- Re: using use-package, Rusi, 2015/08/09
- Re: using use-package, Emanuel Berg, 2015/08/09
- Re: using use-package,
Stefan Monnier <=
- Re: using use-package, Rusi, 2015/08/09
- Re: using use-package, Stefan Monnier, 2015/08/09
- Re: using use-package, Rusi, 2015/08/09
- Re: using use-package, Stefan Monnier, 2015/08/09
- Re: using use-package, Robert Thorpe, 2015/08/10
- Re: using use-package, Emanuel Berg, 2015/08/10
- Re: using use-package, Phillip Lord, 2015/08/11
- Re: using use-package, Stefan Monnier, 2015/08/13
- Re: using use-package, Nikolay Kudryavtsev, 2015/08/14
- Re: using use-package, Edward Knyshov, 2015/08/14