bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Juri Linkov
Subject: bug#5809: 23.1.94; cross-reference by anchor yields in accurate position
Date: Sun, 04 Apr 2010 14:07:28 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

>> 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/






reply via email to

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