]> git.eshelyaron.com Git - emacs.git/commit
Use the CSS convention for #RGB colors (bug#36304)
authorPip Cet <pipcet@gmail.com>
Mon, 22 Jul 2019 02:40:35 +0000 (02:40 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Jul 2019 11:05:46 +0000 (14:05 +0300)
commit357399014acacc75bd1825fb2f498f1a4be7b362
treefbbfbca7fed181b564f5814c6941297e6f5f0372
parente310843d9dc106187d0e45ef7f0b9cd90a881eec
Use the CSS convention for #RGB colors (bug#36304)

* src/xterm.c (x_parse_color): Change interpretation of #RGB color
triplets to match CSS rather than X conventions.

* lisp/term/tty-colors.el (tty-color-standard-values): Change
interpretation of #RGB color triplets to match CSS rather than X
conventions.  Allow upper-case digits.  Fix rgb:R/G/B
interpretation.

* doc/emacs/display.texi (Colors): Specify the convention used for
"#RGB" color triplets.

* test/lisp/tty-colors-tests.el: New file.

* etc/NEWS: Mention the change.
doc/emacs/display.texi
etc/NEWS
lisp/term/tty-colors.el
src/xterm.c