I'm trying to customize my emacs so that the point color is the same as the foreground on of the character I'm standing on.
I have this now:
(defun fixpoint ()
"awesome stuff happening to point"
(interactive)
(set-cursor-color (eyedrop-foreground-at-point)))
(add-hook 'post-command-hook 'fixpoint)
I'm using http://www.emacswiki.org/eyedropper.el for eyedropper.
There are 2 problems with this I'm trying to fix.
First, the hook is ran after each command which seems a bit overkill. Isn't there a hook for point motion?
Second, when highlighting matching braces, the point does not change color. I have to move forward to the next matching brace and jump back to see the actual change in point color.