[Top][All Lists]

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

Re: [PATCH 06/10] add most lisp-level features

From: Stefan Monnier
Subject: Re: [PATCH 06/10] add most lisp-level features
Date: Mon, 13 Aug 2012 21:13:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> All I could think of is backquote, which seems pretty gross.
>   (make-thread
>     `(lambda ()
>        (let ((default-directory ,default-directory))
>          ...)))

   (let ((foo inhibit-read-only))
     (make-thread (lambda () (let ((inhibit-read-only foo)) ...)))

Of course, this presumes the use of lexical-binding, otherwise you need
to use lexical-let.

> It occurs to me now that even lexically bound code will use some
> variables which are always dynamic.

Such as?


reply via email to

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