aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPip Cet2019-07-22 02:40:35 +0000
committerEli Zaretskii2019-07-27 14:05:46 +0300
commit357399014acacc75bd1825fb2f498f1a4be7b362 (patch)
treefbbfbca7fed181b564f5814c6941297e6f5f0372 /etc
parente310843d9dc106187d0e45ef7f0b9cd90a881eec (diff)
downloademacs-357399014acacc75bd1825fb2f498f1a4be7b362.tar.gz
emacs-357399014acacc75bd1825fb2f498f1a4be7b362.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 021e84c9a43..c970a3c55d1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -407,6 +407,12 @@ names in xref buffers.
407 407
408** New variable `file-size-function' controls how file sizes are displayed. 408** New variable `file-size-function' controls how file sizes are displayed.
409 409
410+++
411** Emacs now interprets RGB triplets like HTML, SVG, and CSS do.
412
413The X convention previously used differed slightly, particularly for
414RGB triplets with a single hexadecimal digit per component.
415
410 416
411* Editing Changes in Emacs 27.1 417* Editing Changes in Emacs 27.1
412 418
@@ -1509,7 +1515,6 @@ automatically updates. In the buffer, you can use 's q' or 's e' to
1509signal a thread with quit or error respectively, or get a snapshot 1515signal a thread with quit or error respectively, or get a snapshot
1510backtrace with 'b'. 1516backtrace with 'b'.
1511 1517
1512
1513** thingatpt.el 1518** thingatpt.el
1514 1519
1515--- 1520---