From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#67955: [PATCH] Add use-package-vc-prefer-newest user option Date: Mon, 15 Jan 2024 07:09:02 +0000 Message-ID: <87fryzxecx.fsf@posteo.net> References: <87a5q3bf0e.fsf@hyperspace> <87a5paldfy.fsf@posteo.net> <878r4t18in.fsf@hyperspace> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12356"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67955@debbugs.gnu.org To: Tony Zorman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 15 08:10:16 2024 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 1rPH6u-00035i-Di for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Jan 2024 08:10:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPH6i-0000aD-LL; Mon, 15 Jan 2024 02:10:04 -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 1rPH6g-0000a3-Jx for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 02:10:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPH6g-0004tB-9j for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 02:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPH6f-0007Ka-Mb for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 02:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jan 2024 07:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 67955-submit@debbugs.gnu.org id=B67955.170530255128110 (code B ref 67955); Mon, 15 Jan 2024 07:10:01 +0000 Original-Received: (at 67955) by debbugs.gnu.org; 15 Jan 2024 07:09:11 +0000 Original-Received: from localhost ([127.0.0.1]:44619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPH5r-0007JK-Fe for submit@debbugs.gnu.org; Mon, 15 Jan 2024 02:09:11 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:37569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPH5p-0007J7-SE for 67955@debbugs.gnu.org; Mon, 15 Jan 2024 02:09:10 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B6E03240027 for <67955@debbugs.gnu.org>; Mon, 15 Jan 2024 08:09:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705302543; bh=wo7nsFb+rqZpqXSP9kOh7eBcJgIABu9sUDsN5FMpTMs=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: From; b=JEcHQD/D04Hpv4BViNR5DyzmZ7mhNXe/PZLfhDzE3rkbsbLYosjiIBXInz4zqSPAU EKLoeuNWBAG1a4fhkMFYdfllBPQoDM1I6NNwZr/n/yCj8+7nkfT9pKF99RhAD9FPNm g1C4iGxfG6T63ijuCWjMgrxzrmHMnAsO4IpToTXo7CWInDcGfG9kL1dC+5a5yvqyQk eVs1Y/9CWmyr8OoliI0rval5Z2H287sMauLXVnENvnxW9Pmz9vsfoUpCrPFUCWYEpc DRcwkeYi8T3+o/fmr9sTs0Q5GnbqJbbEo3BejmHFTXF/YfhN5Z2wCWT8SxuqNNpZ4w 1HrNOg4tynWlQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TD3Cg1JtWz9rxM; Mon, 15 Jan 2024 08:09:02 +0100 (CET) In-Reply-To: <878r4t18in.fsf@hyperspace> (Tony Zorman's message of "Sat, 13 Jan 2024 17:51:44 +0100") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt 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:278258 Archived-At: Tony Zorman writes: > On Fri, Jan 12 2024 16:32, Philip Kaludercic wrote: >> Tony Zorman writes: >>> ++++ >>> +*** New user option 'use-package-vc-prefer-newest'. >>> +This allows the user to always install the newest commit of a package >>> +when using the ':vc' keyword. >> >> I wonder if this should be merged into the previous point, or if it is >> even worth mentioning, since it is part of a few feature that has been >> added in Emacs 30. > > No strong opinions here, I can change this to whatever people prefer. Let us leave it then, because I don't know what would be better either. >>> +(defcustom use-package-vc-prefer-newest nil >>> + "Prefer the newest commit over the latest release. >>> +If non-nil, the `:vc' keyword will prefer the latest commit of a >>> +package instead of the latest stable release. This has the same >>> +effect as specifying `:rev :newest' in every invocation of `:vc'." >>> + :type 'boolean >>> + :version "30.1" >>> + :group 'use-package) >> >> I would briefly mention what the issue could be when setting this option >> to non-nil, just to give some context as to why it is disabled by default. > > Do you mean something like how this goes against what [Non]GNU ELPA do, > and could lead to increased instability (as we are, by definition, > tracking a moving target)? I guess a lot of users will be familiar with > this style of development from MELPA, so I'm not sure any additional > warning here is necessary. Again, I don't feel very strongly about this, > so if you want this changed I'll think of something. Yes, that was what I meant. I don't want to assume that users are familiar with MELPA, so a brief comment to that effect should suffice. Thanks!