4 ms·
Emacs has its not super discoverable frame-background mode[0] which is effectively either 'light' or 'dark'. When you're wondering why Emacs chose poor colors
by praptak 2y ago
Emacs has its not super discoverable frame-background mode[0] which is effectively either 'light' or 'dark'.
When you're wondering why Emacs chose poor colors for something, it's often frame-background-mode being wrong.
[0]https://doc.endlessparentheses.com/Var/frame-background-mode.html https://doc.endlessparentheses.com/Var/frame-background-mode...
- teddyh 2y agoBetter link: <https://www.gnu.org/software/emacs/manual/html_node/emacs/Faces.html https://www.gnu.org/software/emacs/manual/html_node/emacs/Fa...>
- o11c 2y agoOften the underlying problem is a failure of the terminal to set the `COLORFGBG` variable. For dark-background terminals with white text: export COLORFGBG='15;0' For light-background terminals with black text: export COLORFGBG='0;15'