[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Placing eol glyph (buffer-display-table) before an overlay after-str
Re: Placing eol glyph (buffer-display-table) before an overlay after-string.
Sat, 12 Aug 2017 17:18:35 +0700
On Sat, Aug 12, 2017 at 4:52 PM, Eli Zaretskii <address@hidden> wrote:
>> I am using whitespace-mode to display a pilcrow for line endings, and
>> hl-line-mode to highlight the current line. For me, that setup works
>> and places the pilcrow correctly, although I don’t highlight the
>> current column.
> 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.