emacs-devel
[Top][All Lists]
Advanced

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

Re: frame-local variables weirdness


From: Richard Stallman
Subject: Re: frame-local variables weirdness
Date: Fri, 19 Oct 2007 23:30:09 -0400

    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.




reply via email to

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