GNU bug report logs - #76949
30.1; --debug-init and condition-case-unless-debug

Previous Next

Package: emacs;

Reported by: "Nussbaum Ferdinand" <ferdinand.nussbaum <at> inf.ethz.ch>

Date: Tue, 11 Mar 2025 17:20:03 UTC

Severity: normal

Found in version 30.1

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Nussbaum Ferdinand" <ferdinand.nussbaum <at> inf.ethz.ch>
Cc: 76949 <at> debbugs.gnu.org, me <at> bcc32.com
Subject: bug#76949: 30.1; --debug-init and condition-case-unless-debug
Date: Tue, 11 Mar 2025 16:41:42 -0400
> Errors inside condition-case-unless-debug do not trigger the debugger when the
> --debug-init startup option is set (and debug-on-error is not additionally and
> explicitly set to a non-nil value).

Indeed this is the direct consequence of:

> AFAICT this is no longer correct since the implementation uses handler-bind instead.

It seems cumbersome to fix this without re-introducing the problem that
`handler-bind` addresses, so I'm in favor of fixing the doc rather than
the code.


        Stefan





This bug report was last modified 157 days ago.

Previous Next


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