From: Xue Fuqiao <xfq.free@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: About the `cursor' property
Date: Fri, 8 Mar 2013 20:45:47 +0800 [thread overview]
Message-ID: <20130308204547.0d13defab21fa0d91e4a1075@gmail.com> (raw)
In (info "(elisp) Special Properties"), there is a `cursor' property.
It says that:
`cursor'
Normally, the cursor is displayed at the beginning or the end of
any overlay and text property strings present at the current
buffer position. You can place the cursor on any desired
character of these strings by giving that character a non-`nil'
`cursor' text property. [...]
I had read through this node, but I still didn't know how to use this
property. I tried "(add-text-properties 1 5 '(cursor 2))" in
*scratch*, but the cursor didn't move. Can anybody help? Thanks.
--
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao
next reply other threads:[~2013-03-08 12:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 12:45 Xue Fuqiao [this message]
2013-03-08 13:05 ` About the `cursor' property Jambunathan K
2013-03-08 14:15 ` Eli Zaretskii
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=20130308204547.0d13defab21fa0d91e4a1075@gmail.com \
--to=xfq.free@gmail.com \
--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).