all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#60199: 29.0.60; Make use-package cooperate with package-vc
@ 2022-12-19 11:06 Kai Ma
  2023-09-04 20:26 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Ma @ 2022-12-19 11:06 UTC (permalink / raw)
  To: 60199

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#60199: 29.0.60; Make use-package cooperate with package-vc
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2023-09-04 20:26 UTC (permalink / raw)
  To: Kai Ma; +Cc: 60199-done

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-04 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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.