From: Tetsuo Tsukamoto <czkmt@ims.u-tokyo.ac.jp>
To: 6687@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 [thread overview]
Message-ID: <m3hbjtnrbo.fsf@czkmt.ims.u-tokyo.ac.jp> (raw)
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
next reply other threads:[~2010-07-21 8:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-21 8:59 Tetsuo Tsukamoto [this message]
2010-07-21 15:37 ` bug#6687: [24.0.50] end-of-buffer cursor position with an overlay Tetsuo Tsukamoto
2010-07-21 16:25 ` Tetsuo Tsukamoto
2010-07-21 16:47 ` Tetsuo Tsukamoto
2010-11-19 16:36 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3hbjtnrbo.fsf@czkmt.ims.u-tokyo.ac.jp \
--to=czkmt@ims.u-tokyo.ac.jp \
--cc=6687@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.