[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: frame-local variables weirdness
From: |
Juanma Barranquero |
Subject: |
Re: frame-local variables weirdness |
Date: |
Sat, 9 Dec 2006 15:11:56 +0100 |
On 12/9/06, Richard Stallman <address@hidden> wrote:
I don't think that Emacs has any way to cancel what
make-variable-frame-local does. We never tried to implement one.
I was asking for a way to remove a frame parameter. I don't see any
remove-frame-parameter, and `modify-frame-parameters' can add and
modify values, but not remove them, IIUC.
I am not surprised that confusion happens if you try doing both
to the same variable, because they are conflicting states.
They should not be conflicting. The docstring of
`make-variable-frame-local' says: "Buffer-local bindings take
precedence over frame-local bindings." I would expect that, after
(make-variable-frame-local var)
(make-variable-buffer-local var)
any (set var VALUE) would set a buffer-local value.
I don't think we should try to change this now.
It is a bug nonetheless. We should take note somewhere.
/L/e/k/t/u
Re: frame-local variables weirdness, Juanma Barranquero, 2006/12/09
Re: frame-local variables weirdness, Richard Stallman, 2006/12/11