unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6687: [24.0.50] end-of-buffer cursor position with an overlay
@ 2010-07-21  8:59 Tetsuo Tsukamoto
  2010-07-21 15:37 ` Tetsuo Tsukamoto
  0 siblings, 1 reply; 5+ messages in thread
From: Tetsuo Tsukamoto @ 2010-07-21  8:59 UTC (permalink / raw)
  To: 6687

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-19 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21  8:59 bug#6687: [24.0.50] end-of-buffer cursor position with an overlay Tetsuo Tsukamoto
2010-07-21 15:37 ` Tetsuo Tsukamoto
2010-07-21 16:25   ` Tetsuo Tsukamoto
2010-07-21 16:47     ` Tetsuo Tsukamoto
2010-11-19 16:36     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).