From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61937: 29.0.60; [FR] use-package :ensure to allow vc sources Date: Fri, 03 Mar 2023 22:57:36 +0800 Message-ID: Reply-To: Ruijie Yu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22575"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.14; emacs 29.0.60 To: 61937@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 03 16:07:41 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pY70V-0005cq-W0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Mar 2023 16:07:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY6zv-0001Gh-Bi; Fri, 03 Mar 2023 10:07:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY6zu-0001GT-KB for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 10:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pY6zu-0002Xj-BK for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 10:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pY6zt-0002u1-N6 for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 10:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Mar 2023 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61937 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167785596511089 (code B ref -1); Fri, 03 Mar 2023 15:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Mar 2023 15:06:05 +0000 Original-Received: from localhost ([127.0.0.1]:33713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY6yv-0002sU-5J for submit@debbugs.gnu.org; Fri, 03 Mar 2023 10:06:05 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY6yp-0002sE-Dl for submit@debbugs.gnu.org; Fri, 03 Mar 2023 10:06:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY6yp-00018P-0m for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 10:05:55 -0500 Original-Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY6yi-0002GR-FT for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 10:05:54 -0500 Original-Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id e01b794c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 3 Mar 2023 15:05:40 +0000 (UTC) Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257218 Archived-At: I have been using straight.el [1] before `use-package' was taken into emacs.git, as I needed to use some packages not from any elpa source but from vc sources. I recently noticed the function `package-vc-install' has been introduced into 29, and would like to have `use-package' use it in its :ensure form. An analogous version from straight.el has already been made available, which looks like the following: (use-package foo :straight (foo :repo "https://path.to/foo.el" :type git)) My hope is to extend :ensure form so that a similar specification can be supplied to install packages directly from vc sources. [1]: https://github.com/radian-software/straight.el -- Best, RY