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#67955: [PATCH] Add use-package-vc-prefer-newest user option Date: Sat, 13 Jan 2024 17:51:44 +0100 Message-ID: <878r4t18in.fsf@hyperspace> References: <87a5q3bf0e.fsf@hyperspace> <87a5paldfy.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="2532"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67955@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 13 17:52:24 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 1rOhF9-0000RW-3f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jan 2024 17:52:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOhEs-0007Bg-B1; Sat, 13 Jan 2024 11:52:06 -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 1rOhEq-0007B7-15 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 11:52:04 -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 1rOhEp-0004Gq-P4 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 11:52:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOhEo-0006Qo-Ci for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 11:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tony Zorman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jan 2024 16:52:02 +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.170516471724712 (code B ref 67955); Sat, 13 Jan 2024 16:52:02 +0000 Original-Received: (at 67955) by debbugs.gnu.org; 13 Jan 2024 16:51:57 +0000 Original-Received: from localhost ([127.0.0.1]:40925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOhEi-0006QU-V6 for submit@debbugs.gnu.org; Sat, 13 Jan 2024 11:51:57 -0500 Original-Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:56976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOhEg-0006QC-97 for 67955@debbugs.gnu.org; Sat, 13 Jan 2024 11:51:55 -0500 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4TC4Dx5c0Jz9skx; Sat, 13 Jan 2024 17:51:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1705164705; 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=7lmF3FzWF8Yi7vJwziolXuc2wNXY1N/G85X44KBjspY=; b=qOYQP7AAme4P1iF5b8JEA8VSPvxdsTYW5FEAv9e7UPMN7q2RDMC/CyJmU1mfweB/ECIjpt ZqBVdn0paXGYotT51k/d5NBlWxsF1G0I2f2OoKBZ/fqbPeiHiVsM7K+dtpIPk7utcRaCr/ FlYDCqFEhSu8b2HX1f6PN4TQwn2fX+9XziTH8XGT15yiXcsHN7a6ELDyNKmgbbA+7dO/1z bMJ+C52HpzYKwA7lRRyS9CVblLyePOrn8P5c0XD9UXMs+2AvJiuXjYUqyxXFUKCyNUtuJ2 MU6rhcxHwhMFnFsBW90J7RYhpJ659pLX4/Q8JKAH2m14gIqYb3vWjtYDzcRf7Q== In-Reply-To: <87a5paldfy.fsf@posteo.net> X-MBO-RS-META: aehh4nu97cqw7o91et9aoojgopt6zjey X-MBO-RS-ID: 0941afa0512bebeaae8 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:278136 Archived-At: 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. >> +(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. -- Tony Zorman | https://tony-zorman.com/