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 20:14:09 +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>
>> 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.

Ahh, thanks, I understand now.  Dunno why it seemed to work: probably my
input method is set up in some queer way.


reply via email to

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