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: Lars Brinkhoff
Subject: Re: edebug specs for cl-loop
Date: Wed, 08 Aug 2012 14:00:51 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:
> loop understand this but not edebug: (Note where the for rand2 line is now)
>
>         for alphaindex = (random* (length alph))
>         collect rand1 into ls
>         for rand2 = (aref alph alphaindex)
>         collect rand2 into ls
>
> loop understand this but not edebug: (note where the while line is now)
>
>           with len = (length (window-list))
>           for count from 1
>           while (< count len)
>           for w1 = (iter-next wlist)
>           for b1 = (window-buffer w1)
>           for s1 = (window-start w1)
>           for w2 = (iter-next wlist)
>           for b2 = (window-buffer w2)
>           for s2 = (window-start w2)


Note that mixing different kinds of loop clauses like this is actually
not permitted by the Common Lisp specification.  Some implementations
signal errors for this (I checked three, they all complained).

(Just FYI, since we're not discussing a scrict CL implementation.)




reply via email to

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