[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 16:26:52 +0700
On Sat, Aug 12, 2017 at 1:14 PM, Keith David Bershatsky <address@hidden> wrote:
> My goal is to use a pilcrow to represent line endings, and this option can be
> set up using the appropriate buffer-display-table entry.
> I have a custom minor mode that draws cross-hairs the length of the screen to
> track the cursor position, which requires the use of the overlay after-string
> property. Emacs draws the eol glyph after the overlay after-strings are
> placed -- i.e., to the right of the after-string. The result is that the eol
> glyph (e.g., pilcrow) is always on the far right of the after-string overlay.
> I want the eol glyph to appear at the end of the line of text, and the
> overlay after-string should come after the eol glyph (not before).
That explanation would benefit from a screenshot.
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