all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: esq@lawlist.com, emacs-devel@gnu.org
Subject: Re: Placing eol glyph (buffer-display-table) before an overlay after-string.
Date: Sat, 12 Aug 2017 13:32:25 +0300	[thread overview]
Message-ID: <831sohjcue.fsf@gnu.org> (raw)
In-Reply-To: <CAP_d_8VeL=na+VApX8aLrDF_EVWz4qOtoAXO2p8Av_Hh0ZJj2w@mail.gmail.com> (message from Yuri Khan on Sat, 12 Aug 2017 17:18:35 +0700)

> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Sat, 12 Aug 2017 17:18:35 +0700
> Cc: Keith David Bershatsky <esq@lawlist.com>,
> 	Emacs developers <emacs-devel@gnu.org>
> 
> > 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	other threads:[~2017-08-12 10:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-12  6:14 Placing eol glyph (buffer-display-table) before an overlay after-string Keith David Bershatsky
2017-08-12  6:56 ` Eli Zaretskii
2017-08-12  9:26 ` Yuri Khan
2017-08-12  9:52   ` Eli Zaretskii
2017-08-12 10:18     ` Yuri Khan
2017-08-12 10:32       ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-12 19:03 Keith David Bershatsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831sohjcue.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=esq@lawlist.com \
    --cc=yuri.v.khan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.