[Top][All Lists]

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

Re: Fill column indicator functionality

From: Ergus
Subject: Re: Fill column indicator functionality
Date: Sat, 04 May 2019 18:42:33 +0200
User-agent: K-9 Mail for Android

I tried a similar approach but I didn't finish it yet. The direct vector modification didn't work for me ... Probably because the indicator face is always reset after setting the indicator and I think the real screen update is made after the matrix generation. (If I understood right how the display engine works)

So with this approach the merge really creates a new face dynamically if needed.

Any way if that approach finally works for the general case I can fix also the other case. I will try it tomorrow because today I don't have time.

Thanks Alp specially for the Lisp code :-).

On May 4, 2019 5:59:37 PM GMT+02:00, Eli Zaretskii <address@hidden> wrote:
From: Alp Aker <address@hidden>
Date: Sat, 4 May 2019 11:44:11 -0400
Cc: Emacs devel <address@hidden>

User customization could be accommodated by something like the below (naive) patch. We define
fill-column-indicator face to have unspecified background; when displaying the indicator we merge the
indicator face into the current it->face_id (the same face used for the stretch glyph preceding the indicator).

What about the case there's no stretch, i.e. the indicator directly
follows the last character of the line?

Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.
reply via email to

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