--- Begin Message ---
Subject: |
29.0.60; Make use-package cooperate with package-vc |
Date: |
Mon, 19 Dec 2022 19:06:07 +0800 |
Severity: wishlist
Given that Emacs 29 has both use-package and package-vc, it seems useful
to combine them together. IIUC, currently the :ensure keyword only uses
'package-install'. It would be great if one can write,
(use-package foo
:ensure "https://github.com/bar/foo")
which expands to something using package-vc-install.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#60199: 29.0.60; Make use-package cooperate with package-vc |
Date: |
Mon, 4 Sep 2023 13:26:03 -0700 |
Kai Ma <justksqsf@gmail.com> writes:
> Severity: wishlist
>
> Given that Emacs 29 has both use-package and package-vc, it seems useful
> to combine them together. IIUC, currently the :ensure keyword only uses
> 'package-install'. It would be great if one can write,
>
> (use-package foo
> :ensure "https://github.com/bar/foo")
>
> which expands to something using package-vc-install.
Your wish has been granted. Emacs 30.1 will have the :vc keyword:
The ‘:vc’ keyword can be used to control how packages are downloaded
and/or installed. More specifically, it allows one to fetch and update
packages directly from a version control system. This is especially
convenient when wanting to install a package that is not on any package
archive.
--- End Message ---