|
From: | Gerry Agbobada |
Subject: | bug#70941: 30.0.50; Low RGB color values use the terminal palette in TUI |
Date: | Tue, 14 May 2024 21:45:13 +0200 |
Hello
My bad, the TERM environment variable is set to xterm-256color there. But infocmp -x still does not show any setf24 or setb24, only setab and setaf again, this time (it seems to be the exact same) #+begin_src setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, #+end_src
What bothers me is that there seems to be an inconsistency there. I expect Emacs in a terminal that supports 24-bit to show the colour `#000000` as pitch black. Instead it’s the 0th colour of the terminal emulator palette. All the colours seems to be displayed exactly as they should, except the first 8 ones. To answer your question, `M-x list-colors-display` seems to show the maximum amount possible (all the colours are named like « goldenrod » etc.), but the first 8 ones definitely don’t look right. I am attaching 2 screenshots, one from my reproduction script, and the first page of list-colors-display, where we can see that the black `#000000` is not dark at all. I hope this will work not too horribly with the apple mail client (for the record, I’m using the emacs-plus recipe, but I don’t think any patch is touching the display code for this https://github.com/d12frosted/homebrew-emacs-plus/tree/master/patches/emacs-30 ) ![]() ![]() |
[Prev in Thread] | Current Thread | [Next in Thread] |