From: Philipp Stephani <p.stephani2@gmail.com>
To: 40431-done@debbugs.gnu.org
Subject: bug#40431: 27.0.90; Can't edebug cl-defuns with &aux destructuring
Date: Wed, 10 Jun 2020 15:43:03 +0200 [thread overview]
Message-ID: <CAArVCkSwqG2FpDq87G5dMOYx_0sf6nz9S4p6ogL7Ghq_AyiMfg@mail.gmail.com> (raw)
In-Reply-To: <CAArVCkQDQNVGj_pA2WxbrPqidn5s+H89aq+V2T2R_XUXRML02g@mail.gmail.com>
Am Mi., 10. Juni 2020 um 13:32 Uhr schrieb Philipp Stephani
<p.stephani2@gmail.com>:
>
> Am Sa., 4. Apr. 2020 um 18:19 Uhr schrieb Philipp Stephani
> <p.stephani2@gmail.com>:
> >
> >
> > Insert into *scratch*:
> >
> > (cl-defun foo (&aux ((a . b) '(1 . 2)))
> > (list a b))
> >
> > Now try to edebug this function (move point into it, hit C-u C-M-x).
> > This gives an error:
> >
> > Debugger entered--Lisp error: (invalid-read-syntax "Expected one of" arg nil)
>
> My guess is that in the specification
>
> ["&aux" &rest &or (symbolp &optional def-form) symbolp]
>
> we should replace 'symbolp' with 'cl-macro-arg'. This might cause
> other issues, however, as that specification is probably no longer
> decidable.
Actually, &optional uses the same thing, which appears to work fine,
so I went ahead and implemented this with commit
73be4d1ed5b190bd93e9bad6aebe43d0dea0d7d3.
prev parent reply other threads:[~2020-06-10 13:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 16:17 bug#40431: 27.0.90; Can't edebug cl-defuns with &aux destructuring Philipp Stephani
2020-04-04 16:24 ` Andreas Schwab
2020-04-04 16:27 ` Philipp Stephani
2020-06-10 11:32 ` Philipp Stephani
2020-06-10 13:43 ` Philipp Stephani [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=CAArVCkSwqG2FpDq87G5dMOYx_0sf6nz9S4p6ogL7Ghq_AyiMfg@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=40431-done@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).