all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About the `cursor' property
@ 2013-03-08 12:45 Xue Fuqiao
  2013-03-08 13:05 ` Jambunathan K
  2013-03-08 14:15 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: Xue Fuqiao @ 2013-03-08 12:45 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-08 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 12:45 About the `cursor' property Xue Fuqiao
2013-03-08 13:05 ` Jambunathan K
2013-03-08 14:15 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.