From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: edebug specs for cl-loop Date: Tue, 07 Aug 2012 07:08:05 +0200 Message-ID: <87txwf9tmy.fsf@gmail.com> References: <87pq77ges6.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344316105 19682 80.91.229.3 (7 Aug 2012 05:08:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 05:08:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 07:08:26 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 1Syc1o-0002gQ-Vw for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 07:08:25 +0200 Original-Received: from localhost ([::1]:55093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syc1n-0000rL-UT for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 01:08:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syc1l-0000rE-JW for emacs-devel@gnu.org; Tue, 07 Aug 2012 01:08:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syc1k-0007VY-OJ for emacs-devel@gnu.org; Tue, 07 Aug 2012 01:08:21 -0400 Original-Received: from mail-wi0-f171.google.com ([209.85.212.171]:56329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syc1k-0007VT-Hp for emacs-devel@gnu.org; Tue, 07 Aug 2012 01:08:20 -0400 Original-Received: by wibhq4 with SMTP id hq4so1813257wib.12 for ; Mon, 06 Aug 2012 22:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=I4ZahtQwLGtSFhli32rq5tpEGLickwiUcGM7AcZ4frU=; b=SbLxf0wWn6OTFsr5+7b7do1/UogpmOfA3K6tb6zWxYKcC2iaanlcEtpzXzY5ZUJ7xl rqdHuKhywCGY6hRGCfIogvFG/MfZsEMdOkDky3gMhSbMOm8pGhfQPgMxtOzdeg99htcF uE2roDy0oGElUCYBCk2DnzItIMuo7Pb9B/ncLt9zjO3ueIYw6LdQQY+ih/z3KA3MrGyw U9zbGm04x1ga03NJSxedUNvae2waJkZcSmuGFby5Iz25jnGtFTSVPRN1aXQbraNhXffn ChWwZBCPknWz4yul5731OvmnnCrwxC2kGpHsReWEklIBjpzG3wwB8wECZuFF7eF63OlS /pQg== Original-Received: by 10.180.84.1 with SMTP id u1mr24172427wiy.15.1344316099495; Mon, 06 Aug 2012 22:08:19 -0700 (PDT) Original-Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id q4sm19339324wix.9.2012.08.06.22.08.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 22:08:18 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Mon, 06 Aug 2012 17:57:27 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 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:152233 Archived-At: Stefan Monnier writes: >> the edebug specs for cl-loop that are commented in cl-macs.el >> are helpfuls, even if they do not work everywhere. >> (They work actually in many loops, not all though) >> Maybe they can be enabled? > > I don't have any experience with them, and only little experience with > `loop' in general, so it is hard for me to judge. I use loop everywhere now, but I never used `def-edebug-spec'. > If you could describe the cases where the current spec doesn't work, and > the cases where the complex spec works better as well as where it fails > (and whether the current spec also fails for those), that would be > very helpful. Ok I will try to collect some examples where it work and not (most work actually). >> They would be better than nothing even if they are not fully working. > > AFAIK the default is to use (&rest &or symbolp form) as debug spec, I don't know this, I tried to look at documentation, but it seem very limited (`def-edebug-spec'). > which should already be a good bit better than nothing. Yes, I am using them actually and they are really helpful. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997