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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60199 in the body.
You can then email your comments to 60199 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#60199; Package emacs. (Mon, 19 Dec 2022 11:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kai Ma <justksqsf <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 19 Dec 2022 11:07:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kai Ma <justksqsf <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
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.




Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Mon, 04 Sep 2023 20:27:01 GMT) Full text and rfc822 format available.

Notification sent to Kai Ma <justksqsf <at> gmail.com>:
bug acknowledged by developer. (Mon, 04 Sep 2023 20:27:01 GMT) Full text and rfc822 format available.

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Oct 2023 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 178 days ago.

Previous Next


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