GNU bug report logs - #10181
24.0.92; [wishlist] split `diff-refine-change' in several faces

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 1 Dec 2011 15:57:01 UTC

Severity: wishlist

Found in version 24.0.92

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: 10181 <at> debbugs.gnu.org
Subject: bug#10181: 24.0.92; [wishlist] split `diff-refine-change' in several faces
Date: Sun, 30 Sep 2012 19:38:03 +0300
>> The patch looks OK, please install,
>
> Installed and closed.

I changed the background color of `diff-refine-removed' and
`smerge-refined-removed' from "#ffaaaa" to "#ffbbbb" because
I learned that due to wavelength differences of red and green
colors they are not symmetrical in perception as can be seen
in the small relative shift on this diagram:

http://en.wikipedia.org/wiki/File:CIE_1931_XYZ_Color_Matching_Functions.svg

It is amusing to see how this problem is correctly addressed on
bitbucket.org, but github.com fails to recognize this problem
and still uses "#ffaaaa" instead of "#ffbbbb".

To help resolving this kind of problem I also added a new option
to `list-colors-sort' to sort colors by relative luminance
in the CIE XYZ color space.




This bug report was last modified 10 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.