emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] New feature: loop over siblings for some commands


From: Bastien
Subject: Re: [O] New feature: loop over siblings for some commands
Date: Wed, 27 Jul 2011 17:23:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi David,

I've finally managed to get there.

David Maus <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]