all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Thu, 22 Jul 2010 01:25:46 +0900	[thread overview]
Message-ID: <m3k4oodcol.fsf@czkmt.ims.u-tokyo.ac.jp> (raw)
In-Reply-To: <m3sk3cdexf.fsf@czkmt.ims.u-tokyo.ac.jp> (Tetsuo Tsukamoto's message of "Thu, 22 Jul 2010 00:37:16 +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





  reply	other threads:[~2010-07-21 16:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=m3k4oodcol.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.