From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bolega Newsgroups: gmane.emacs.help Subject: Re: need help debugging edebug (Common lisp problem?) Date: Tue, 14 Dec 2010 12:47:12 -0800 (PST) Organization: http://groups.google.com Message-ID: <46a2c456-1ccc-40ce-8565-fc6f3d13d287@i18g2000yqn.googlegroups.com> References: <87d3p4pfi7.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292427480 12467 80.91.229.12 (15 Dec 2010 15:38:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2010 15:38:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 15 16:37:56 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PStQJ-0002yL-SH for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 16:37:55 +0100 Original-Received: from localhost ([127.0.0.1]:44137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PStQH-0004MF-M9 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 10:37:45 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!i18g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 75.28.101.23 Original-X-Trace: posting.google.com 1292359632 11273 127.0.0.1 (14 Dec 2010 20:47:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 14 Dec 2010 20:47:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i18g2000yqn.googlegroups.com; posting-host=75.28.101.23; posting-account=REkl4woAAABFXaU7nL79XtGpnmNCQ415 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; {83B3ACED-AC9F-2058-FD69-DBCDCD722B97}; (R1 1.5)),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:183269 X-Mailman-Approved-At: Wed, 15 Dec 2010 10:34:28 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77531 Archived-At: On Dec 14, 6:59=A0am, "Pascal J. Bourguignon" wrote: > rusi 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. =A0It definitely > goes over my multi-mega-pixel display. =A0Perhaps 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. =A0Of course, if you start with a > multi-page form, it won't get better. > > -- > __Pascal Bourguignon__ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://www.= informatimago.com/ > A bad day in () is better than a good day in {}.