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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60199: closed (29.0.60; Make use-package cooperate with
 package-vc)
Date: Mon, 04 Sep 2023 20:27:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 4 Sep 2023 13:26:03 -0700
with message-id <CADwFkmnmNZxy525hbZmsEpgcBznh9iOrQKg9tyHez2eTrzONWw <at> mail.gmail.com>
and subject line Re: bug#60199: 29.0.60; Make use-package cooperate with package-vc
has caused the debbugs.gnu.org bug report #60199,
regarding 29.0.60; Make use-package cooperate with package-vc
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60199: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60199
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.


[Message part 3 (message/rfc822, inline)]
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.