GNU bug report logs - #60199
29.0.60; Make use-package cooperate with package-vc

Previous Next

Package: emacs;

Reported by: Kai Ma <justksqsf <at> gmail.com>

Date: Mon, 19 Dec 2022 11:07:01 UTC

Severity: wishlist

Found in version 29.0.60

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 60199-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Kai Ma <justksqsf <at> gmail.com>
Cc: 60199-done <at> debbugs.gnu.org
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 <at> 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.




This bug report was last modified 1 year and 339 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.