zenburn-emacs icon indicating copy to clipboard operation
zenburn-emacs copied to clipboard

cursor color emacsclient

Open KaiSteinert opened this issue 11 years ago • 2 comments

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

KaiSteinert avatar Jan 15 '14 18:01 KaiSteinert

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

BobPortmann avatar May 25 '14 19:05 BobPortmann

@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

matklad avatar Sep 18 '15 23:09 matklad