all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Kai Ma <justksqsf@gmail.com>
Cc: 60199-done@debbugs.gnu.org
Subject: bug#60199: 29.0.60; Make use-package cooperate with package-vc
Date: Mon, 4 Sep 2023 13:26:03 -0700	[thread overview]
Message-ID: <CADwFkmnmNZxy525hbZmsEpgcBznh9iOrQKg9tyHez2eTrzONWw@mail.gmail.com> (raw)
In-Reply-To: <m2tu1r64bk.fsf@gmail.com> (Kai Ma's message of "Mon, 19 Dec 2022 19:06:07 +0800")

Kai Ma <justksqsf@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.





      reply	other threads:[~2023-09-04 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 11:06 bug#60199: 29.0.60; Make use-package cooperate with package-vc Kai Ma
2023-09-04 20:26 ` Stefan Kangas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmnmNZxy525hbZmsEpgcBznh9iOrQKg9tyHez2eTrzONWw@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=60199-done@debbugs.gnu.org \
    --cc=justksqsf@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.