GNU bug report logs - #63437
30.0.50; [BUG] edebug-defun errs on widget-default-create

Previous Next

Package: emacs;

Reported by: Ruijie Yu <ruijie <at> netyu.xyz>

Date: Thu, 11 May 2023 06:06:01 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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Ruijie Yu <ruijie <at> netyu.xyz>, 63437 <at> debbugs.gnu.org
Subject: bug#63437: 30.0.50; [BUG] edebug-defun errs on widget-default-create
Date: Thu, 18 May 2023 09:43:25 -0400
> Ping!  Stefan, could you please chime in and answer my question below?

Sorry, fell through.

> Thanks, should be fixed now on the emacs-29 branch.
> Stefan, is that the right fix?

I'd have used

   (declare (debug t))

but the

   (declare (debug (body)))

does the trick as well, yes.

> I'm asking because the ELisp manual is
> not entirely clear on this, and I see at least one more case of
>
>    (declare (debug body))
>
> in our tree, in benchmark.el.  Is that also a bug?

Yes.


        Stefan





This bug report was last modified 2 years and 4 days ago.

Previous Next


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