[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: supporting more faces on 256 colors xterms
From: |
Dan Nicolaescu |
Subject: |
Re: supporting more faces on 256 colors xterms |
Date: |
Sun, 08 Feb 2004 15:52:36 -0800 |
"Eli Zaretskii" <address@hidden> writes:
> > From: Andreas Schwab <address@hidden>
> > Date: Sun, 08 Feb 2004 14:45:28 +0100
> >
> > How about min-colors?
>
> Okay, but what to do with the opposite clause, `ncolors<='? That
> would be handy for color-challenged devices.
We don't really need both `ncolors>=' and `ncolors<=', `ncolors>=' (or
whatever we decide to call it) is enough.
Ordering the `ncolors>=' clauses in decreasing order should be enough.
Example:
(defface foo-face
'((((class color)(ncolors>= 88)) (:foreground "Firebrick"))
(((class color)(ncolors>= 16)) (:foreground "red"))
(t (:weight bold :slant italic)))
"Foo."
:group 'foo)
The screenshot at http://www.ics.uci.edu/~dann/emacs.jpg
shows of 2 emacs sessions:
emacs -nw -q --no-site-file
emacs -q --no-site-file&
that show the font-lock faces changed to use the ncolors>= attribute.
As for the name. I would vote for `min-colors'.
- supporting more faces on 256 colors xterms, Dan Nicolaescu, 2004/02/07
- Re: supporting more faces on 256 colors xterms, Eli Zaretskii, 2004/02/08
- Re: supporting more faces on 256 colors xterms, Dan Nicolaescu, 2004/02/08
- Re: supporting more faces on 256 colors xterms,
Dan Nicolaescu <=
- Re: supporting more faces on 256 colors xterms, Eli Zaretskii, 2004/02/09
- Re: supporting more faces on 256 colors xterms, Dan Nicolaescu, 2004/02/12
- Re: supporting more faces on 256 colors xterms, Eli Zaretskii, 2004/02/13
- Re: supporting more faces on 256 colors xterms, Dan Nicolaescu, 2004/02/13
- Re: supporting more faces on 256 colors xterms, Eli Zaretskii, 2004/02/14
- Re: supporting more faces on 256 colors xterms, Dan Nicolaescu, 2004/02/17
- Re: supporting more faces on 256 colors xterms, Eli Zaretskii, 2004/02/13
- Re: supporting more faces on 256 colors xterms, Eli Zaretskii, 2004/02/08
Re: supporting more faces on 256 colors xterms, Richard Stallman, 2004/02/09