GNU bug report logs - #65267
30.0.50; modifying debug-ignored-errors during startup with --debug-init is broken

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> smrk.net>

Date: Sun, 13 Aug 2023 09:35:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 65267 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 65267 <at> debbugs.gnu.org, stepnem <at> smrk.net
Subject: Re: bug#65267: 30.0.50;
 modifying debug-ignored-errors during startup with --debug-init is
 broken
Date: Sun, 13 Aug 2023 19:32:46 +0300
> Cc: 65267 <at> debbugs.gnu.org
> Date: Sun, 13 Aug 2023 12:19:31 -0400
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Yeah, it's wrong, but I'm not sure how to fix it:
> `--debug-init` needs to change the value of `debug-ignored-errors` while
> `init.el` is executed, but it's not clear how to "revert" to "the value
> it would have if we had not changed it" once we're finished processing
> `init.el`.
> 
> Maybe we should introduce a new `inhibit-debug-ignored-errors` which we
> could let-bind while loading `init.el` without having to modify
> `debug-ignored-errors` itself?

We could document that modifying debug-ignored-errors only works
reliably if done from after-init-hook.  WDYT?




This bug report was last modified 1 year and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.