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#69528: 30.0.50; [BUG] transient.el is not a member of package--builtin-versions Date: Sun, 02 Jun 2024 11:07:02 +0000 Message-ID: <871q5ffvs9.fsf@posteo.net> References: <87edcrtegz.fsf@gmail.com> <87sf15rjyf.fsf@gmail.com> <8734t5yh49.fsf@posteo.net> <87edcp9p54.fsf@breatheoutbreathe.in> <878qzypbav.fsf@posteo.net> <86ed9qyxnm.fsf@gnu.org> 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="11414"; mail-complaints-to="usenet@ciao.gmane.io" Cc: iarchivedmywholelife@gmail.com, joseph@breatheoutbreathe.in, 69528@debbugs.gnu.org, Eli Zaretskii , Andrea Corallo , Stefan Monnier To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 02 13:07:59 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 1sDj4A-0002ln-Lm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jun 2024 13:07:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDj43-0004xN-7D; Sun, 02 Jun 2024 07:07:51 -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 1sDj42-0004xA-Bn for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 07:07:50 -0400 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 1sDj42-0003eA-3U for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 07:07:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDj4E-0003JA-8Q for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 07:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jun 2024 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69528 X-GNU-PR-Package: emacs Original-Received: via spool by 69528-submit@debbugs.gnu.org id=B69528.171732644512666 (code B ref 69528); Sun, 02 Jun 2024 11:08:02 +0000 Original-Received: (at 69528) by debbugs.gnu.org; 2 Jun 2024 11:07:25 +0000 Original-Received: from localhost ([127.0.0.1]:57952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDj3c-0003ID-U4 for submit@debbugs.gnu.org; Sun, 02 Jun 2024 07:07:25 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:37561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDj3b-0003Hy-Hw for 69528@debbugs.gnu.org; Sun, 02 Jun 2024 07:07:24 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2D1BA240101 for <69528@debbugs.gnu.org>; Sun, 2 Jun 2024 13:07:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717326425; bh=cZf8TeO/VhVGQ2w5+3vL0P0qWtcWzdXfoSABetCbeSI=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=GO2Ex3ZXBFU+a7jwIpl2WjSil28GGeI2WJm+/yLyszNNjI1+QptzgXq50fgtWmkCZ F7pvB0/fbBLvkYs08FYiWAyaVdeRutez9qR5/GdoFlE1mNt3zDMhea81Xsu4JVOMY3 uXTY1M0iMxyFv/YENDYZLEV61z5q6FqJKqK9VrgW2z8smlHogAzzCSMWekiYY9pZpv VXgQQie/Y/auct3j9xbuKLd52+a3pksn7v44Bf4BpChYVnrIonxgPpyMJ6bVShfeZj B2twj53BA8Lrx9mV7F87G/onFD7I0mmsKDpWzL9pKS0U3q3bZNE0JAgcptH5yZv20Q 3Xw6fUnIOGCIg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VsYw72Xf3z9rxL; Sun, 2 Jun 2024 13:07:03 +0200 (CEST) In-Reply-To: (Stefan Kangas's message of "Sun, 2 Jun 2024 10:36:26 +0000") 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:286381 Archived-At: Stefan Kangas writes: > Eli Zaretskii writes: > >>> > What about making `lm-version' handle the "package-version" header th= en >>> > using `lm-version' in loaddefs-generate--parse-file? See patches. >>> >>> My main concern was if we want to have Package-Version always override >>> Version, but if my patch modified loaddefs-gen, then I don't think there >>> is much of a difference if we change lisp-mnt instead (in terms of the >>> generality of the change). >>> >>> So I am fine with the change, and think we can merge it. Eli: Is master >>> still fine for these kinds of changes? >> >> I think so, yes. But maybe I don't fully understand the effect of >> this change? Can you describe it? Sorry for the late response, but Stefan summaries the situation well below. >> I also added the other maintainers, in case they have opinions on >> this. > > I think the first patch is right, i.e. to use > > (lm-version) > > instead of > > (lm-header "version") > > So let's install that one, I think. I agree. > The effect of the second patch is to change `lm-version` to look for a > "Package-Version" header if there is no "Version" header. > > This has two problems: > > 1. We didn't do that until now, and it's not clear to me what is the > issue that is prompting this change. The transient.el issue seems to > have been fixed already. > > 2. The way I read the manual, it seems like "Package-Version" should be > preferred over "Version", if it exists: > > =E2=80=98Package-Version=E2=80=99 > If =E2=80=98Version=E2=80=99 is not suitable for use by the = package manager, then a > package can define =E2=80=98Package-Version=E2=80=99; it wil= l be used instead. > This is handy if =E2=80=98Version=E2=80=99 is an RCS id or s= omething else that > cannot be parsed by =E2=80=98version-to-list=E2=80=99. > > I'm also not sure we need to support packages with unusual versions > like RCS id's these days. Is that use case still relevant? Perhaps > we should simply deprecate the "Package-Version" header? FWIW I use this for some of my own scripts that I version using RCS, so I'd appreciate it if that functionality would stay. --=20 Philip Kaludercic on peregrine