[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using use-package
From: |
Rusi |
Subject: |
Re: using use-package |
Date: |
Sat, 8 Aug 2015 19:43:42 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Sunday, August 9, 2015 at 4:54:39 AM UTC+5:30, Stefan Monnier wrote:
> > Putting in the core is rather some distance from promoting as the "one
> > true way"
>
> FWIW, lots of use-package is designed to work around flaws in packages.
>
> E.g. the :load-path thingy should never be necessary since the package's
> own autoloads should already take care of that.
>
> Or to take another example from https://github.com/jwiegley/use-package:
>
> (use-package foo
> :init
> (setq foo-variable t)
> :config
> (foo-mode 1))
>
> For any properly written foo-mode, the above can be replaced with
>
> (setq foo-variable t)
> (foo-mode 1)
>
> and it should work just as well.
Are you serious Stefan?
Here's a 3-line init:
---------------------
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/"))
(package-initialize)
---------------------
Start emacs -Q with that and I get:
Symbol's value as variable is void: package-archives
Precede by a (require 'package) and error vanishes
- Re: using use-package, (continued)
- Re: using use-package, John Yates, 2015/08/13
- Re: using use-package, John Wiegley, 2015/08/14
- Re: using use-package, Phillip Lord, 2015/08/14
- Message not available
- Re: using use-package, Stefan Monnier, 2015/08/14
- 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 <=
- 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, 2015/08/09
- 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