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#64163: 29.0.92; Syntactic errors in early init when --debug-init is on Date: Tue, 20 Jun 2023 19:05:16 +0300 Message-ID: <83pm5q5dc3.fsf@gnu.org> References: <878rcf20l0.fsf@whxvd.name> <83y1ke5kn7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27829"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64163@debbugs.gnu.org, iota@whxvd.name To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 20 18:06:26 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 1qBds9-00071G-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jun 2023 18:06:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBdro-0003as-VM; Tue, 20 Jun 2023 12:06:04 -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 1qBdrm-0003af-Ix for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 12:06: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 1qBdrm-0008Kl-Ah for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 12:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBdrl-00074y-Q5 for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 12:06: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: Tue, 20 Jun 2023 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64163 X-GNU-PR-Package: emacs Original-Received: via spool by 64163-submit@debbugs.gnu.org id=B64163.168727712127159 (code B ref 64163); Tue, 20 Jun 2023 16:06:01 +0000 Original-Received: (at 64163) by debbugs.gnu.org; 20 Jun 2023 16:05:21 +0000 Original-Received: from localhost ([127.0.0.1]:59636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBdr6-00073y-Jl for submit@debbugs.gnu.org; Tue, 20 Jun 2023 12:05:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBdr3-00073k-Rw for 64163@debbugs.gnu.org; Tue, 20 Jun 2023 12:05:18 -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 1qBdqx-00084c-6u; Tue, 20 Jun 2023 12:05:11 -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=UxZHBq6cSZmmj5FflVChknBA66kDkB7ScjIqlGgjqqs=; b=JCCik+Q81XEQ n6SRgM1xNxu40zHQdrDX40Hjy5FJ3sXttJjcWfjwI98C25Qz6SZ/OFvhfq/hM2qG/xgXmUfKLqgtK 4mhNKCCX8vpOSHzYCFQSulnsXMVO67MYNYSLgOMVwY9C/wXGPMYvkvhebwHzpCzaOx151fU3wfIzg 7QuN9hg//cBwysf83VqsPYjVVY/8nLtQc41QN+FPEifDBnV5zNhofo3XwTzkfDccWqpbR00x3N2Sq wzcUGVPxXmnYbyIQsZLh8567lAOpN8rt+iC/B/OjaiLg3dkHyG+sXKZ0jYuE7ZTHDK65hrqB84dVg oJCccIucPO7tzBz8AEHwJw==; 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 1qBdqw-0002NF-4W; Tue, 20 Jun 2023 12:05:10 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 20 Jun 2023 10:24:31 -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:263767 Archived-At: > From: Stefan Monnier > Cc: Sebastian Miele , 64163@debbugs.gnu.org > Date: Tue, 20 Jun 2023 10:24:31 -0400 > > > First, the --init-directory=$DIR part is not relevant to the issue; > > the same happens if you place such init files in your "normal" home > > directory. > > [ IIUC he used it so we can reproduce his recipe without having to > mess with our config. Thanks Sebastien for that effort :-) ] I usually start a new shell and set HOME there to point to some scratch directory. The problem with using --init-directory= in this particular case is that this is a new feature in Emacs 29, so I was initially afraid we have some subtle bug in it. > I think `debug-ignored-errors` should keep its default value when > `--debug-init` is not used. > > IOW `--debug-init` should be the one that sets `debug-ignored-errors` to > nil So you are saying it should be condition on init-file-debug being non-nil? Incidentally, do you happen to know the difference between that variable having the value t and 'startup'? I don't see anywhere that we assign any different non-nil value to it. > (only while loading the init files, tho). OK. > > Stefan, WDYT? Should we perhaps condition this binding by more > > conditions, like only do this in interactive invocations or something? > > That would also be worth a try, yes. OK, thanks.