GNU bug report logs -
#67196
M-: uses a wrong value of debug-on-error when it is nil.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Wed, 15 Nov 2023 17:03:02 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Fri, 24 Nov 2023 22:21:27 +0000
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 67196 <at> debbugs.gnu.org, acm <at> muc.de
> From: Alan Mackenzie <acm <at> muc.de>
>
> > So you kicked the can a bit further down the road.
> > The next bug report will be that `M-: debug-from--eval-expression` does
> > not return the expected value.
>
> Not at all. debug-from--eval-expression is a purely internal variable,
> unlike debug-on-error which is intended for user use. It is bound in
> exactly one place, and tested in exactly one place.
>
> Anybody reporting such a "bug" would legitimately get the reply "not a
> bug".
How about not exposing the internal variable to Lisp at all?
> For what it's worth, I lost about 10 hours of time trying to debug
> a situation where I wasn't getting a backtrace, despite debug-on-error
> being t. The problem was that d-o-e wasn't t at all, it was nil. M-:
> had been lying.
You never described that situation, AFAICT. I think you should, so
that we could assess how grave the problem is, which is an important
part of deciding whether the solution you propose is useful. I don't
understand how could you NOT get a backtrace when debug-on-error is
non-nil.
This bug report was last modified 211 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.