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: Wed, 21 Jul 2010 17:59:23 +0900
Hi,

Emacs 24.0.50 displays end-of-buffer cursor at different position
from where Emacs 23 does when there is an overlay at eob with
before- or after-string.

Emacs 24.0.50:

o  $ emacs -Q
   Then point is at eob.

o  M-: (overlay-put (make-overlay (point) (point)) 'before-string "?")
   Then cursor is placed on "?".
   (cursor position is indicated with [ and ])

   0) [?]

o  Typing x (or any other char) twice results in the following
   behavior.

   1) [?]x   2) ?xx[]

Emacs 24.0.50, point not at eob:

   0) ?[]   1) ?x[]    2) ?xx[]

Emacs 23.2, point at eob or not at eob:

   0) ?[]   1) ?x[]    2) ?xx[]

So only Emacs 24.0.50 with point at eob displays cursor
differently relative to an overlay placed at eob.

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