From: Lars Ingebrigtsen <larsi@gnus.org>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 40432@debbugs.gnu.org
Subject: bug#40432: 27.0.90; Edebug not possible if a cl-flet has an &optional argument
Date: Mon, 01 Mar 2021 16:40:34 +0100 [thread overview]
Message-ID: <87lfb651cd.fsf@gnus.org> (raw)
In-Reply-To: <wvr47dyvusmk.fsf@gmail.com> (Philipp Stephani's message of "Sat, 04 Apr 2020 18:23:47 +0200")
Philipp Stephani <p.stephani2@gmail.com> writes:
> Insert into *scratch*:
>
> (defun foo ()
> (cl-flet ((bar (&optional qux) qux))
> (bar 123)))
>
> Try to edebug this function (move point into it, hit C-u C-M-x). This
> gives an error:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 1)
> edebug-match-&optional(((qux) (188 . 191) . 192))
I can reproduce this in Emacs 27.1, but not in Emacs 28. This was
apparently fixed very recently by this change:
commit 2007afd21b5f6c72a7a9c15fd7c4785331f2700f
Author: Stefan Monnier <monnier@iro.umontreal.ca>
AuthorDate: Sat Feb 13 16:21:53 2021 -0500
So I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2021-03-01 15:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 16:23 bug#40432: 27.0.90; Edebug not possible if a cl-flet has an &optional argument Philipp Stephani
2021-03-01 15:40 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lfb651cd.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=40432@debbugs.gnu.org \
--cc=p.stephani2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).