Open KaiSteinert opened 10 years ago
I had the opposite problem, cursor was setup correctly only when starting from emacs --daemon
. I tracked it down to viper-mode, which also sets the cursor color by default. If I (load-theme 'zenburn t)
before I (require 'viper)
then everything seems to work.
Hope this will help someone...
@KaiSteinert this thing have been driving me crazy for about a year, and now I finally fixed it !!! \o/
TL;DR: try adding (setq inhibit-x-resources 't)
to init.el
The problem in my case was that emacs daemon used settings from Xresources (although I don't have a ~/.Xresources
file).
One way to diagnose a problem is to do list-face-display
, find cursor
face and see if it is Change outside customize
I found the answer here: http://emacs.stackexchange.com/questions/13291/emacs-cursor-color-is-different-in-daemon-and-non-daemon-modes
When I start emacs with just the "emacs" command everything looks good, but when I "emacs --daemon" and "emacsclient -c" the cursor is very dark just a little bit more then the background, which I find very annoying.
Any ideas?
Thanks in advance