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#65267: 30.0.50; modifying debug-ignored-errors during startup with --debug-init is broken Date: Sun, 13 Aug 2023 12:49:42 +0300 Message-ID: <83cyzrclvt.fsf@gnu.org> References: <20230813095429+0200.5928-stepnem@smrk.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="38615"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65267@debbugs.gnu.org, monnier@iro.umontreal.ca To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 13 11:50:16 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 1qV7jk-0009qj-5O for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Aug 2023 11:50:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qV7jY-0007PE-J3; Sun, 13 Aug 2023 05:50: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 1qV7jW-0007Oj-SG for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 05:50:02 -0400 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 ) id 1qV7jW-0000hA-ID for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 05:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qV7jW-0005lK-7u for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 05:50: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: Sun, 13 Aug 2023 09:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65267 X-GNU-PR-Package: emacs Original-Received: via spool by 65267-submit@debbugs.gnu.org id=B65267.169192020122137 (code B ref 65267); Sun, 13 Aug 2023 09:50:02 +0000 Original-Received: (at 65267) by debbugs.gnu.org; 13 Aug 2023 09:50:01 +0000 Original-Received: from localhost ([127.0.0.1]:58279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qV7jU-0005kz-KI for submit@debbugs.gnu.org; Sun, 13 Aug 2023 05:50:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qV7jS-0005ke-Fm for 65267@debbugs.gnu.org; Sun, 13 Aug 2023 05:49:59 -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 1qV7jM-0000dD-NN; Sun, 13 Aug 2023 05:49:52 -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=e2G29Sv6PFOwNNEf6/nHtSZSNVA1ye3Ar0natzaFy20=; b=LgV0v4Dcrf98TdM2qKtf oyT7EkMRsVKKI1upfsgxXdJsThXrYxR9XCueB77nn14y1BLmSvMMsU9v3rXcr9jPrJU6QtsW1kMHg pFrVvHCc+iYy8QA1H6lCb90Y+oVdnglX9aC+hAoIhZVTRQU0VSB7V+F8Rw8YjlecsSYxjIZy4tNOr FnHMYSIYHeGKOwwsp9WhmXZ7HK6X9pHcCVMUN8OODbdZITGJki2j52nnNQERbcz8OO5vccQpJs8d8 DABpb5n4BTkvuD4y1HoyYAH06HnJqw8bMDe1L2vcZcxDTd2vChz899NSxpiu9K17akZDf1xR3byz7 HZOiPe37+uBhXQ==; In-Reply-To: <20230813095429+0200.5928-stepnem@smrk.net> 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:267352 Archived-At: > Cc: Stefan Monnier > From: Štěpán Němec > > Date: Sun, 13 Aug 2023 09:54:29 +0200 > > > sh(1) reproduction recipe: > > --8<-- > initdir=$(mktemp -d) > > echo "(add-to-list 'debug-ignored-errors 'my-error)" >"$initdir"/init.el > emacs --debug-init --init-dir="$initdir" \ > --eval '(message "%S" debug-ignored-errors)' > > rm -rf "$initdir" > --8<-- > > In the emacs thus started, the value of `debug-ignored-errors' is > "(my-error startup--witness)" instead of `my-error' added to > the default ignored error symbol list. I believe this is a feature: when the user says --debug-init, they need to be shown all the errors raised during startup; hiding some of the errors was a misfeature in previous versions of Emacs, now fixed.