[Top][All Lists]

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

Re: Font-lock.el uses strange value for min-colors (Was x-display-color-

From: Jan D.
Subject: Re: Font-lock.el uses strange value for min-colors (Was x-display-color-cells returns wrong number)
Date: Mon, 1 Mar 2004 10:39:47 +0100

I know that the list of colors displayed by list-colors-display on X
is fixed (see my message earlier in this thread), but I always
thought, I don't know why, that the length of that list is near the
number returned by display-color-cells.

If this is not true, one may ask what is so ``interesting'' about the
specific colors we show as opposed to those we don't.  For example,
when I work on Irix, I generally like to use the Irix-specific colors
(that are not shown by list-colors-display, of course) because they
are much more pleasant to my eyes.  So to me, those unshown colors are
much more ``interesting'' than those we show, in that specific case.

Emacs could read the rgb.txt file and add colors from that file into
the list.  Or better, execute showrgb and catch the output.  That way
Emacs does not have to worry where the rgb.txt file is.  But this
may too slow, I haven't tested it.

I assume those Irix colors are shown by showrgb.

        Jan D.

reply via email to

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