[Top][All Lists]

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

bug#25890: `color-values` gives wrong value

From: Eli Zaretskii
Subject: bug#25890: `color-values` gives wrong value
Date: Sat, 04 Mar 2017 18:10:26 +0200

> Date: Sat, 4 Mar 2017 07:38:51 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: michael_heerdegen@web.de, 25890@debbugs.gnu.org, rasmus@gmx.us
> > It should instead produce the most-significant digits.
> Why?

Because that's how colors are interpreted on X, which is where Emacs
takes its ideas of how to process these specs.  See, for example, this
man page:


(Emacs on X uses XParseColor internally in the implementation of

If you do it differently, sooner or later the results will clash with
what Emacs does, and yield subtly wrong values.

I will now bail out of this discussion.  I have nothing more to say
about this issue.  If you don't want to change hexrgb.el, that's your

reply via email to

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