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: Thierry Volpiatto
Subject: Re: edebug specs for cl-loop
Date: Wed, 08 Aug 2012 18:12:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> 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).
Indeed, yes it is working in both cases WITHOUT your commented edebug
specs too.
So I am a little bit lost because it was not working some days ago
without them.

Thanks for explanations.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 



reply via email to

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