unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Displaying the cursor inside an overlay?
Date: Sun, 09 Jan 2022 18:51:54 +0800	[thread overview]
Message-ID: <87a6g5tc51.fsf@yahoo.com> (raw)
In-Reply-To: <837db92obd.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Jan 2022 12:31:02 +0200")

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	other threads:[~2022-01-09 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87iluttfdz.fsf.ref@yahoo.com>
2022-01-09  9:41 ` Displaying the cursor inside an overlay? Po Lu
2022-01-09 10:31   ` Eli Zaretskii
2022-01-09 10:51     ` Po Lu [this message]
2022-01-09 12:09       ` Eli Zaretskii
2022-01-09 12:14         ` Po Lu

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87a6g5tc51.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).