tags:

views:

55

answers:

1

Hello,

I like the Emacs color theme clarity. I start the theme with M-x color-theme-clarity. However, I would rather have the background was always black, rather than the mixed black and white as seen in my screenshot. It seems like if there is a line that has never had text on it, it will be white rather than black. How do I fix this?

Thank you and best regards.

my emacs session

+1  A: 

That is odd. I also use the clarity color theme and I sometimes notice that if I switch to it from another theme some of the colors are off in certain areas.

Try setting it as the initial color theme in your .emacs file so that it is the first theme used when Emacs is opened:

(require 'color-theme)
(setq color-theme-is-global t)
(color-theme-clarity)

This might help if the issue is caused by a conflict with a previously used theme.

Ray Vega
I think the variable color-theme-is-cumulative might have something to do with this.Documentation:*Determines wether new color themes are installed on top of each other.If non-nil, installing a color theme will undo all settings made byprevious color themes.
mmmasterluke
Ha! A typo in the Emacs documentation: wether -> whether
mmmasterluke
Ah. Thanks. You at least cleared up that mystery for _me_.
Ray Vega
Thanks Ray for the suggestion. And mmmasterluke thanks for the pointer to that variable. I need to look into color themes more. But, in the meantime Ray your code did the trick.
stevejb