Sample Header Ad - 728x90

emacs change point color to current foreground

1 vote
1 answer
232 views
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.
Asked by Silverrocker (1865 rep)
Mar 27, 2013, 10:41 AM
Last activity: Sep 27, 2013, 04:28 PM