[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two binding features
From: |
David Kastrup |
Subject: |
Re: Two binding features |
Date: |
Wed, 07 May 2008 19:43:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Richard M Stallman <address@hidden> writes:
> Two primitive features that would be useful for mumamo
> (and perhaps othere programs) are:
>
> * A primitive that would let-bind variables from an alist.
> I think Common Lisp has such a construct; is that correct?
> I do not recall its name, though.
>
> * A way to temporarily turn off all buffer-local bindings. This could
> take the form of a variable which you would bind with `let', and when
> it is non-nil, the buffer-local bindings are not visible.
How about making (with-current-buffer nil ...) have that effect (in
case this is not already the case or an error)? Or is that
inconvenient?
> I think any feature to temporarily switch modes, or pretend to do so,
> would find these features useful.
How so?
--
David Kastrup