GNU bug report logs - #40431
27.0.90; Can't edebug cl-defuns with &aux destructuring

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sat, 4 Apr 2020 16:19:01 UTC

Severity: normal

Tags: confirmed

Found in version 27.0.90

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: 40431 <at> debbugs.gnu.org
Subject: bug#40431: 27.0.90; Can't edebug cl-defuns with &aux destructuring
Date: Wed, 10 Jun 2020 13:32:54 +0200
Am Sa., 4. Apr. 2020 um 18:19 Uhr schrieb Philipp Stephani
<p.stephani2 <at> 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.




This bug report was last modified 4 years and 342 days ago.

Previous Next


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