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#63757: 29.0.91 order of package paths changed: random old versions of packages in load-path Date: Sun, 04 Jun 2023 11:03:11 +0300 Message-ID: <8335377iyo.fsf@gnu.org> References: <83y1l7gzqw.fsf@gnu.org> <87ilcb2p1l.fsf@posteo.net> <87sfb8g85v.fsf@posteo.net> <83a5xf7pi5.fsf@gnu.org> <87ttvnoehl.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: artscan@list.ru, 63757@debbugs.gnu.org, monnier@iro.umontreal.ca To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 10:03:22 2023 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 1q5ihu-0001d9-9S for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 10:03:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5ihb-0003M7-LC; Sun, 04 Jun 2023 04:03:03 -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 1q5iha-0003Lr-4t for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 04:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5ihZ-0006Uu-Rz for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 04:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5ihZ-0001Mc-LW for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 04:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2023 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63757 X-GNU-PR-Package: emacs Original-Received: via spool by 63757-submit@debbugs.gnu.org id=B63757.16858657475195 (code B ref 63757); Sun, 04 Jun 2023 08:03:01 +0000 Original-Received: (at 63757) by debbugs.gnu.org; 4 Jun 2023 08:02:27 +0000 Original-Received: from localhost ([127.0.0.1]:44838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5ih1-0001Lj-80 for submit@debbugs.gnu.org; Sun, 04 Jun 2023 04:02:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5igy-0001LU-Qy for 63757@debbugs.gnu.org; Sun, 04 Jun 2023 04:02:26 -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 1q5igt-0006Oh-De; Sun, 04 Jun 2023 04:02:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=I/52hlW7cujy9JqbAKF49fa87gl5aMcs6brNm5Q4YJ0=; b=jLm+PW7ZqA8DHFkGuVV6 yTDxA8kRg2omaljElJ+j5m+9Jcao4iVW8kPcHGQFOCRRtyeOce8rFEW2e5l79U8gjgl8+UMQsqz5l jyR+RSifn6xZdr1Kh/FWkSdgyB5089dXWRQmws2Z/XEnwl8Ybb4a9KMOp1dq4fSCpRMQFlilv9Qzx K519TGEkiQEUAoPSGAEo8wsiaICv5J3/cbFNwI1gLEbmHOpWzRSObxQYutexvaQCrGw5RLBEKGOZV kbqjmQI6jr1gSdI9nOQ/FjfL3tR2/hDKQhFta9AQe01FnWtkl+30YwqOL2dj/m/dYz1jku12LAmbO AKjV29LKPbGLVA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5igs-0003C2-Ts; Sun, 04 Jun 2023 04:02:19 -0400 In-Reply-To: <87ttvnoehl.fsf@posteo.net> (message from Philip Kaludercic on Sun, 04 Jun 2023 07:47:50 +0000) 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:262907 Archived-At: > From: Philip Kaludercic > Cc: Евгений Бойков , > monnier@iro.umontreal.ca, > 63757@debbugs.gnu.org > Date: Sun, 04 Jun 2023 07:47:50 +0000 > > Eli Zaretskii writes: > > > Is this problem new in Emacs 29, or did it exist in Emacs 28 as well? > > If it is new, which change(s) caused the incorrect ordering of > > versions in Emacs 29? > > It is new, and the simplest solution that should revert the issue could > be just to have `package-load-all-descriptors' sort the files when > loading descriptors. Can you show a patch for this, please? > I am not sure if the issue that Stefan raised, > with `sort' in `package--get-activatable-pkg' destructively modifying > `package-alist', but if anything that has been an issue before Emacs 29 > as well. Евгений says that the call to 'sort' in package--get-activatable-pkg didn't exist before commit fb87d500.