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: Wed, 07 Jun 2023 18:36:19 +0300 Message-ID: <83sfb32sjw.fsf@gnu.org> References: <87ttvnoehl.fsf@posteo.net> <8335377iyo.fsf@gnu.org> <87h6rnoa8v.fsf@posteo.net> <83v8g35ybo.fsf@gnu.org> <87cz2bo3qu.fsf@posteo.net> <83pm6b5t1i.fsf@gnu.org> <878rczo28v.fsf@posteo.net> <83o7lv5sjc.fsf@gnu.org> <874jnno1bi.fsf@posteo.net> <83mt1f5rab.fsf@gnu.org> <87zg5fmkgk.fsf@posteo.net> <83a5xf5k65.fsf@gnu.org> <87cz2bxkz5.fsf@posteo.net> <87v8g3t6k4.fsf@posteo.net> <87ttvmbawt.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15679"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, 63757@debbugs.gnu.org, artscan@list.ru To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 07 17:37:36 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 1q6vE7-0003s6-U2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jun 2023 17:37:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6vDj-0007E9-Ug; Wed, 07 Jun 2023 11:37:12 -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 1q6vDb-0007B4-6e for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 11:37:04 -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 1q6vDa-0001CN-AI for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 11:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6vDa-00059Z-5s for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 11:37: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: Wed, 07 Jun 2023 15:37:02 +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.168615218619755 (code B ref 63757); Wed, 07 Jun 2023 15:37:02 +0000 Original-Received: (at 63757) by debbugs.gnu.org; 7 Jun 2023 15:36:26 +0000 Original-Received: from localhost ([127.0.0.1]:54565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6vD0-00058Z-8L for submit@debbugs.gnu.org; Wed, 07 Jun 2023 11:36:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6vCy-00058K-4p for 63757@debbugs.gnu.org; Wed, 07 Jun 2023 11:36:24 -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 1q6vCq-00017m-TT; Wed, 07 Jun 2023 11:36:16 -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=dinlGFTjfAoTXYy3fFbCqCuQh4qQQ2zEHEa126ZDON0=; b=TMFbNihgUouA fLDve9ueEwdxUu3tz+I+GRFnVYArFlpINOuRU8fDUbcQv2sLx8ZGvuByO4gUEAj6k/t3+3IadC9qQ jL68SieArByDUA6gzKjanJ1C1D5MiopXpo0lrg82sotNvaf++hSLILXYWfbc3g9y4DUbY0Pu54ro2 AtZd/tqnUDQIhD/FQFyBWIP809LAHrlZ5AR09vdBHv2DXvXUEiw5JJHpmizvCgvXaMkEkrzqU4QVp J09T04T/qiMywFbVjI4QDpm1lTFqdJgId0Qii9dmClCpD7OLj9VmEBHg+H6lhE+IjvvY3R8SDgF0r /2knEGnxnw1eqasrElMHCw==; 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 1q6vCq-00078y-EJ; Wed, 07 Jun 2023 11:36:16 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 05 Jun 2023 10:55:50 -0400) 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:263077 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , artscan@list.ru, 63757@debbugs.gnu.org > Date: Mon, 05 Jun 2023 10:55:50 -0400 > > > But in this case, if a regular package is upgraded, and a VC package > > weren't (even though the user might have written some patch they are > > relying on), it would be suddenly switch when starting up Emacs at some > > point. > > Yup. AFAIK both behaviors (staying with the VC package, and > switching to the non-VC package) can be "incorrect", depending on > the circumstances. So I don't see this as "a bug". > > Note also that in the session where we perform the install of the > upgraded package, the upgraded package will take precedence over the VC > package, so it's mildly more consistent to do the same at startup. > > If the user wants to keep using the older VC package, there's always to > option to use `package-pinned-packages` or to remove the non-VC package. > > If we want to do better, rather than forcing VC packages to the top we > should detect when the ordering between VC and non-VC packages changes > and emit a warning or prompt the user. So what's the bottom line here? Do we have an agreed-upon patch that should be installed on the emacs-29 branch? If so, can it be installed soon, please? Because I'd like to put out another Emacs 29 pretest in a couple of days. If there's no agreement yet, can someone please spell out what is yet to be done here? Thanks.