Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



Often 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'





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: