emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: edebug specs for cl-loop


From: Stefan Monnier
Subject: Re: edebug specs for cl-loop
Date: Wed, 08 Aug 2012 09:42:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> I don't understand what you call simple default and complex one.

`loop' comes with an edebug spec already:

   (defmacro cl-loop (&rest loop-args)
     "..."
     (declare (debug (&rest &or symbolp form)))
     ...)

This is a simplistic spec, but AFAIK it works (tho sometimes
suboptimally) in most (all?) cases.

At least if I do

   % trunk/src/emacs -Q
   and then C-u C-M-x on a `loop' form

Edebug handles it OK (it steps into the subexpressions of the `loop'
form).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]