Subject: bug#5809: 23.1.94; cross-reference by anchor yields in accurate position

From: Juri Linkov <[email-masked]>
Date: Sun, 04 Apr 2010 14:07:28 +0300

>> There are still a problem.  I can't find a way to move the cursor
>> inside the overlay's after-string and click links inside it.
>> Any suggestions?
>
> Does it work to change the character of the overlay string on which
> you put the `cursor' property?  (You will need to redefine C-f, C-b,
> and friends for that.)

Sorry, I don't understand what do you mean.  Could you modify the example
you recently sent to emacs-devel:

    (let ((pos (goto-char (point-max))))
      (insert "foobar")
      (overlay-put
	(make-overlay (+ pos 2) (+ pos 3))
	'after-string (propertize "-" 'cursor t)))

to allow the cursor to move inside 'after-string and to not jump over it?

-- 
Juri Linkov
http://www.jurta.org/emacs/