emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hl-line and visual-line


From: Tassilo Horn
Subject: Re: Hl-line and visual-line
Date: Fri, 21 May 2010 12:16:23 +0200
User-agent: KMail/1.13.3 (Linux/2.6.34-gentoo; KDE/4.4.3; x86_64; ; )

On Friday 21 May 2010 10:17:08 Eli Zaretskii wrote:

Hi Eli,

> > > On another note, I first thought of just implementing hl-line in
> > > the redisplay code, or perhaps as an option to the cursor display.
> > > When the cursor is drawn, we just highlight the line.  No moving
> > > around overlays in Lisp...
> > 
> > At a first glance, that would be cool.  I like hl-line-mode, but I
> > have to disable it in some modes, because the hl-line-overlay's face
> > overrides the normal font-lock face
> 
> Fixing that would mean introducing some feature that will allow you to
> request that an overlay's priority is below text properties.

That would be as fine as David's suggestion.

> That sounds like a simpler change (we have negative priority values
> vacant for that, I think) than pushing line highlight to the level of
> the basic redisplay.

Negative overlay priorities with that semantics would be very nice.

Bye,
Tassilo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]