Closed wdkrnls closed 9 years ago
Sorry if I don't have that much time to look about it by myself, but why are you using hl-line+
and not just the global-hl-line-mode
?
Is hl-line-flash
equal by default to hl-line
? If yes, I see no objection to give it a different value in my theme.
Regarding your question about my préférences, yes, I'd be strongly opposed to a strong highlighting of the current line (at least for me); I even doubt about using hl-line-mode
at all! Even if I still do use it for now...
But be aware that I'm very open to anything that can make my theme more open and/or attractable. Hence, maybe, some customization variables or such...
I think I've improved the contrast of highlight-line
. Though, I'm still interested in your answer to the above.
Looking at the code for hl-line-flash
, it just turns on global-hl-line-mode
on the current line, waits hl-line-flash-show-period
seconds, and turns it off.
@fniessen I think you recently added the underline to the hl-line
correct? Is there a way to turn this off without manually setting the face? The problem is that it makes the underscores in any headline not show up:
With the line not on the headline:
With the line on the headline:
(Notice that the underscores just don't show up due to the hl-line
underline now)
The above description is correct. It seems to depend, though, on specific fonts and/or specific sizes...
I've sent a bug report to the Emacs maintainers (emacs-bug#20510: Underscore hidden by underline). Wait and see...
I'd like it to be solved, because I like the underline in the current line.
Depending on the outcome, I'll either remove the underline, or add an option to be able to disable it.
Thanks @fniessen :) judging from the response on the emacs-bugs mailing list, this isn't something that's fixable easily on the Emacs side. Would you be against adding an option to disable it?
Regarding the underline attribute of hl-line
, yep, simply disabled -- though I really think that it'd be a great additon, wouldn't it "remove" the underscores in some fonts / heights.
@wdkrnls, I improved the contrast of the hl-line
by default.
I have same question, hope @fniessen can add an option to disable this for a temporary solution.
I often use
hl-line-flash
from thehl-line+
package to orient myself in a buffer. I found the default leuven highlight color to be hard to see, so I replaced it with a bright red. Would that be reasonable change to make to the official color scheme, or do you feel strongly about the low contrast yellow?