Re: confusion (aka specifiers...)

"Stephen J. Turnbull" <[email protected]> Mon, 14 Jun 2004 20:44:34 +0900
Newsgroups gmane.emacs.xemacs.design
Organization The XEmacs Project
Message-ID <[email protected]>
The following message is a courtesy copy of an article
that has been posted to comp.emacs.xemacs as well.

X-Posting to xemacs-design; people interested in actually hacking
specifiers should move discussion there.  Users who want to suggest
uses or express their interest in having such a feature are welcome to
continue on c.e.x, but as usual patches speak louder than other text.

>>>>> "giacomo" == giacomo boffi <[email protected]> writes:

    giacomo> [i'm not sure about the correctness of my lexicon] is it
    giacomo> possible to add to a specifier an instantiator that
    giacomo> matches the frame that has the focus?

You mean you want (for example) to have the text in the focused frame
to be black on some background, while the text in unfocused frames is
gray80, say?  And when the focus leaves a frame, it turns from black
to gray, while the frame that focus enters turns from gray to black?

As far as I know, you can't do that currently.  It's an interesting
idea though, and probably is do-able without performance loss.  The
main issue I see with trying to implement is that it's not obvious to
me where such a specification should rank.

Should the `current-focus' spec have precedence, or should the
`frame-local' spec get it?



-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.