From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= 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 09:54:29 +0200 Message-ID: <20230813095429+0200.5928-stepnem@smrk.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="8271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: Stefan Monnier To: 65267@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 13 11:35:25 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 1qV7VN-0001wA-83 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Aug 2023 11:35:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qV7V4-0002hG-D0; Sun, 13 Aug 2023 05:35:06 -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 1qV7V2-0002gv-De for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 05:35:04 -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 1qV7V2-0006km-4w for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 05:35:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qV7V0-0005E4-SX; Sun, 13 Aug 2023 05:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Aug 2023 09:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65267 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.169191928220019 (code B ref -1); Sun, 13 Aug 2023 09:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Aug 2023 09:34:42 +0000 Original-Received: from localhost ([127.0.0.1]:58251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qV7Ud-0005Ci-JG for submit@debbugs.gnu.org; Sun, 13 Aug 2023 05:34:42 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:48110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qV5vy-0002b0-6Y for submit@debbugs.gnu.org; Sun, 13 Aug 2023 03:54:49 -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 1qV5vs-0003cs-Jo for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 03:54:40 -0400 Original-Received: from mail.smrk.net ([45.76.87.244]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qV5vp-0005Ii-TB for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 03:54:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smrk.net; s=20221002; t=1691913270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xMlrSELhUnSZtSBvr5bvy9fXidXcqw5rcZK+mb2my5I=; b=Rhl2FlcmihkmMAxH8T218Q9wWChzt0ZwMmNfdIVUVWzopwOII/K+We92Gt1Q8IBod4+G/v rU8yggoTNa6HUzKDJYP3m5tqP3iFRswea7bHYOT0C79zuCC3KRGAdS3Ln8Qg1ldn/Q4YwY 2daM4cTqjtr/qdHwjlMs3NLIkUHi0qpDEgvt8ZCZYvaQKrZyCs+5lz5GljXEovsakoRJhx vqzEOQGOeAtQ3pHDTHTqkILFsOONkzfFR+3K2E3Ap4XYEr00+V5l/n8Yrtj5NEiOweYEJ5 TCt6PHu1ga2vVqtFSOeHaz6M/vMS9ze5cX04M+VLJgRCEf286Jck+C6kytuKDw== Original-Received: from localhost ( [192.168.5.2]) by smrk (OpenSMTPD) with ESMTPSA id 9d64ea99 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 13 Aug 2023 09:54:30 +0200 (CEST) Received-SPF: pass client-ip=45.76.87.244; envelope-from=stepnem@smrk.net; helo=mail.smrk.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 13 Aug 2023 05:34:38 -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:267349 Archived-At: sh(1) reproduction recipe: --8<-- initdir=3D$(mktemp -d) echo "(add-to-list 'debug-ignored-errors 'my-error)" >"$initdir"/init.el emacs --debug-init --init-dir=3D"$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. (It works as expected *without* --debug-init.) In GNU Emacs 30.0.50 (build 3, x86_64-pc-linux-gnu, cairo version 1.17.8) of 2023-08-13 built on tipi Repository revision: 6d58007bb05b92d5bafb91631df8fef8d99e6722 ^ [that's just 08bf8533bb1d with some unrelated stuff on top, sorry about tha= t] Repository branch: use Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Arch Linux Configured using: 'configure --config-cache --without-x-toolkit' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM ZLIB Important settings: value of $LC_MESSAGES:=20 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dfcitx locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t isearch-fold-quotes-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra pp cl-print byte-opt gv bytecomp byte-compile debug backtrace find-func thingatpt help-fns radix-tree help-mode cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 55621 13813) (symbols 48 6384 0) (strings 32 18969 1832) (string-bytes 1 511550) (vectors 16 12190) (vector-slots 8 168978 11702) (floats 8 45 36) (intervals 56 405 0) (buffers 992 12)) --=20 =C5=A0t=C4=9Bp=C3=A1n