From: Gemini Lasswell <gazally@runbox.com>
To: 29919@debbugs.gnu.org
Subject: bug#29919: 26.0.90; Incorrect Edebug spec for cl-macrolet
Date: Sun, 31 Dec 2017 13:36:17 -0800 [thread overview]
Message-ID: <87vagmwpf2.fsf@runbox.com> (raw)
Edebug gives an error when trying to instrument a function which uses
cl-macrolet to define a macro with an argument list containing &rest.
To reproduce, enter the following into *scratch*:
(defun bug (x)
(cl-macrolet ((wrap (func &rest args)
`(progn
(message "%s" ',args)
(funcall #',func ,@args))))
(wrap + 1 x)))
Then C-u C-M-x.
Result: edebug-syntax-error: Invalid read syntax: "Failed matching"
Looks to me like the problem is that the Edebug spec is using (&rest arg)
when it should be using cl-macro-list, assuming that cl-macrolet
supports full CL argument lists.
next reply other threads:[~2017-12-31 21:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-31 21:36 Gemini Lasswell [this message]
2018-07-24 23:20 ` bug#29919: 26.0.90; Incorrect Edebug spec for cl-macrolet Gemini Lasswell
2018-07-25 22:24 ` Kaushal Modi
2018-07-27 19:10 ` Gemini Lasswell
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=87vagmwpf2.fsf@runbox.com \
--to=gazally@runbox.com \
--cc=29919@debbugs.gnu.org \
/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).