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


Message #8 received at 63437 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ruijie Yu <ruijie <at> netyu.xyz>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 63437 <at> debbugs.gnu.org
Subject: Re: bug#63437: 30.0.50;
 [BUG] edebug-defun errs on widget-default-create
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" <bug-gnu-emacs <at> gnu.org>
> 
> 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?




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.