From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: New feature: loop over siblings for some commands Date: Wed, 27 Jul 2011 17:23:01 +0200 Message-ID: <87tya7u4ru.fsf@gnu.org> References: <87aacchtv8.fsf@gnu.org> <87zkkayvld.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm64x-0006wZ-Jd for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 11:31:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm64w-0005M8-Lt for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 11:31:23 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:34384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm64w-0005M4-GQ for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 11:31:22 -0400 Received: by wwf22 with SMTP id 22so1200504wwf.30 for ; Wed, 27 Jul 2011 08:31:21 -0700 (PDT) In-Reply-To: <87zkkayvld.wl%dmaus@ictsoc.de> (David Maus's message of "Tue, 19 Jul 2011 20:27:26 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org Hi David, I've finally managed to get there. David Maus writes: > The macro suffers from leaking: It let-binds symbols like beg, end > etc. that might be present in ,@body. The let-bound symbols will > shadow body's. Yes, you're right. > The whole problem of leaking macros is discussed in Peter Seibel's > "Practical Common Lisp", Chapter 8 > > http://www.gigamonkeys.com/book/macros-defining-your-own.html Nice reading! > The solution is a heavy use of C-h f gensym RET for all symboles > needed in the macro to create fresh, unique und uninterned symbols. Thanks for the suggested solution. I'll continue replying to your other email. Thanks, -- Bastien