From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.devel Subject: Re: Reconsider defaults for use-package-vc-prefer-newest Date: Mon, 16 Sep 2024 16:16:03 -0400 Message-ID: <87msk7nym4.fsf@gmail.com> References: <86r09jddgk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36361"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "Martin Edstrom" , yandros@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 17 04:22:12 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 1sqNr1-0009Fr-Qr for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Sep 2024 04:22:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqNqL-0000gv-8p; Mon, 16 Sep 2024 22:21:29 -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 1sqI8w-00045O-ML for emacs-devel@gnu.org; Mon, 16 Sep 2024 16:16:22 -0400 Original-Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqI8u-0003iA-Ph; Mon, 16 Sep 2024 16:16:18 -0400 Original-Received: by mail-qk1-x741.google.com with SMTP id af79cd13be357-7a7f8b0b7d0so248587285a.2; Mon, 16 Sep 2024 13:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726517774; x=1727122574; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nZUiuJW8enQ/xceODIUzMYPiVL8CSs2odLsRXSOLZDY=; b=mi9YBNbVGVFGCPB5FiFvujsSew99uVuYkXT1e37UyQKLrVMZKNmpZtZhwq9GTH5doN XV2RIkMea3c3TNrzKqGU73viSmp7qL2SvWIJsh4d3RD93O7lEaCUKZUuukvjH96Vo3// xslW9E6J12y00TTkm6xU8UswR+NKNj4rKFC/R2Anb8Q3FnDqdciF2/29oJM8uSZJixyK YNPFFgOnd/bfg7MxGC3N4TlQ1B3x8YnQ1sft7JWckdDZ9nhLxAdoly0y+a9BikYqC7qk 0QVvD03Nze1Hnqnhf4nLwsYIo1M20scLOjrSAohKrcxQIWpvqWVM8SNQqc9D71jmtgry pGOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726517774; x=1727122574; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nZUiuJW8enQ/xceODIUzMYPiVL8CSs2odLsRXSOLZDY=; b=Lq8x6dSMunN8hN5rSeq3cmFsGF11TAemLFJxfuW4phd4NpkXS/feBrM8J0FEuV5XGk /gMrag9OctARsz7oVe3ACY1DcQA16bgMON4yxyZCJIp7RDiX1sscB1SlscGaQAb4hwJp NJjZUWkYiYTLBuFUyrMwiBYo1+ee2hncvpcjBYXfkmjKpYaOxKAeno+cjl3CTIbY2LMo 2M5t/X8+hmsw+VaUshC1veQxhHB2ZaogMLeAhm2q6/eSyroyDAMvB7O6B5iDoRiDnacI bKw0t94K3gY4QQc4t12HjsDRznEudySZMSjRdg9nKdiggWEr7dIBPn3cGxo+Pv0y0k5b /eNQ== X-Forwarded-Encrypted: i=1; AJvYcCWju5b9ee6Li0rqAXkRjf5u6PaTEHIgFoAI/xJ2nffY3Z2X8QCc0aJHkevheUNL3QjTjZ83t+tYtnfEtQ==@gnu.org X-Gm-Message-State: AOJu0YwfPxuyQdkhBnvtOQlvrnKeNk5vgpqwpTyFETwnGFipvJo3nwC8 oIt7X8tIk6kD/toQxtUCMm1fw87BCy8kpTZNeOJPDMmJeLM9SMZUdkRkHeB2 X-Google-Smtp-Source: AGHT+IElkuLWnz48FoOqE+rGaKpaU1qbxKoiIFUAx20rdBV8D2US/y0qExiYdcA0zEzYishLORv4+g== X-Received: by 2002:a05:620a:454d:b0:7a9:b605:f834 with SMTP id af79cd13be357-7a9e5f1ab4cmr2909625585a.37.1726517774415; Mon, 16 Sep 2024 13:16:14 -0700 (PDT) Original-Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7ab3e9970f0sm288040185a.49.2024.09.16.13.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 13:16:14 -0700 (PDT) In-Reply-To: <86r09jddgk.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Sep 2024 14:50:51 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::741; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x741.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 16 Sep 2024 22:21:27 -0400 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:323677 Archived-At: Eli Zaretskii writes: > If the problem is that there's a tag with the correct version, but the > Package-Version heading was not updated, we could perhaps have > use-package :vc detect that and either display a warning or even > automatically use the commit with the tag. FWIW, a situation I have encountered is when the commit corresponding to a release tag is not the same commit that introduced the version in the package header. This can come up, for instance, when a package is available both in melpa-stable and nongnu. The former uses git tags for versions whereas the latter uses the package header. However, while the version of the packages may nominally be the same, they may correspond to different commits. I.e., having two different sources of version information can result in ambiguity. When the two notions of version don't correspond to the same commit, it would be helpful if the user could be notified in some way. -- Suhail