[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffer-local faces
From: |
Miles Bader |
Subject: |
Re: Buffer-local faces |
Date: |
Tue, 4 May 2004 10:02:41 -0400 |
User-agent: |
Mutt/1.3.28i |
On Tue, May 04, 2004 at 09:37:52AM -0400, Stefan Monnier wrote:
> > It's a much less obvious operation (what does subtracting red from black
> > yield? [Ok, maybe cyan :-]) and I can't offhand think of any obvious uses
> > for it....
>
> As I suggested, we might want to add a notion of color composition, so we
> could have a face that make the foreground darker, or redder, or ...
Yeah, that's one of the areas I've wanted to work on -- I was thinking about
things like `darker'/`lighter'/ `more-intense'/`less-intense' color operators
(the latter two automatically choosing darker or lighter depending on the
context), plus `shaded' versions of the same operators (e.g., doing the
operation with a particular tint).
The reason is so that many faces could be written to be independent of
particular background colors; currently many faces only work well in a single
context (as evidenced by the occasional bickering over face colors :-) --
with such operators, they could even work well in dynamic contexts thanks to
face merging.
I don't know about CMY vs. RGB though -- in my somewhat limited experience,
_all_ color systems suck for this of thing... :-)
> I'm not sure what's a useful generalization, maybe a "filtered inheritance"
> where you can specify which attributes are inherited from a given parent.
Yeah, the question is what's a good way to specify it? It's always tempting
to just throw in lisp code, but we've seen the messes that gets us into with
the signal handlers &c...
-Miles
--
`There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.'
- Re: Buffer-local faces, (continued)
- Re: Buffer-local faces, Richard Stallman, 2004/05/03
- Re: Buffer-local faces, Stefan Monnier, 2004/05/03
- Re: Buffer-local faces, Miles Bader, 2004/05/03
- Re: Buffer-local faces, Juri Linkov, 2004/05/04
- Re: Buffer-local faces, Miles Bader, 2004/05/04
- Re: Buffer-local faces, Stefan Monnier, 2004/05/04
- Re: Buffer-local faces,
Miles Bader <=
- Re: Buffer-local faces, Stefan Monnier, 2004/05/04
- Re: Buffer-local faces, Richard Stallman, 2004/05/05
- Re: Buffer-local faces, Richard Stallman, 2004/05/05
- Re: Buffer-local faces, Miles Bader, 2004/05/06
- Re: Buffer-local faces, Richard Stallman, 2004/05/05
- Re: Buffer-local faces, Stefan Monnier, 2004/05/05
- Re: Buffer-local faces, Richard Stallman, 2004/05/05
- Re: Buffer-local faces, Richard Stallman, 2004/05/04
- Re: Buffer-local faces, David Kastrup, 2004/05/04
- Re: Buffer-local faces, Miles Bader, 2004/05/04