From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69528: 30.0.50; [BUG] transient.el is not a member of package--builtin-versions Date: Sat, 25 May 2024 10:39:16 +0300 Message-ID: <86bk4u1gt7.fsf@gnu.org> References: <87edcrtegz.fsf@gmail.com> <87sf15rjyf.fsf@gmail.com> <8734t5yh49.fsf@posteo.net> <87edcp9p54.fsf@breatheoutbreathe.in> <87r0eb79xp.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19920"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, 69528@debbugs.gnu.org, iarchivedmywholelife@gmail.com To: Joseph Turner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 25 09:40:03 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 1sAm0Z-0004xg-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 May 2024 09:40:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAm0U-0002EV-SO; Sat, 25 May 2024 03:39:58 -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 1sAm0T-0002Dg-60 for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 03:39:57 -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 1sAm0Q-0005l6-VZ for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 03:39:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAm0Y-0006pu-Ai for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 03:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2024 07:40: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.171662277726253 (code B ref 69528); Sat, 25 May 2024 07:40:02 +0000 Original-Received: (at 69528) by debbugs.gnu.org; 25 May 2024 07:39:37 +0000 Original-Received: from localhost ([127.0.0.1]:41800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAm06-0006pN-0c for submit@debbugs.gnu.org; Sat, 25 May 2024 03:39:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAm03-0006pH-S9 for 69528@debbugs.gnu.org; Sat, 25 May 2024 03:39:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAlzr-0005hZ-08; Sat, 25 May 2024 03:39:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zC/Lm0fNAA08sW9xs4wKv1HW/PgTyznK4uqH/k9Tukk=; b=S6JxNcXD3gN4 r7uS8cqX3sIxEGA60i1oF/qHu/0/7m5R/Qi/BwNEqk/3/6RUu9i96JkDOidgRuOz36eW/wyJ+LTVu a6tf3dy2L3B0hgbnANjekQ4Ke32DmZ/M7Vfu37D37KGmfSXEnotOWWQZh7e86z84NIO+RaNCQXSrk AFwD9uYgKnolYKOFHZPYHJHcZMhNn7QkZzmvs7SonSl1Iw5ZMGN+TuuzydwpqeLrVPjq7K66mn8aj yot8mmClLKiIMsAeoHXrEYRdDoOfxxDk4/5iXKo6RDNd0JmYrqk5962Lvs50gHEFs0pFWq/eDkys6 tc/emWjII317yxnZY2e1uQ==; In-Reply-To: <87r0eb79xp.fsf@breatheoutbreathe.in> (bug-gnu-emacs@gnu.org) 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:285824 Archived-At: Ping! Ping! Philip, can you please chime in? > Cc: 69528@debbugs.gnu.org, iarchivedmywholelife@gmail.com > Date: Wed, 08 May 2024 23:53:38 -0700 > From: Joseph Turner via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Joseph Turner writes: > > > Philip Kaludercic writes: > >> So in general, this patch might be appropriate? > >> > >> diff --git a/lisp/emacs-lisp/loaddefs-gen.el b/lisp/emacs-lisp/loaddefs-gen.el > >> index 581053f6304..42f386933dc 100644 > >> --- a/lisp/emacs-lisp/loaddefs-gen.el > >> +++ b/lisp/emacs-lisp/loaddefs-gen.el > >> @@ -433,7 +433,8 @@ loaddefs-generate--parse-file > >> ;; loaddefs for packages so that `syntax-ppss' later gives > >> ;; correct results. > >> (emacs-lisp-mode) > >> - (let ((version (lm-header "version")) > >> + (let ((version (or (lm-header "package-version") > >> + (lm-header "version"))) > >> package) > >> (when (and version > >> (setq version (ignore-errors (version-to-list version))) > >> > >> > > > > What about making `lm-version' handle the "package-version" header then > > using `lm-version' in loaddefs-generate--parse-file? See patches. > > > > Joseph