Subject: Re: bug#16192: hl-line-mode: Current line highlighting takes precedence over region highlighting

From: Jarosław Rzeszótko <[email-masked]>
Date: Thu, 19 Dec 2013 15:19:45 +0100

Hi,

There is now a little quirk if the window has a margin, see here:

http://imgur.com/pkxRmhf

The first column on the left is the margin (as in left-margin-width), and
the bright yellow rectangle is the cursor block. When the margin is
disabled, it does fix the issue for me.

Cheers,
Jarosław Rzeszótko

2013/12/19 Stefan Monnier <[email-masked]>

> > I use a current emacs build from VCS. When you use hl-line-mode with the
> > default settings, the highlighting of the current line takes precedence
> > over the region highlighting.
>
> Actually, that depends on the relative position/size of the two.
> I've just installed a patch which lowers the priority of the hl-line
> highlighting, which seems like a good thing to do in general and which
> should resolve this problem (unless you use the same attributes for the
> region and the hl-line faces).
>
>
>         Stefan
>