From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philip Kaludercic <philipk@posteo.net>
Newsgroups: gmane.emacs.bugs
Subject: bug#68678: 29.1; package-recompile-all should skip system packages in
 package-directory-list
Date: Sun, 11 Feb 2024 21:52:45 +0000
Message-ID: <87sf1ysm6q.fsf@posteo.net>
References: <CADbSrJyYvAiO-dmFK-uhp39gwubf5SzDeP1TtrLEOvZc3SgLLQ@mail.gmail.com>
 <87jznyfkas.fsf@posteo.net>
 <CADbSrJyPvX-w8tq=zKXAcR7PyKjVcFkrhn=EaLihf_XtDtNqiQ@mail.gmail.com>
 <87ttmx16ib.fsf@posteo.net>
 <CADbSrJx4=vtoTPSeZB+k5iLrQxx75Nu2ED6EXFu+kqh2EUHokg@mail.gmail.com>
 <877cjhs8xh.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="11676"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 68678-done@debbugs.gnu.org
To: Allen Li <darkfeline@felesatra.moe>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 11 22:54:12 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rZHm7-0002rY-JQ
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Feb 2024 22:54:11 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rZHll-0003Za-NN; Sun, 11 Feb 2024 16:53:49 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1rZHli-0003Yz-Vk
 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 16:53:46 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1rZHli-0003lH-Nb
 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 16:53:46 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rZHly-0004hY-St
 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 16:54:02 -0500
Resent-From: Philip Kaludercic <philipk@posteo.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-To: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 11 Feb 2024 21:54:02 +0000
Resent-Message-ID: <handler.68678.D68678.170768839117935.done@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 68678
X-GNU-PR-Package: emacs
Mail-Followup-To: 68678@debbugs.gnu.org, philipk@posteo.net,
 darkfeline@felesatra.moe
Original-Received: via spool by 68678-done@debbugs.gnu.org id=D68678.170768839117935
 (code D ref 68678); Sun, 11 Feb 2024 21:54:02 +0000
Original-Received: (at 68678-done) by debbugs.gnu.org; 11 Feb 2024 21:53:11 +0000
Original-Received: from localhost ([127.0.0.1]:51378 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rZHl9-0004fC-1z
 for submit@debbugs.gnu.org; Sun, 11 Feb 2024 16:53:11 -0500
Original-Received: from mout01.posteo.de ([185.67.36.65]:56441)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@posteo.net>) id 1rZHl7-0004ek-Gf
 for 68678-done@debbugs.gnu.org; Sun, 11 Feb 2024 16:53:10 -0500
Original-Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 11009240027
 for <68678-done@debbugs.gnu.org>; Sun, 11 Feb 2024 22:52:46 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1707688367; bh=QNpzmKxsEDhaWmmn4q54F44vxbRPrPRuIZcVxrj0f0o=;
 h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version:
 Content-Type:Content-Transfer-Encoding:From;
 b=hZOFDWEXd05yX+Pyw2Uq8PhT3lQlJxhZJIcqNZrC8ge9EhhMCmsxeJ8OCmUI07iMl
 T0zpav5MnyTxng7nzlLt3bMe79rb4rr/Rs1xlaACybem1ZkqGQEovERFHm/xM8E/62
 ynDdjbP/SO80fL6KUnpuusSATCxKGzD06beFfn07FdtSifZzMqXGAKVf0eYvmztsMD
 HFcTCb6LuhOZgVqpFTAm8L3eUs9G8JdULTjYm6gWcThCY3T44Eon4prhYodqC8z7Ke
 wdelWqMXRymo0n5ufgOWLzzTfguqZymnQRu98Bf//vDK0RUQciBpwALOGxpfJUUGWp
 HEzpOOrBm6J7A==
Original-Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4TY1Xt2vgwz9rxB;
 Sun, 11 Feb 2024 22:52:46 +0100 (CET)
In-Reply-To: <877cjhs8xh.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 
 06 Feb 2024 19:13:14 +0000")
Autocrypt: addr=philipk@posteo.net; keydata=
 mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI
 BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0
 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB
 BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE
 Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK
 NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof
 z4oM
OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66;
 url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66";
 preference=signencrypt
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:279871
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/279871>

Philip Kaludercic <philipk@posteo.net> writes:

> Allen Li <darkfeline@felesatra.moe> writes:
>
>> On Sun, Jan 28, 2024 at 1:40=E2=80=AFPM Philip Kaludercic <philipk@poste=
o.net>
>> wrote:
>>>
>>> Allen Li <darkfeline@felesatra.moe> writes:
>>> >
>>> > That works for me, though it's possible that someone may want errors
>>> > recompiling user packages surfaced directly.
>>>
>>> That is why I used `with-demoted-errors', which propagates errors if
>>> `debug-on-error' is non-nil.  Or do you mean permanently and
>>> specifically related to this issue, e.g. in form of a user option.
>>
>> My bad, yes, `with-demoted-errors' sounds fine to me.  At the risk of
>> repeating myself,
>> I don't have a use case for surfacing the errors, but I think some
>> other users might.
>
> OK, then this is the patch I propse:
>
>
>
> Any objections?

As there haven't been any comment, I have pushed the patch to master.  Than=
ks!