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

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

Re: Can't put cursor after wrapped overlay string with `cursor' property


From: YAMAMOTO Mitsuharu
Subject: Re: Can't put cursor after wrapped overlay string with `cursor' property
Date: Mon, 29 May 2006 09:54:24 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sun, 28 May 2006 22:20:01 +0200, address@hidden (Kim F. Storm) said:

> YAMAMOTO Mitsuharu <address@hidden> writes:
>> In some cases, we can't place the cursor at the middle of overlay
>> string with the 'cursor' text property.

> Actually, if I repeat your example without the cursor property, the
> cursor also disappears.

I didn't notice that.  So, the subject could be simplified. :-)

> I have installed a change to fix the problem.  Pls. retest.

The wrapped line case seems to be fixed.  Thanks for your quick
reaction.  But now I see some strange behavior if the overlay is
placed at the end of line.

emacs -Q -D
(setq overlay (make-overlay 1 1))
(setq str (make-string 100 ?a))
(overlay-put overlay 'before-string str)
M-<
RET
C-p  --> The cursor at the previous position doesn't get erased.
C-l  --> The cursor is displayed at the vertical center position.

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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