diff options
| author | Pip Cet | 2019-07-22 02:40:35 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2019-07-27 14:05:46 +0300 |
| commit | 357399014acacc75bd1825fb2f498f1a4be7b362 (patch) | |
| tree | fbbfbca7fed181b564f5814c6941297e6f5f0372 /etc | |
| parent | e310843d9dc106187d0e45ef7f0b9cd90a881eec (diff) | |
| download | emacs-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/NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -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 | |||
| 413 | The X convention previously used differed slightly, particularly for | ||
| 414 | RGB 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 | |||
| 1509 | signal a thread with quit or error respectively, or get a snapshot | 1515 | signal a thread with quit or error respectively, or get a snapshot |
| 1510 | backtrace with 'b'. | 1516 | backtrace with 'b'. |
| 1511 | 1517 | ||
| 1512 | |||
| 1513 | ** thingatpt.el | 1518 | ** thingatpt.el |
| 1514 | 1519 | ||
| 1515 | --- | 1520 | --- |