GNU bug report logs -
#61847
debug-early-backtrace only works some of the time.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Mon, 27 Feb 2023 17:13:01 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #64 received at 61847-done <at> debbugs.gnu.org (full text, mbox):
> the way it prints (or rather used to print) a compiled function is/was
> useful. You can see how many arguments it takes.
Hmm...
`prin1` will print for example #[256 ...] where 256 is where it tells
"how many arguments it takes".
In contrast, `cl-prin1` will print #f(compiled-function (&optional arg) ...)
So in both cases "you can see how many arguments it takes" (and I'll
let you guess which one I find more readable).
FWIW, I just tried the `condition-case` wrapper and it fixes the problem
for the test case you showed. So I just pushed my patch to
`emacs-29` (which additionally checks for the presence of
`cl-defmethod`, which also fixes the problem: one is never too sure).
I'll let you (plural) decide whether to keep using `cl-prin1` or not,
but now this is not directly related to fixing this bug any more.
Stefan
This bug report was last modified 2 years and 141 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.