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: Wed, 08 Aug 2012 18:12:34 +0200 Message-ID: <87ehnhxszx.fsf@gmail.com> References: <87pq77ges6.fsf@gmail.com> <87txwf9tmy.fsf@gmail.com> <87pq739ona.fsf@gmail.com> <87pq7193rv.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344442370 25386 80.91.229.3 (8 Aug 2012 16:12:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 16:12:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 08 18:12:50 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 1Sz8sK-0004mq-UT for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 18:12:49 +0200 Original-Received: from localhost ([::1]:37259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz8sK-0006MQ-4z for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 12:12:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz8sH-0006LU-L1 for emacs-devel@gnu.org; Wed, 08 Aug 2012 12:12:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz8sB-0004N3-Tt for emacs-devel@gnu.org; Wed, 08 Aug 2012 12:12:45 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:52020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz8sB-0004MX-NY for emacs-devel@gnu.org; Wed, 08 Aug 2012 12:12:39 -0400 Original-Received: by wibhm11 with SMTP id hm11so631917wib.12 for ; Wed, 08 Aug 2012 09:12:38 -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=2nGXkyF8P05H6ffw5Gk3VheNZbaeXQII4IqFyXZ8zDE=; b=UFMfg5XvOfufImW2ZimCRf9zhFA7CjVd3hvYWXkkma8t6Q3oa1jU0yYXwFE4hFUUlh l9Ko0eC/xk+Jl97ZiLGzubLVNrW/dcwLCCk4OCEBRvppWcOjknaUYUoeUpIIBres4San xQDbhUjypzpxbSsWff/2MekBhf9PlelWXxcf5x1TM3ftUCoFojDIhgHICEZb0kRnpKmg iAKLCIfy2mQfPc9l+8W9VyXjo2lfqZRArZ0bKv1aMCz2o9Lz8Afyvmyhnw19IOreqKl+ PbdSxulVH9v7ldrEMMMpDPD5+ab17qAHm98fvpQTXlyBnyBuqFFTMCJPY7vv5tqKBlFo P/vA== Original-Received: by 10.180.105.130 with SMTP id gm2mr3938676wib.6.1344442358801; Wed, 08 Aug 2012 09:12:38 -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 ef5sm8639659wib.3.2012.08.08.09.12.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 09:12:37 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Wed, 08 Aug 2012 09:42:07 -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.177 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:152340 Archived-At: Stefan Monnier writes: >> I don't understand what you call simple default and complex one. > > `loop' comes with an edebug spec already: > > (defmacro cl-loop (&rest loop-args) > "..." > (declare (debug (&rest &or symbolp form))) > ...) > > This is a simplistic spec, but AFAIK it works (tho sometimes > suboptimally) in most (all?) cases. > > At least if I do > > % trunk/src/emacs -Q > and then C-u C-M-x on a `loop' form > > Edebug handles it OK (it steps into the subexpressions of the `loop' > form). Indeed, yes it is working in both cases WITHOUT your commented edebug specs too. So I am a little bit lost because it was not working some days ago without them. Thanks for explanations. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997