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.devel Subject: Re: Reconsider defaults for use-package-vc-prefer-newest Date: Sat, 21 Sep 2024 14:44:14 +0000 Message-ID: <87r09dhxs1.fsf@posteo.net> References: <87wmj7dftf.fsf@posteo.net> <875xqqly63.fsf@hyperspace> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21244"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Martin =?utf-8?Q?Edstr=C3=B6m?= , emacs-devel To: Tony Zorman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 21 16:45:16 2024 Return-path: Envelope-to: ged-emacs-devel@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 1ss1MJ-0005PF-Ki for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Sep 2024 16:45:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ss1LT-0008MS-PT; Sat, 21 Sep 2024 10:44:23 -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 1ss1LR-0008Lx-Hx for emacs-devel@gnu.org; Sat, 21 Sep 2024 10:44:21 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ss1LO-0004H4-Sl for emacs-devel@gnu.org; Sat, 21 Sep 2024 10:44:21 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6B5CB240101 for ; Sat, 21 Sep 2024 16:44:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726929855; bh=HYmAY6N0ylfOhD3VBt/SGCnepLNiIyXQ03Etqjz4IwI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ly9jTGxkuem0y/O45hHbwV/nzy/JLRgVgnovVgSwZ6g4iRwnAeoMTyxGSPAWHQQYj /gos5ZRZtp5GDQNG1jzlexkD0hrhp/cC6/vSqK55OUllT/6uSU1HNF0aBfyo9u87ce jVxK0Pvu8izhSxebb5Hqk4jNBGI/SElMQIBD20s6tTd/Cs07MMj8nJPWIquEE113Mo avX/2QcMDJai3/enbTIi8Rhd5gda9TalWAekhceCfg+HI9V4q3wckZCkNofv11oQEy 0+iN8tPiBKPGIwrBMjc+Bg2SUso1Iv70e2tK2CJt3kucsVnWrYy/FE4NLf/wYUc/Rg 7ly6xjb4PZM5w== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X9sTV5jzpz9rxB; Sat, 21 Sep 2024 16:44:14 +0200 (CEST) In-Reply-To: <875xqqly63.fsf@hyperspace> (Tony Zorman's message of "Fri, 20 Sep 2024 06:57:40 +0200") X-Hashcash: 1:20:240921:emacs-devel@gnu.org::BI5BCTrC7nU4biFC:jmu X-Hashcash: 1:20:240921:tonyzorman@mailbox.org::mG79EvWi2s0cBqX1:0Esk X-Hashcash: 1:20:240921:meedstrom@runbox.eu::wN25LlkP7ptARp2F:1czt Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323892 Archived-At: Tony Zorman writes: >>> PROBLEM 1. MISMATCH WITH PACKAGE-VC >>> >>> Now use-package :vc is not in line with the behavior of the >>> package-vc-install command, which fetches the newest commit. >>> >>> All other package managers I know of also fetch the newest commit. >> >> The main reference is package.el, which by default uses GNU ELPA and >> NonGNU ELPA. Both distribute explicitly released packages, as indicated >> by the version header. To me this has a much greater weight than what >> third-party package managers and archives decide to do. > > I will say that I also find it surprising behaviour that, by default, > > (package-vc-install "=C2=ABURL=C2=BB") > > and > > (use-package blah > :vc (:url "=C2=ABURL=C2=BB")) > > have different semantics. One idea I had we that we could require :vc to take a :rev argument. But if it really is the case that we haven't found the right solution, perhaps we should remove the keyword from the next release, or at least mark it as some kind of an experimental feature? --=20 Philip Kaludercic on icterid