Received: (at 79742-done) by debbugs.gnu.org; 25 Nov 2025 20:32:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 25 15:32:07 2025 Received: from localhost ([127.0.0.1]:42357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vNzhm-00057Y-Qp for submit <at> debbugs.gnu.org; Tue, 25 Nov 2025 15:32:07 -0500 Received: from mout02.posteo.de ([185.67.36.66]:36945) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <philipk@HIDDEN>) id 1vNcel-0002XK-AP for 79742-done <at> debbugs.gnu.org; Mon, 24 Nov 2025 14:55:28 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 558B8240103 for <79742-done <at> debbugs.gnu.org>; Mon, 24 Nov 2025 20:55:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1764014121; bh=lEepAo/NRYb99BF4tFcR/DSMAIRniK5pSokdpXGCtTw=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=Suj1JeHXmOCaMqc+lHNMpTFgg1jo3qXR5ay84GDLGqmw7F0Fx6AG6NRceZ2uCcyTV jgDJGrWTMRGUpfeLqJJrPxuJJ6z4bFx+l8zeYtAoKFQ8pGbSv8As28POwHUGuI8mUO TObpErVeuD0BJx2yIhHRmsXfVySiOoCqGEA5AawGQpqMDlHmTKVRIDKmW7HToQze3I HEIabW3uqlqUgEjKQrsQ37qSpoF0pUjBoSD2RTnjGndhtXBJUUp88Ki0RVbb5VH+Zy SoDZaq4t7HPexS9QrtvoStkdx/i5oP+O8V5I6dEUjusHX908BIOPW66KxakwcThCE+ qFeaDFE3PNu6A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4dFc4S2jc6z9rxQ; Mon, 24 Nov 2025 20:55:20 +0100 (CET) From: Philip Kaludercic <philipk@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#79742: `package-dir-info` in `master` looks up package descriptors recursively, which breaks existing tools In-Reply-To: <87ms4naaym.fsf@HIDDEN> References: <CAG7BpaoF6XAzPbw1p9XHExMKBnHHC5noJf4GOvBQguAZqxTsCQ@HIDDEN> <86bjl3psl9.fsf@HIDDEN> <87ms4naaym.fsf@HIDDEN> OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Date: Mon, 24 Nov 2025 19:55:20 +0000 Message-ID: <873463p5nc.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79742-done Cc: 79742-done <at> debbugs.gnu.org, Paul Pogonyshev <pogonyshev@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Philip Kaludercic <philipk@HIDDEN> writes: > Eli Zaretskii <eliz@HIDDEN> writes: > >>> From: Paul Pogonyshev <pogonyshev@HIDDEN> >>> Date: Fri, 31 Oct 2025 20:50:11 +0100 >>> >>> The original commit that caused this: >>> >>> b81f937e60b Do a deep-copy when installing a package from a >>> local package >>> >>> The second hunk touches `package-dir-info`. As I understand from >>> Spencer Baugh's comments, it's actually >>> not needed to address the initial problem, but instead it actually >>> causes regression in real world. >>> >>> This has long been discussed on Emacs-devel, starting here: >>> https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html >>> >>> Some particularly relevant emails: >>> * >>> https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00656.html >>> (contains a test case) >>> * https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00657.html >>> * https://lists.gnu.org/archive/html/emacs-devel/2025-09/msg00122.html >>> >>> It has been suggested to me that creating a bug might help to get a >>> fix committed sooner. >> >> Thanks. > > 1+ > >> Philip, how can we make further progress in this matter? > > We already have a patch that should fix the issue, we just have to > confirm that it doesn't break anything: I have experimented with the patch and it should be safe. It also led me to recognise that there was a problem with installing files from a Dired buffer, which I have resolved in a separate change. Closing the bug report. Thank you Paul for reporting the issue!
Paul Pogonyshev <pogonyshev@HIDDEN>:Philip Kaludercic <philipk@HIDDEN>:
Received: (at 79742) by debbugs.gnu.org; 15 Nov 2025 09:42:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 15 04:42:37 2025
Received: from localhost ([127.0.0.1]:33761 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vKCnk-0006Gr-I3
for submit <at> debbugs.gnu.org; Sat, 15 Nov 2025 04:42:36 -0500
Received: from mout02.posteo.de ([185.67.36.66]:52263)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <philipk@HIDDEN>)
id 1vKCnh-0006Ge-MF
for 79742 <at> debbugs.gnu.org; Sat, 15 Nov 2025 04:42:34 -0500
Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id 79FFF240101
for <79742 <at> debbugs.gnu.org>; Sat, 15 Nov 2025 10:42:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017;
t=1763199747; bh=Evr7HY7pqSx+fF1wckbd92XchGeS8cz0X7rVZtpfiS0=;
h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version:
Content-Type:From;
b=IqybmE8xTpxA9Rfy6fLjol2YUyd08ycWy3tT5WtdJR4uFEWqrfUyqmLIpeBwAv9zW
b8egk9sYrgyTRkMmPsYCepHRZtb2YMOmC7XpZhs+Vz40CmhCgB1F+1g0ejjsAs3zi4
yDhbRBsonRSfz5uVSPvSYAcDnLrfle0VFSKdf6L2nXonRHiRPTRq4rMBvx3W3a9AwH
wN3EGzOmoeZhf78akywtt9t7n7SsZovKmcSWKnlYgDhpSse+WvdBwdaI70b19Cj+sh
f8eW7dle6gj1j6gao32UtLeLGQYybrTR6VsrHawzyJTsYaJo9ndXPcUG7D3Og036s2
LCqJq3RP2q2wg==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4d7pvQ3dp8z6tvZ;
Sat, 15 Nov 2025 10:42:26 +0100 (CET)
From: Philip Kaludercic <philipk@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#79742: `package-dir-info` in `master` looks up package
descriptors recursively, which breaks existing tools
In-Reply-To: <86bjl3psl9.fsf@HIDDEN>
References: <CAG7BpaoF6XAzPbw1p9XHExMKBnHHC5noJf4GOvBQguAZqxTsCQ@HIDDEN>
<86bjl3psl9.fsf@HIDDEN>
OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66;
url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66";
preference=signencrypt
Date: Sat, 15 Nov 2025 09:42:26 +0000
Message-ID: <87ms4naaym.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 79742
Cc: 79742 <at> debbugs.gnu.org, Paul Pogonyshev <pogonyshev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
--=-=-=
Content-Type: text/plain
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Paul Pogonyshev <pogonyshev@HIDDEN>
>> Date: Fri, 31 Oct 2025 20:50:11 +0100
>>
>> The original commit that caused this:
>>
>> b81f937e60b Do a deep-copy when installing a package from a local package
>>
>> The second hunk touches `package-dir-info`. As I understand from Spencer Baugh's comments, it's actually
>> not needed to address the initial problem, but instead it actually causes regression in real world.
>>
>> This has long been discussed on Emacs-devel, starting here:
>> https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html
>>
>> Some particularly relevant emails:
>> * https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00656.html (contains a test case)
>> * https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00657.html
>> * https://lists.gnu.org/archive/html/emacs-devel/2025-09/msg00122.html
>>
>> It has been suggested to me that creating a bug might help to get a fix committed sooner.
>
> Thanks.
1+
> Philip, how can we make further progress in this matter?
We already have a patch that should fix the issue, we just have to
confirm that it doesn't break anything:
--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
filename=0001-Only-search-for-package-descriptors-in-package-root.patch
From 3ddc6780b6b98654678d91b85578b356431e668b Mon Sep 17 00:00:00 2001
From: Philip Kaludercic <philipk@HIDDEN>
Date: Sun, 9 Nov 2025 18:32:18 +0100
Subject: [PATCH] Only search for package descriptors in package root
See the following thread for a background on this change:
https://mail.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html.
* lisp/emacs-lisp/package.el (package-dir-info): Do not
recursively try to find all Lisp files that might have package
metadata.
---
doc/emacs/custom.texi | 73 +++++++++++++++++++-------------------
lisp/emacs-lisp/package.el | 2 +-
lisp/startup.el | 5 ++-
3 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 63124706e28..f32bd2dbb69 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1279,7 +1279,7 @@ package-dir-info
(catch 'found
(let ((files (or (and (derived-mode-p 'dired-mode)
(dired-get-marked-files))
- (directory-files-recursively default-directory "\\.el\\'"))))
+ (directory-files default-directory t "\\.el\\'"))))
;; We sort the file names in lexicographical order, to ensure
;; that we check shorter file names first (ie. those further
;; up in the directory structure).
diff --git a/lisp/startup.el b/lisp/startup.el
index 08a3b65aa0d..acdb5e4d2ff 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
--
2.47.3
--=-=-=--
bug-gnu-emacs@HIDDEN:bug#79742; Package emacs.
Full text available.Received: (at 79742) by debbugs.gnu.org; 15 Nov 2025 09:12:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 15 04:12:46 2025 Received: from localhost ([127.0.0.1]:33621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vKCKr-0004tF-Re for submit <at> debbugs.gnu.org; Sat, 15 Nov 2025 04:12:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38898) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vKCKq-0004t4-3n for 79742 <at> debbugs.gnu.org; Sat, 15 Nov 2025 04:12:44 -0500 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 <eliz@HIDDEN>) id 1vKCKk-0005Vl-L1; Sat, 15 Nov 2025 04:12:38 -0500 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=9LCHpdhnPYU6SsHvY/yDxyp61SQLnjKILJvMq9GLBfM=; b=rx+A51l7N+sB RPco1q7TETVxsmgOn0Gabt7O/RJ2di10MBHUgWl/riN7TI/FB/2TYt5vho8ZMaE9svWWviLeVVa4w 6wGuj3x3VC78pO6g733viQY9Nk9613jo8E93ebt8yUEaacJ52IrUwuA6zOU+vrBrjj6yLwijtp6fM n+NKvHl7niPXmDpwpUUuyrU/R0Ws+s5muANnGcKTsXE/uh8ED81ubbtmojyrfZWe2LlqNUis7bGhz lHImuXBMWsOWCbIxZs6Nh5+EQrzB31aQq658Xjh6TKVSdNBk2JSJF+iE2owXhZ8MBUZefHm+DfPgs T6Py3bZTRZP0ZhRHThnLqQ==; Date: Sat, 15 Nov 2025 11:12:34 +0200 Message-Id: <86bjl3psl9.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Paul Pogonyshev <pogonyshev@HIDDEN>, Philip Kaludercic <philipk@HIDDEN> In-Reply-To: <CAG7BpaoF6XAzPbw1p9XHExMKBnHHC5noJf4GOvBQguAZqxTsCQ@HIDDEN> (message from Paul Pogonyshev on Fri, 31 Oct 2025 20:50:11 +0100) Subject: Re: bug#79742: `package-dir-info` in `master` looks up package descriptors recursively, which breaks existing tools References: <CAG7BpaoF6XAzPbw1p9XHExMKBnHHC5noJf4GOvBQguAZqxTsCQ@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79742 Cc: 79742 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Paul Pogonyshev <pogonyshev@HIDDEN> > Date: Fri, 31 Oct 2025 20:50:11 +0100 > > The original commit that caused this: > > b81f937e60b Do a deep-copy when installing a package from a local package > > The second hunk touches `package-dir-info`. As I understand from Spencer Baugh's comments, it's actually > not needed to address the initial problem, but instead it actually causes regression in real world. > > This has long been discussed on Emacs-devel, starting here: > https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html > > Some particularly relevant emails: > * https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00656.html (contains a test case) > * https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00657.html > * https://lists.gnu.org/archive/html/emacs-devel/2025-09/msg00122.html > > It has been suggested to me that creating a bug might help to get a fix committed sooner. Thanks. Philip, how can we make further progress in this matter?
bug-gnu-emacs@HIDDEN:bug#79742; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 31 Oct 2025 19:50:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 31 15:50:49 2025
Received: from localhost ([127.0.0.1]:44445 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEv97-0001Ou-9w
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 15:50:49 -0400
Received: from lists.gnu.org ([2001:470:142::17]:43164)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <pogonyshev@HIDDEN>)
id 1vEv91-0001OX-T1
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 15:50:44 -0400
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 <pogonyshev@HIDDEN>)
id 1vEv8v-0002cu-M8
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 15:50:37 -0400
Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <pogonyshev@HIDDEN>)
id 1vEv8o-0004Cn-7n
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 15:50:37 -0400
Received: by mail-lf1-x129.google.com with SMTP id
2adb3069b0e04-591ea9ccfc2so3653305e87.1
for <bug-gnu-emacs@HIDDEN>; Fri, 31 Oct 2025 12:50:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761940223; x=1762545023; darn=gnu.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=q6z+1AeQe4FXTvCU24sLhSUSkxAO5k8P0qmLtM0ueA4=;
b=D9tnXaed6mY1WfX5RKDHnRRLY/lrKZunw8UN2X+IITV5f7hi9bMUw2mSz1uKun7Fe8
EnLp4lOnrqTWGDb6bOzfBClkT2p1zk7E5lXlk6loXVlA7l3bNM5AQ+ECee89zi1i6NQ2
r2/GiK744uDXL/n6k90KBAcVF+6IxVU1RZa1aTBKyWoLe8Sox3yb2x5L3AC9Yhst5VLe
SDY1EgEXqrlgsF3JvpDoA+npiz4nNUloZBvj6zmWCI7hYsOU8kRfsMRiSITs1DsfMgRv
vT0rZsy8uQNBBhFeBFMZRIjAZrx0QI9hkRo2ijuFlrtIHa0IQxYxoU261DeTGsPTJ/Bq
hqsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761940223; x=1762545023;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=q6z+1AeQe4FXTvCU24sLhSUSkxAO5k8P0qmLtM0ueA4=;
b=FVU875kn3nsgAyuKXwbATr88Ny63kATQupC2FKTxZlelQPIvyEIOBIaSpzMc0cqQpi
/rsdeE02zbnCMy2dXg0utSwcRivHCllGIQYq5prh8XGVs5HTh9ug+K6aWPSdfPuhXHse
ZzfR98WQ02O3u+QqJ/a7MF13391VJAXGyqX3/mLKNdGxRuOwyxCJ02twGRI4bZsFNQzi
xwQ04PjUWcS7wX+w5XXqYfWsAE2gApFlE7+ldtbYcXhSAWNyY8nxT3wQBc60MswePpVi
udIdRiGlLn+ujK+gscbfYovMSCqQtlDLqGZknWcEDCRz69iXza7KllNOpYrN70GAomRf
8ZPg==
X-Gm-Message-State: AOJu0YxLG2ItxUsXm48spJVgKFPOpuZJF3bXefpnR4NE+Tpag9XY5jSV
GFqPhrkJeCCmsZjYX/VNRFr4+fJ9E2egDB/yGISPNzM8kNufCvItg3lbgfgzLh/bdbmGGxsbnOB
T6XuXy5wUG34olBg+vyCbOOygLVbuEOUf2i4=
X-Gm-Gg: ASbGncv/Wze+fBeTLfWNSz9mK/QygUeoDoX8JTCOhRemMcQJuDeXNvZcomAb9fbTSiN
HVtCy+QtnrzjHmONN22t1jLy9WZgPY0cym+5VfvLt2S1hcsz8R1PwkbxgiIks8lLRfmPsGoJ3dT
jiP1rVO4H0yblYt2jFgBzaajpebPU4j9OBVjle1Y4TxruWsgE3UBbJRDXOz4/IPQv/UFY+VDURZ
KiJFtrf+EDd1hIYQAKHlm842RP4qxTJhIRPUgTijcwjkaCPwyzy2u7e9pYruCxQb3EqwQ==
X-Google-Smtp-Source: AGHT+IEkN/Qr8jYggTqWv28a0jcOWY0wrHiRZz1lCQrY8Fih1zYgChy65qyYbNOxoOWM2Z6iCTWIjHHf/i/T9ipyqN8=
X-Received: by 2002:a05:6512:ea8:b0:579:bb21:a47b with SMTP id
2adb3069b0e04-5941d3bedddmr1620966e87.28.1761940223087; Fri, 31 Oct 2025
12:50:23 -0700 (PDT)
MIME-Version: 1.0
From: Paul Pogonyshev <pogonyshev@HIDDEN>
Date: Fri, 31 Oct 2025 20:50:11 +0100
X-Gm-Features: AWmQ_bnxXCTekW6oayhgRZz_dQKvtWjFjeaL3VdTpzk7GAS-qPihkmYmTVLl094
Message-ID: <CAG7BpaoF6XAzPbw1p9XHExMKBnHHC5noJf4GOvBQguAZqxTsCQ@HIDDEN>
Subject: `package-dir-info` in `master` looks up package descriptors
recursively, which breaks existing tools
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000001cd7a7064279add3"
Received-SPF: pass client-ip=2a00:1450:4864:20::129;
envelope-from=pogonyshev@HIDDEN; helo=mail-lf1-x129.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
--0000000000001cd7a7064279add3
Content-Type: text/plain; charset="UTF-8"
The original commit that caused this:
b81f937e60b Do a deep-copy when installing a package from a local
package
The second hunk touches `package-dir-info`. As I understand from Spencer
Baugh's comments, it's actually not needed to address the initial problem,
but instead it actually causes regression in real world.
This has long been discussed on Emacs-devel, starting here:
https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html
Some particularly relevant emails:
* https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00656.html
(contains a test case)
* https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00657.html
* https://lists.gnu.org/archive/html/emacs-devel/2025-09/msg00122.html
It has been suggested to me that creating a bug might help to get a fix
committed sooner.
Paul
--0000000000001cd7a7064279add3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>The original commit that caused this:</div><div><br><=
/div><div>=C2=A0 =C2=A0=C2=A0b81f937e60b Do a deep-copy when installing a p=
ackage from a local package</div><div><br></div><div>The second hunk touche=
s `package-dir-info`. As I understand from Spencer Baugh's comments, it=
's actually not needed to address the initial problem, but instead it a=
ctually causes regression in real world.</div><div><br></div><div>This has =
long been discussed on Emacs-devel, starting here:=C2=A0<a href=3D"https://=
lists.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html">https://lists=
.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html</a></div><div><br><=
/div><div>Some particularly relevant emails:</div><div><div>*=C2=A0<a href=
=3D"https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00656.html">h=
ttps://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00656.html</a> (co=
ntains a test case)</div><div></div>* <a href=3D"https://lists.gnu.org/arch=
ive/html/emacs-devel/2025-08/msg00657.html">https://lists.gnu.org/archive/h=
tml/emacs-devel/2025-08/msg00657.html</a></div><div>* <a href=3D"https://li=
sts.gnu.org/archive/html/emacs-devel/2025-09/msg00122.html">https://lists.g=
nu.org/archive/html/emacs-devel/2025-09/msg00122.html</a></div><div><br></d=
iv><div>It has been suggested to me that creating a bug might help to get a=
fix committed sooner.</div><div><br></div><div>Paul</div></div>
--0000000000001cd7a7064279add3--
Paul Pogonyshev <pogonyshev@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#79742; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.