From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tony Zorman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60418: [PATCH] Add :vc keyword to use-package Date: Wed, 12 Apr 2023 11:00:46 +0200 Message-ID: <87edopiif5.fsf@hyperspace> References: <87zgb6uk2r.fsf@hyperspace> <87tu0tl1s4.fsf@hyperspace> <87a5zt2emd.fsf@betli.tmit.bme.hu> <87fs9l9bim.fsf@posteo.net> <87y1n3zsro.fsf@posteo.net> <871qku220f.fsf@betli.tmit.bme.hu> <874jpq920b.fsf@posteo.net> <87cz4ezpwi.fsf@betli.tmit.bme.hu> <87h6tlinft.fsf@hyperspace> <87r0spa712.fsf@posteo.net> Reply-To: Tony Zorman Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25952"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60418@debbugs.gnu.org, Felician Nemeth , stefankangas@gmail.com To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 17:22:46 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 1pmcJ3-0006V6-HD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 17:22:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmcIS-0003DM-MA; Wed, 12 Apr 2023 11:22:08 -0400 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 1pmcIQ-0003CT-BS for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:22:06 -0400 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 1pmcIP-0002uq-KY for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:22:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmcIP-0004aD-H5 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:22:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tony Zorman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 15:22:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60418-submit@debbugs.gnu.org id=B60418.168131290517516 (code B ref 60418); Wed, 12 Apr 2023 15:22:05 +0000 Original-Received: (at 60418) by debbugs.gnu.org; 12 Apr 2023 15:21:45 +0000 Original-Received: from localhost ([127.0.0.1]:40667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcI4-0004YM-NF for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:21:45 -0400 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:33196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmWLZ-00074X-2R for 60418@debbugs.gnu.org; Wed, 12 Apr 2023 05:00:59 -0400 Original-Received: from smtp202.mailbox.org (unknown [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4PxGrw54sZz9sl5; Wed, 12 Apr 2023 11:00:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1681290048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kZEq9qWZz3uH/YPPPqwO5UGZr8pJNoFK0MjYnUphg0A=; b=FEKeVjm91dNxAlVV1OMTm0K6/l9IIqzMQzMiIKhx4yniDkp/IPIrFCWht1p5FiDWt/bn9i H+wMEM3G9+4zomCTsGgFynf3QWNUTsD5LS8VSDLWdcsSTirAgiRQTNLd0K+K/98VUvUzV7 /UDjxb8z9JlMocoHNIEBV91DURWWmAlwdoTDT3WMXppueA1IgH4f0KBhXNnK/FqjX9IyhG 1gp7bqvpNRELYt5CQK6Hwn+NZirrtcTjooakfV71K+SHYsYXjOUwO9qAB/Ws6Iq2sCfSMO LlfhgaAARQ9Ntg3yOB269SwKdaMnpTjqPhtzDLVklGHLUHSXAtTeMtLVSrC5Xg== In-Reply-To: <87r0spa712.fsf@posteo.net> X-MBO-RS-META: wap1m18rfsgt7cyo97kpaasiejahnx5g X-MBO-RS-ID: 8cf8f87938475d54f3c X-Mailman-Approved-At: Wed, 12 Apr 2023 11:21:37 -0400 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:259761 Archived-At: On Wed, Apr 12 2023 07:34, Philip Kaludercic wrote: > 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? Yes, sounds good to me. I should have time to prepare a revised patch this weekend. >> 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. Fair point. I should have mentioned that I already had a `use-package` declaration for org-mode, so trying out the branch simply required adding a single line, which is why that felt so nice. -- Tony Zorman | https://tony-zorman.com/