From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#69528: 30.0.50; [BUG] transient.el is not a member of package--builtin-versions Date: Sun, 2 Jun 2024 05:08:58 -0700 Message-ID: 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> <871q5ffvs9.fsf@posteo.net> 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="34745"; 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: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 02 14:11:05 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 1sDk3F-0008p9-Hn for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jun 2024 14:11:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDk34-0005Ot-Ku; Sun, 02 Jun 2024 08:10:54 -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 1sDk30-0005OT-VD for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 08:10:51 -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 1sDk30-0007HV-3I for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 08:10:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDk3B-0007d4-Va for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 08:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jun 2024 12:11:01 +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.171733022229281 (code B ref 69528); Sun, 02 Jun 2024 12:11:01 +0000 Original-Received: (at 69528) by debbugs.gnu.org; 2 Jun 2024 12:10:22 +0000 Original-Received: from localhost ([127.0.0.1]:57995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDk2X-0007cD-VJ for submit@debbugs.gnu.org; Sun, 02 Jun 2024 08:10:22 -0400 Original-Received: from mail-ed1-f54.google.com ([209.85.208.54]:50365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDk2T-0007bs-PT for 69528@debbugs.gnu.org; Sun, 02 Jun 2024 08:10:21 -0400 Original-Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-57a1fe63a96so2937038a12.0 for <69528@debbugs.gnu.org>; Sun, 02 Jun 2024 05:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717330139; x=1717934939; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=W/TXR+niB8IU3dkfuzUDZqQTPiw5jodR68Fqloq0MxA=; b=jDNcZmyTx7hAE635/NSRMwW0X1szHYP5LaREnDUG3U0inm+3K9SxPrCtBpXrhPWTPL 21bTZ/c/PLILPTJogtpr5u6HjFUuci4GQ9ra+3BqcwvqAb3YoG5aEn8waKjrJwDAbgIg n2y1bmZ7hOI0Xg1U/37qZKLGi6isyBqKO20ituzLYYjPSY8Iq2ZBpdSgUCDZvBFC/ko2 eIcxmJzfReI8gqLdG7QJEaqTiCeJaJvgLN/HvMKgO2ahmc+ghyae972pfRNBD1ZVU3Xv 1n3QUNjfgu/xLpmIwwnrnMzM1QJJdck7On39sfETMJa3iAQphTrrDB6VfB3prpCJQUgA nq0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717330139; x=1717934939; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=W/TXR+niB8IU3dkfuzUDZqQTPiw5jodR68Fqloq0MxA=; b=D1pwHz+Yy/HunP/u2lAfZ2ae9luSoNLv0mL+1hwqx8+uQNFlxs0cWQoHNXhUySKkQZ 5qdzz9o1ACY+kQMQSSh8FpxQv+4Rsbvc6yl3GhU13K8ymK39YG+7qVaGpWrI3vRZ9czn iaRjVSEXsBN9xM4Ulxazdh9zgogGZ3RiGzbgVLODwjVegHx36jBaoalsZlejEdZ8/KeS HpPLb+MHaAtv8NIcjwnVYYD7posrjoz7En3KeqpktmFh/IUF9aayOlN8jEU4ZvWbd5bf M0QyAj7U1Of3euX0UJQAcdJODo9sjdkx9KQBpi7hXzXb/Fm6/tgLyap13vM5wdSB66LZ IgTg== X-Forwarded-Encrypted: i=1; AJvYcCVaoJENeZx+IQ6UjLm1idIR0XjbvESWSDElmub0o5ifbfxwaKV9c0dxl/kcQ2O8e8RQYYr+yeGEVlmiYvq0ZAeKS68IE98= X-Gm-Message-State: AOJu0YxF3ScLl0PBJcQgead4YP5G4wmzZve0XCOUhnSN7zjv1lCp5dNv VGeEdCQtgNhFXl261l9uvxg+hPwlXdnTeuJCSvkj0SBBou8eOKPzm9u3UyNXTnbHMcnFOaYc8TA WRZNsgtPvqiXx0cYn+8pzS64HEOg= X-Google-Smtp-Source: AGHT+IF9OoouYEtkKOWX0jnG+lOjwh8nbegBKvyZlJmpBhGvktso8ulGclBORRuOFb92wxnFby0gDoVZyQckFGsx35Q= X-Received: by 2002:a50:9509:0:b0:57a:3114:7d07 with SMTP id 4fb4d7f45d1cf-57a3638221emr4319415a12.9.1717330139271; Sun, 02 Jun 2024 05:08:59 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 2 Jun 2024 05:08:58 -0700 In-Reply-To: <871q5ffvs9.fsf@posteo.net> 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:286385 Archived-At: Philip Kaludercic writes: >> 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 wi= ll be used instead. >> This is handy if =E2=80=98Version=E2=80=99 is an RCS id or = something else that >> cannot be parsed by =E2=80=98version-to-list=E2=80=99. > > 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. OK, so let's keep it. But shouldn't the below be the correct order according to the above quoted documentation? diff --git a/lisp/emacs-lisp/lisp-mnt.el b/lisp/emacs-lisp/lisp-mnt.el index f111a77663c..5db0b50adc3 100644 --- a/lisp/emacs-lisp/lisp-mnt.el +++ b/lisp/emacs-lisp/lisp-mnt.el @@ -415,7 +415,8 @@ lm-version "Return the version listed in file FILE, or current buffer if FILE is ni= l. This can be found in an RCS or SCCS header." (lm-with-file file - (or (lm-header "version") + (or (lm-header "package-version") + (lm-header "version") (let ((header-max (lm-code-start))) (goto-char (point-min)) (cond