GNU bug report logs - #15587
[PATCH] Edebug `destructuring-bind' dotted spec

Previous Next

Package: emacs;

Reported by: Oleh <oleh.krehel <at> gmail.com>

Date: Fri, 11 Oct 2013 10:41:01 UTC

Severity: normal

Tags: confirmed, patch

Merged with 6415, 6566, 24885

Found in versions 23.1.50, 23.2, 26.0.50

Done: Gemini Lasswell <gazally <at> runbox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Oleh <oleh.krehel <at> gmail.com>
Cc: 15587 <at> debbugs.gnu.org
Subject: bug#15587: [PATCH] Edebug `destructuring-bind' dotted spec
Date: Sat, 12 Oct 2013 15:12:27 -0400
> Currently it's not possible to edebug
> (defun foo (z)
>   (destructuring-bind (x . y) z (+ x y)))

Hmm... indeed.

> I attach a small patch to fix this.

Thanks.

> -           (debug (&define cl-macro-list def-form cl-declarations def-body)))
> +           (debug (&define [&or cl-macro-list (sexp . sexp)] def-form cl-declarations def-body)))

But the same problem applies to cl-defmacro.  I.e. the fix should be in
`cl-macro-list', I think.


        Stefan




This bug report was last modified 7 years and 182 days ago.

Previous Next


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