From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tetsuo Tsukamoto Newsgroups: gmane.emacs.bugs Subject: bug#6687: [24.0.50] end-of-buffer cursor position with an overlay Date: Thu, 22 Jul 2010 01:25:46 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279730948 16615 80.91.229.12 (21 Jul 2010 16:49:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2010 16:49:08 +0000 (UTC) To: 6687@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 21 18:49:04 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ObcTe-0008HB-Fp for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 18:49:02 +0200 Original-Received: from localhost ([127.0.0.1]:43356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObcTd-0001hx-Kl for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 12:49:01 -0400 Original-Received: from [140.186.70.92] (port=35960 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObcBy-0005UR-4f for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 12:30:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObcBv-0008Cm-G1 for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 12:30:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39163) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObcBv-0008Cb-Cw for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 12:30:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Obc7N-0006tB-Q9; Wed, 21 Jul 2010 12:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tetsuo Tsukamoto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2010 16:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6687-submit@debbugs.gnu.org id=B6687.127972953326474 (code B ref 6687); Wed, 21 Jul 2010 16:26:01 +0000 Original-Received: (at 6687) by debbugs.gnu.org; 21 Jul 2010 16:25:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obc6u-0006sx-Jo for submit@debbugs.gnu.org; Wed, 21 Jul 2010 12:25:32 -0400 Original-Received: from mailv2.ecc.u-tokyo.ac.jp ([133.11.70.76]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obc6s-0006sq-QE for 6687@debbugs.gnu.org; Wed, 21 Jul 2010 12:25:32 -0400 Original-Received: from ms003.ecc.u-tokyo.ac.jp (ms003.ecc.u-tokyo.ac.jp [133.11.70.173]) by mailv2.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id AA51F6C004C for <6687@debbugs.gnu.org>; Thu, 22 Jul 2010 01:25:55 +0900 (JST) Original-Received: from jitaku.ims.u-tokyo.ac.jp (59.157.29.214 [59.157.29.214]) by ms003.ecc.u-tokyo.ac.jp (deepsmtpd.stn.b 3.5.75) with ESMTP id for <6687@debbugs.gnu.org>; Thu, 22 Jul 2010 01:25:47 +0900 In-Reply-To: (Tetsuo Tsukamoto's message of "Thu, 22 Jul 2010 00:37:16 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-IP: 59.157.29.214 X-FROM-DOMAIN: ims.u-tokyo.ac.jp X-FROM-EMAIL: czkmt@ims.u-tokyo.ac.jp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Jul 2010 12:26:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38733 Archived-At: 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