[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Displaying the cursor inside an overlay?
From: |
Eli Zaretskii |
Subject: |
Re: Displaying the cursor inside an overlay? |
Date: |
Sun, 09 Jan 2022 14:09:49 +0200 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Sun, 09 Jan 2022 18:51:54 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Use the 'cursor' property on the string. (This doesn't depend on the
> > cursor's shape, so it should work with a bar cursor as it does with a
> > block cursor.)
>
> Thanks, I must've missed that. I see it in the index of the Lisp
> reference manual now.
Yes, but judging by the code you installed, I'm not sure you used the
property correctly. It's supposed to be on a single character, and
AFAIU your use case its value should be t, not a number.
(This discussion should probably move to emacs-devel.)