GNU bug report logs - #60418
[PATCH] Add :vc keyword to use-package

Previous Next

Package: emacs;

Reported by: Tony Zorman <soliditsallgood <at> mailbox.org>

Date: Fri, 30 Dec 2022 07:04:03 UTC

Severity: normal

Tags: patch

Merged with 61937

Found in version 29.0.60

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


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

From: Philip Kaludercic <philipk <at> posteo.net>
To: Tony Zorman <soliditsallgood <at> mailbox.org>
Cc: 60418 <at> debbugs.gnu.org, Felician Nemeth <felician.nemeth <at> gmail.com>,
 stefankangas <at> gmail.com
Subject: Re: bug#60418: [PATCH] Add :vc keyword to use-package
Date: Wed, 12 Apr 2023 07:34:01 +0000
Tony Zorman <soliditsallgood <at> mailbox.org> writes:

> On Sat, Apr 08 2023 11:25, Felician Nemeth wrote:
>>> [...] All I want to understand is the motivation behind this feature
>>> in the first place.
>>
>> One use-case is to let package developers to distribute thier packages
>> without a package archive.  Or more precisely, to let users conveniently
>> install packages that are not in a package archive.
>
> FWIW, this was also my motivation for making this change. It's just
> incredibly convenient to be able to do this without installing
> third-party dependencies.

I think that this is a legitimate point, and I would be ready to push
this change if you could adjust the patch to checkout the latest release
instead of the latest commit by default, as Felician proposed.  Does
that sound good to you?

> Further, it also makes testing out new changes very easy. For example, I
> wanted to try out the overhauled LaTeX preview system that was proposed
> for Org mode [1]. Rather than having to clone the respective repo and
> check out the branch manually, this was just a
>
>     (use-package org
>       :vc (:url "https://git.tecosaur.net/tec/org-mode.git" :branch "dev"))
>
> away, which is certainly a win in my book. 

To be fair, use-package is not necessary here.  You can also just use
package-vc-checkout to download a package to some directory and check it
out that way.  I have a command somewhere that even automates the
selection and would just "install" the package for a single session.

> [1]: https://lists.gnu.org/archive/html/emacs-orgmode/2023-03/msg00196.html





This bug report was last modified 2 years and 1 day ago.

Previous Next


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