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: Wed, 08 Aug 2012 09:42:07 -0400 Message-ID: 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 1344433340 9019 80.91.229.3 (8 Aug 2012 13:42:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 13:42:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 08 15:42:19 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 1Sz6Wg-0004kX-J1 for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 15:42:18 +0200 Original-Received: from localhost ([::1]:48818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz6Wf-0005iH-TS for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 09:42:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz6Wd-0005i0-7W for emacs-devel@gnu.org; Wed, 08 Aug 2012 09:42:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz6WX-0002rT-He for emacs-devel@gnu.org; Wed, 08 Aug 2012 09:42:15 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:47637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz6WX-0002qY-DR for emacs-devel@gnu.org; Wed, 08 Aug 2012 09:42:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09Ld/LR/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="195268917" Original-Received: from 75-119-242-209.dsl.teksavvy.com (HELO pastel.home) ([75.119.242.209]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Aug 2012 09:42:07 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7D90E599B1; Wed, 8 Aug 2012 09:42:07 -0400 (EDT) In-Reply-To: <87pq7193rv.fsf@gmail.com> (Thierry Volpiatto's message of "Wed, 08 Aug 2012 10:39:00 +0200") 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: 206.248.154.182 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:152335 Archived-At: > 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). Stefan