From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: edebug specs for cl-loop Date: Tue, 07 Aug 2012 11:11:18 -0400 Message-ID: References: <87pq77ges6.fsf@gmail.com> <87txwf9tmy.fsf@gmail.com> <87pq739ona.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344352295 7245 80.91.229.3 (7 Aug 2012 15:11:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 15:11:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 17:11:35 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SylRX-0007Xl-3j for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 17:11:35 +0200 Original-Received: from localhost ([::1]:52489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SylRW-000673-7l for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 11:11:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SylRO-00066k-RQ for emacs-devel@gnu.org; Tue, 07 Aug 2012 11:11:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SylRJ-0007O0-3J for emacs-devel@gnu.org; Tue, 07 Aug 2012 11:11:26 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:39718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SylRI-0007NL-VA for emacs-devel@gnu.org; Tue, 07 Aug 2012 11:11:21 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q77FBISu030970; Tue, 7 Aug 2012 11:11:18 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id B6332B4081; Tue, 7 Aug 2012 11:11:18 -0400 (EDT) In-Reply-To: <87pq739ona.fsf@gmail.com> (Thierry Volpiatto's message of "Tue, 07 Aug 2012 08:55:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4303=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4303> : streams <795846> : uri <1186098> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152251 Archived-At: > 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 By "edebug" which edebug-spec do you mean: the simple default (&rest &or symbolp form) or the complex one? AFAICT, the simple default should handle the above just fine, right? > 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) > Both give same result. Here as well, the simple default spec should handle this just fine. Stefan