Fork me on GitHub
#emacs
<
2018-09-13
>
vemv16:09:09

Is there a way to customize how will hl-line mode will affect a given face that is unrelated to hl-line

vemv16:09:31

e.g. I have a custom font-locking that comes from a minor mode:

vemv16:09:57

but when I place the cursor over there, hl-line-mode will make it unreadable

vemv16:09:37

(for clarity: as you might not see my hl-line is just another shade of dark grey)

vemv16:09:01

Thanks for the suggestion! That seems to create a buffer-specific hl-line face, whereas I'm seeking a mechanism that says "if hl-line clashes with the specific face xxx, then use yyy as the background color"

tanzoniteblack17:09:29

you could probably do that by overwriting hl-line-make-overlay to put a custom face value based off something? But no, I don't know of any existing way to do this

vemv17:09:22

Sounds well-guided. Probably I'll simply choose less conflicting colors though 🙂

Chase22:09:33

so i'm playing with rolling my own emacs config instead of spacemacs. what do you folks think of this guide to get me going with cider/clojure mode? http://ccann.github.io/2015/10/18/cider.html Anything you would add or subtract? I'm trying to go as minimal as possible (while using use-package) as I actually finally sit down and learn Emacs. It's been a blast so far but I'm concerned I'm neglecting clojure learning while exploring the new toy.