emacs-devel
[Top][All Lists]
Advanced

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

Re: frame-local variables weirdness


From: Stefan Monnier
Subject: Re: frame-local variables weirdness
Date: Wed, 17 Oct 2007 14:05:13 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

> FWIW, let me remind you that XEmacs has specifiers, which allow rather
> flexible mix and match of buffer-local, window-local, and frame-local
> properties.
> The point is that specifiers have a separate API, no unmarked magic.

Yes, I don't know much about specifiers, but indeed, I'd much rather have
something different than just "variables".

E.g. one of the benefits of "frame-local" variables over using
`frame-parameter' is that the user-code doesn't have to know that the data
is local to frames.  So if we later decide to make it terminal-local or
keyboard-local, or window-local the same code will work fine.

So using a new function (get-local-data SYMBOL) we could take care of such
problems.  I suspect that is indeed what XEmacs's "specifiers" are for.


        Stefan




reply via email to

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