Subject: Re: bug#63437: 30.0.50; [BUG] edebug-defun errs on widget-default-create

From: Eli Zaretskii <[email-masked]>
Date: Thu, 11 May 2023 12:58:22 +0300

> Date: Thu, 11 May 2023 14:04:33 +0800
> From:  Ruijie Yu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> Trying to `edebug-defun' on `widget-default-create' produces an error.
> 
> This is reproducible in today's master (see below for config) as well as
> 28.2 tag (same config options).
> 
> Reproducer:
> 
>     ;; -nw or not makes no difference
>     $ src/emacs -Q -nw -l lisp/wid-edit.el{,}
> 
>     ;; line 1640
>     C-s defun widget-default-create RET
>     C-u C-M-x
> 
> Full backtrace as shown on the error is attached.

Thanks, should be fixed now on the emacs-29 branch.

Stefan, is that the right fix?  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?