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: Lennart Borgman
Subject: Re: Hl-line and visual-line
Date: Sat, 22 May 2010 04:35:25 +0200

On Sat, May 22, 2010 at 2:18 AM, Stefan Monnier
<address@hidden> wrote:
>> Didn't I send something for that long ago? I am not sure anymore.
>
> No idea.
>
>> I am not even sure I understand the code. Is it just a simple change
>> in face_at_buffer_position in xfaces.c that is needed?
>
> No.  This is a change to overlays and hence affects all properties, not
> just `face'.  Maybe it'll also require changes in xfaces.c as well, but the
> core change should be somewhat around the code that implements
> functionality like get-char-property.

Thanks, forgot. I looked up all places calling sort_overlays and
changed the relevant ones (I skipped mouse overlays).

However my current patch does not work as I expect in one regard: When
I use hi-lock with text properties marking and an overlay with
negative priority behind the text the hi-lock faces seems to disappear
when I mark again with hi-lock. I can't figure out what might be
wrong. Any ideas?



reply via email to

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