help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: need help debugging edebug (Common lisp problem?)


From: bolega
Subject: Re: need help debugging edebug (Common lisp problem?)
Date: Tue, 14 Dec 2010 12:47:12 -0800 (PST)
User-agent: G2/1.0

On Dec 14, 6:59 am, "Pascal J. Bourguignon" <p...@informatimago.com>
wrote:
> rusi <rustompm...@gmail.com> writes:
> > The following function (fromhttp://delysid.org/emacs/midi.el)
> > crashes edebug.
> > It gives
>
> > edebug-syntax-error: Invalid read syntax: "Failed matching",
> > ([&optional ["named" symbolp]] [&rest &or ["repeat" form] loop-for-as
> > loop-with loop-initial-final] [&rest loop-clause])
>
> > Note: It loads correctly (or rather silently) if edebug is turned off
>
> > I have a feeling its in the loop (cl) macro. Can someone who knows CL
> > better have a look?
>
> And I have the feeling that this function is too big.  It definitely
> goes over my multi-mega-pixel display.  Perhaps you should refactor it.

show him how to refactor it and iff possible to me how to read it.

once you wrote that one who knows CL can read it without the need of
comments just like english prose.

> Otherwise, if you have a problem with a macro, you can always
> macroexpand it to see what it does.  Of course, if you start with a
> multi-page form, it won't get better.
>
> --
> __Pascal Bourguignon__                    http://www.informatimago.com/
> A bad day in () is better than a good day in {}.



reply via email to

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