help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: nested backquotes


From: Stefan Monnier
Subject: Re: nested backquotes
Date: Fri, 20 May 2005 11:24:53 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The goal would be to implement this:
>   https://mail.gna.org/public/xtla-el-dev/2004-11/msg00078.html
> Or the variant
>   https://mail.gna.org/public/xtla-el-dev/2004-12/msg00001.html
> in Xtla, without droping support for GNU Emacs 22.

Maybe I'm way off-base, but lexical-let sounds like a better alternative.
When capturing things like the current buffer, you can just replace

     `(lambda (...) ... ,(current-buffer) ...)
with
     (lexical-let ((buf (current-buffer)))
       (lambda (...) ... buf ...))


-- Stefan


reply via email to

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