GNU bug report logs - #77348
30.1; cl-labels

Previous Next

Package: emacs;

Reported by: Devon Sean McCullough <Emacs-hacker2023 <at> jovi.net>

Date: Fri, 28 Mar 2025 23:11:02 UTC

Severity: normal

Found in version 30.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Devon Sean McCullough <Emacs-hacker2023 <at> jovi.net>
Cc: 77348 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#77348: 30.1; cl-labels
Date: Sun, 30 Mar 2025 06:14:49 +0200
Hello Devon,

> Instrument the following forms for edebug,
> e.g., by C-u M-x eval-defun RET
> with point on the form.
>
> (cl-labels ((foo (bar))))
> ;; (error "Eager macro-expansion failure: (error \"Invalid argument
>    name: 1\")")
>
> ;; should work same as
> (cl-labels ((foo (bar) nil)))
> ;; nil after manually stepping

I see a different behavior in master, and I know the edebug spec of
`cl-labels' had been changed recently.  Are you maybe able to try the
master behavior?

@Stefan: did you forget to mention the (FUNC EXP) binding definition
case in the docstring of `cl-labels'?


> P.S.  Especially troubling is this variation which fails to manifest
> the bug:
>
> (cl-labels ((foo (function))))

You are aware that `function' is a special form?


Michael.




This bug report was last modified 141 days ago.

Previous Next


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