From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felician Nemeth Newsgroups: gmane.emacs.bugs Subject: bug#60418: [PATCH] Add :vc keyword to use-package Date: Sat, 08 Apr 2023 11:25:49 +0200 Message-ID: <87cz4ezpwi.fsf@betli.tmit.bme.hu> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Tony Zorman , 60418@debbugs.gnu.org, stefankangas@gmail.com To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 08 11:26:11 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 1pl4pn-0000wC-Eo for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Apr 2023 11:26:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pl4pg-0006in-ON; Sat, 08 Apr 2023 05:26:04 -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 1pl4pf-0006iP-7D for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 05:26:03 -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 1pl4pe-0005Cd-Vl for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 05:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pl4pe-0005ka-BL for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 05:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Felician Nemeth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2023 09:26:02 +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.168094595822095 (code B ref 60418); Sat, 08 Apr 2023 09:26:02 +0000 Original-Received: (at 60418) by debbugs.gnu.org; 8 Apr 2023 09:25:58 +0000 Original-Received: from localhost ([127.0.0.1]:57725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl4pa-0005kI-Jm for submit@debbugs.gnu.org; Sat, 08 Apr 2023 05:25:58 -0400 Original-Received: from mail-ej1-f42.google.com ([209.85.218.42]:46775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl4pZ-0005k5-3H for 60418@debbugs.gnu.org; Sat, 08 Apr 2023 05:25:57 -0400 Original-Received: by mail-ej1-f42.google.com with SMTP id xi5so1877703ejb.13 for <60418@debbugs.gnu.org>; Sat, 08 Apr 2023 02:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680945951; x=1683537951; h=mime-version:face:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=WeVKeapj6KaNjf+h7bUPkpANjKJR7SgAtVxrlasUd9Y=; b=QNNQqfMQhA8Uh86G2VG+Mvg4rp6Bc8h8WXSAtJ9LBRYsC1Pn0K2NnEUiO0bPWNdMFX vUoMmLBZ/x28OUFfnc2jEJdK2sYjrlQQQ0NG2xt4fHIF7GOwyN4xWBg06PpXe3b+f1f2 8EEJMok5AFJPaM4rYLY/xBjtrzAz4A46CXV4ymgXdAWbukbCFNWKKHAyUL12RUO1TBwo vIgk57mbltWwDQ40GKa3vqiMZzkMKIJcNDeSRDpVFM80GatUUjq8lWyLKMtS2Pto+sFB UkqpxOeZludJnnIi1jpNzrbC/GlKUUSZbXwmUUpq3XN1vGzC/QlnhdLvPtX40MBgtJAp EvIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680945951; x=1683537951; h=mime-version:face:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WeVKeapj6KaNjf+h7bUPkpANjKJR7SgAtVxrlasUd9Y=; b=eGWLRUZZZ9bRP6SEL/mRmAo8OW8hllKs2uE7yN9MBJ2L1qdOG+t9mnLlhTJW8bMvx0 qwgMW8EEaFomP3GcTp/ejqi/1C8asNL9Q0jZHktJtMpBgMUiFp54cHpgn9eLL9GC35f0 k0HyOBTPp/62kYin1LYuibWh2Z7JiYzZe7FyJk50GuNZr+sTA60NCBKy33nDznQDeP/Q 2rU/tjwxxr8ayE2+kyQ+hg56MA5ktuREamTYAO7+yQZLg7oWpzC+S0NNJETYpacU26A/ hg4KDnjP9N0PBGUTBwmrW9c29UHAiSA8KzX/9NxZmtEWgrX2sw9yE+3QskACbo/S52Gj f3sQ== X-Gm-Message-State: AAQBX9eMlETEG2w+4icbzCCGh9b1Icq96803OXBfTEhVGD8OC1g55AEX cC2yXgTGWLijHJrSTXpzVwU= X-Google-Smtp-Source: AKy350YEz04WtmHeXa/LX4qwNXSLR6SyV1ncUPoWvMimhZBEvwiayu+YBF3SzlIi+fvhev1YYVz7tw== X-Received: by 2002:a17:906:13da:b0:930:d17b:959b with SMTP id g26-20020a17090613da00b00930d17b959bmr2094914ejc.22.1680945950952; Sat, 08 Apr 2023 02:25:50 -0700 (PDT) Original-Received: from betli.gmail.com (catv-86-101-66-128.catv.fixed.vodafone.hu. [86.101.66.128]) by smtp.gmail.com with ESMTPSA id mm25-20020a170906cc5900b0093e9fb91837sm2964503ejb.76.2023.04.08.02.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 02:25:50 -0700 (PDT) In-Reply-To: <874jpq920b.fsf@posteo.net> (Philip Kaludercic's message of "Sat, 08 Apr 2023 09:06:28 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUMBwgHAgMFAAGPjY7/ //80MDHq6eqJt3pKAAABr0lEQVQ4jX2UzZKDIAzHqR177q7TPbtx2HMr6guQcrbY9txZ0fd/hA0f onXazcEJ/CD8E4Js8/HS9mwjXtqeMRxHXJkakTEm4b4GPVQW8PU8ov4fQCqeThlF60MBWdo1IXzd 2nEEZE7CEAZLwI0N/gJAhTj7ESQAX4gPgO8lyI+cvgViSVPlNomAj2M9gW40eg7VWY3cATjUcyiO Z+i03cFruGLYoUR7VyU3HihdmCEVhoDN65FXkpbSxkomOzsTQN/gySaodGb9Gdi1oSRXP46gdBWh LcUKJNdeGCWac74GKakmne0aHCFvyqJPYLsCFAVlhRTvGdzMdLHqtgRyUulyXIAH7CYQ3AB0Nody JQhAkq/qtOnbjhxdzYDkXPxlH5y4WdUAeUcX1NVJ6GR7UQEYPGWoAnA36OQNn5lRRp38vHTAp9Br LoTmvlPPDoRCKzpjG1SXT89AaT5l456BamJuMcs+NIOMzJ/s5dI6yUVcrARlruwOebfdv6gunTn4 ww3+QjGBEn5suVyLHoSGvAqREuDLN+iqZ+VcFg+HBbsJUU9+FZthbez9T+bdb+kPv2Ls6ct3hTkA AAAASUVORK5CYII= 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:259462 Archived-At: Philip Kaludercic writes: > package-vc can check out the latest revision that bumped the version tag > (which is what {Non,}GNU ELPA uses to create new versions of a package), > you just need to call `package-vc-install' with `:last-release' as REV. > So the technical means are there. > > But if this is done, the question what advantage this has over just > installing a tarball this has? You would almost always get the same > code. Convenience, I suppose. You can copy your init file to a new machine, and it will work. > [...] 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.