help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying the cursor inside an overlay?


From: Po Lu
Subject: Re: Displaying the cursor inside an overlay?
Date: Sun, 09 Jan 2022 18:51:54 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Date: Sun, 09 Jan 2022 17:41:44 +0800
>> 
>> Is there a way to display the (bar) cursor at some position inside an
>> overlay's before or after string?
>
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]