Background:
I use gnus
under emacs -nw
(so this question is about text-based usage, not the GUI). Depending on the value of the $TERM
environment variable, gnus
will, for example, highlight quoted text in articles, using different colors depending on the depth of quoting (the number of >
characters at the beginning of each line).
I personally prefer plain black text on a white or light background. I usually run emacs -nw
in a terminal emulator with color disabled; in that case it isn't an issue.
But for some ssh clients on mobile devices (particularly JuiceSSH on Android), there doesn't seem to be a way to disable color in the terminal emulator. And the default color scheme seems to assume I have a black background; since I use a white background, yellow text is essentially illegible.
One workaround I've found is to set $TERM
to vt100
, but that requires quitting and restarting emacs. (I run it under GNU screen
, so I commonly view the same Emacs session on different terminal emulators.)
Finally, the question:
Is there a command or configuration option in emacs
or in gnus
to tell it not to use color highlighting without quitting and restarting either emacs
or gnus
? A global configuration for emacs
would be ideal, but something specific to gnus
would do nicely.
If that's not practical, a decent backup solution would be a straightforward way to use a color scheme that's legible on a white background.