emacs-devel
[Top][All Lists]
Advanced

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

Re: Placing eol glyph (buffer-display-table) before an overlay after-str


From: Eli Zaretskii
Subject: Re: Placing eol glyph (buffer-display-table) before an overlay after-string.
Date: Sat, 12 Aug 2017 13:32:25 +0300

> From: Yuri Khan <address@hidden>
> Date: Sat, 12 Aug 2017 17:18:35 +0700
> Cc: Keith David Bershatsky <address@hidden>,
>       Emacs developers <address@hidden>
> 
> > whitespace-mode doesn't use overlay strings, and it doesn't try to
> > replace the visual representation of the newline.
> 
> It sets up a display table with entries for tab, newline, and space.
> And hl-line uses an overlay. hl-line’s overlay doesn’t use the
> after-string property, though, which must be why they work together.

hl-line uses overlays only for setting the face of the displayed text,
not for displaying extra stuff via after-string.

The problem, AFAIU, is to display the after-string _after_ the glyph
which represents the newline.  Which currently cannot be done.



reply via email to

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