[Top][All Lists]

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

Re: use-package.el -> Emacs core

From: John Wiegley
Subject: Re: use-package.el -> Emacs core
Date: Mon, 09 Nov 2015 17:05:06 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

>>>>> Artur Malabarba <address@hidden> writes:

> Alternative? I was under the impression that use-package was a way of
> organising your package configurations in the init file (and ensuring that
> they are installed), with installation/upgrading itself still being done via
> package.el. Did I get it wrong?

I think I said it wrong by using the words "package management":

- package.el is for installing, upgrading, and removing packages, and for
  establishing autoloads and customization access to those packages.
  use-package does none of these things, although it is able to make use
  of package.el.

- use-package is for configuration only. The stuff you'd already write in
  init.el, only more declaratively. Nor does it seek to replace M-x customize,
  since the two work together rather nicely (this is what I do).

It was my error for making them seem as though they were on the same footing.
They are almost completely orthogonal. The two can live together in perfect
harmony; or, a user who makes no use of package.el can use use-package to
clean up configuration code that doesn't fit the customization interface.


reply via email to

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