emacs-devel
[Top][All Lists]
Advanced

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

Two binding features


From: Richard M Stallman
Subject: Two binding features
Date: Wed, 07 May 2008 13:35:09 -0400

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.
`with-current-buffer' should bind it to nil so that the buffer-local
bindings of the newly current buffer always do take effect.

It would be ok if certain variables whose values are stored directly
in the buffer object, such as `buffer-file-name', fail to be affected
by this feature.

I think any feature to temporarily switch modes, or pretend to do so,
would find these features useful.  Could someone implement them?




reply via email to

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