[Top][All Lists]
[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: |
Sat, 20 Oct 2007 09:15:12 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
> I'm suggesting we introduce a new concept which we could call "specifier"
> or "localizable quasi variable". We could create them with:
> (defconst new-interprogram-cut-function
> (make-specifier 'x-select-text))
> Now new-interprogram-cut-function is a normal global variable (actually
> a constant: we will never `setq' it). Its value is a "specifier".
> Then we get get the value of this specifier with:
> (specifier-value new-interprogram-cut-function)
> What we have now, where the variable itself has different bindings in
> different contexts, is much cleaner.
Could you expand on what you think makes it cleaner?
The above also gives it different bindings in different contexts: the only
difference is that it's not a variable any more, so you can't let-bind it.
Stefan
- Re: frame-local variables weirdness, (continued)
- Re: frame-local variables weirdness, David Kastrup, 2007/10/14
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/15
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/15
- Re: frame-local variables weirdness, Stephen J. Turnbull, 2007/10/17
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/17
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/18
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/18
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/19
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/19
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/19
- Re: frame-local variables weirdness,
Stefan Monnier <=
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/21
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/21
- Re: frame-local variables weirdness, Miles Bader, 2007/10/21
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/21
- Re: frame-local variables weirdness, Miles Bader, 2007/10/21
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/22
- Re: frame-local variables weirdness, David Kastrup, 2007/10/17
- Re: frame-local variables weirdness, Stephen J. Turnbull, 2007/10/18
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/17
- Re: frame-local variables weirdness, Juanma Barranquero, 2007/10/18