[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nested backquotes
From: |
Matthieu Moy |
Subject: |
Re: nested backquotes |
Date: |
Fri, 20 May 2005 18:05:37 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.4 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> 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 ...))
With the "capture" version, you can also do
(tla--lambda-with-capture (x y z)
(... foo ... (capture foo) ... (capture (current-buffer))))
which I find more readable. (I've started to look at the lexical-let
option too)
Thanks for your help anyway.
--
Matthieu
- nested backquotes, Matthieu Moy, 2005/05/18
- Re: nested backquotes, rgb, 2005/05/18
- Re: nested backquotes, Matthieu Moy, 2005/05/18
- Re: nested backquotes, Thierry Emery, 2005/05/18
- Re: nested backquotes, Stefan Monnier, 2005/05/20
- Re: nested backquotes, Stefan Monnier, 2005/05/20
- Re: nested backquotes,
Matthieu Moy <=
- Re: nested backquotes, Stefan Monnier, 2005/05/20
- Re: nested backquotes, Matthieu Moy, 2005/05/21
- Re: nested backquotes, Matthieu Moy, 2005/05/21