Subject: bug#60199: closed (Re: bug#60199: 29.0.60; Make use-package cooperate with package-vc)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 04 Sep 2023 20:27:01 +0000

Your bug report

#60199: 29.0.60; Make use-package cooperate with package-vc

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60199: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60199
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#60199: 29.0.60; Make use-package cooperate with package-vc
From: Stefan Kangas <[email-masked]>
To: Kai Ma <[email-masked]>
Cc: [email-masked]
Date: Mon, 4 Sep 2023 13:26:03 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Kai Ma <[email-masked]> 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.

Subject: 29.0.60; Make use-package cooperate with package-vc
From: Kai Ma <[email-masked]>
To: [email-masked]
Date: Mon, 19 Dec 2022 19:06:07 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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.