GNU bug report logs - #6687
[24.0.50] end-of-buffer cursor position with an overlay

Previous Next

Package: emacs;

Reported by: Tetsuo Tsukamoto <czkmt <at> ims.u-tokyo.ac.jp>

Date: Wed, 21 Jul 2010 09:20:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tetsuo Tsukamoto <czkmt <at> ims.u-tokyo.ac.jp>
To: 6687 <at> debbugs.gnu.org
Subject: bug#6687: [24.0.50] end-of-buffer cursor position with an overlay
Date: Thu, 22 Jul 2010 01:25:46 +0900
Sorry for many postings,

With additional testings I found the following relationships
between point positions and the cursor behaviors under Emacs
24.0.50.

Invoked Emacs with emacs -Q.  After I moved the point so as to meet
one of the four conditions mentioned in results, I did the
following.

0) M-: (overlay-put (make-overlay (point) (point)) 'before-string "?")
1) Type x.
2) Type additional x.

Results were as follows (cursor position is indicated with [ and ]).

 initial point position  :        cursor behavior
(and (eobp) (eolp))      :  0) [?]   1) [?]x   2) ?xx[]
(and (not (eobp)) (eolp)):  0) [?]   1) ?x[]   2) ?xx[]
(and (eobp) (not (eolp))):  0) ?[]   1) ?x[]   2) ?xx[]
(not (or (eobp) (eolp))) :  0) ?[]   1) ?x[]   2) ?xx[]

Suppose 1st result may not be expected.  2nd result is also
different from what Emacs 23.2 produces. 3rd and 4th results seem
OK.


-- 
Tetsuo Tsukamoto




This bug report was last modified 14 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.