[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overlay after-string with cursor
From: |
Stefan Monnier |
Subject: |
Re: Overlay after-string with cursor |
Date: |
Fri, 09 Aug 2019 18:02:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Is it possible to add an overlay for one window without changing the
> original buffer text and being able to put my cursor on it?
You can control where the cursor is displayed in the after-string, with
the `cursor` property. Doing in it such a way that it gives the
illusion that you can put the cursor "wherever you want" can be a bit
fiddly, so I think it's worth clarifying why exactly you want something
like that, so as to be better decide how to attack the problem.
Stefan