From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6687: [24.0.50] end-of-buffer cursor position with an overlay Date: Fri, 19 Nov 2010 18:36:34 +0200 Message-ID: <83pqu1b78t.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1290185271 32416 80.91.229.12 (19 Nov 2010 16:47:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 16:47:51 +0000 (UTC) Cc: 6687-done@debbugs.gnu.org To: Tetsuo Tsukamoto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 19 17:47:46 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 1PJU7g-00026g-T9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Nov 2010 17:47:41 +0100 Original-Received: from localhost ([127.0.0.1]:40484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJU7g-0002ik-En for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Nov 2010 11:47:40 -0500 Original-Received: from [140.186.70.92] (port=47895 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJU4a-0000iA-LK for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 11:44:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJU4X-0005su-36 for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 11:44:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJU4W-0005sk-Sb for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 11:44:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PJTuU-0000gH-TX for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 11:34:02 -0500 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Nov 2010 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6687@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 6687-done@debbugs.gnu.org id=D6687.12901844132601 (code D ref 6687); Fri, 19 Nov 2010 16:34:02 +0000 Original-Received: (at 6687-done) by debbugs.gnu.org; 19 Nov 2010 16:33: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 1PJTu0-0000fu-5m for submit@debbugs.gnu.org; Fri, 19 Nov 2010 11:33:32 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJTtx-0000fo-8D for 6687-done@debbugs.gnu.org; Fri, 19 Nov 2010 11:33:30 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LC500K004TLGV00@a-mtaout22.012.net.il> for 6687-done@debbugs.gnu.org; Fri, 19 Nov 2010 18:38:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.52.47]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LC500KY74W83020@a-mtaout22.012.net.il>; Fri, 19 Nov 2010 18:38:33 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Nov 2010 11:34:02 -0500 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:41754 Archived-At: > From: Tetsuo Tsukamoto > Date: Thu, 22 Jul 2010 01:25:46 +0900 > Cc: > > 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. Sorry for such a long delay, but I finally fixed this (in revision 102440). Thanks for reporting this, and for a detailed test case.