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: Wed, 21 Jul 2010 17:59:23 +0900 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279727205 2094 80.91.229.12 (21 Jul 2010 15:46:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2010 15:46:45 +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 17:46:43 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 1ObbVJ-0007D0-32 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 17:46:41 +0200 Original-Received: from localhost ([127.0.0.1]:33265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObbVI-0006Bs-C3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 11:46:40 -0400 Original-Received: from [140.186.70.92] (port=39193 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObVdW-0006uD-BM for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 05:30:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObVdU-0007TL-Pm for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 05:30:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38228) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObVdU-0007TA-NA for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 05:30:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObVT9-0001t0-Rv; Wed, 21 Jul 2010 05:20:03 -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 09:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12797039627236 (code B ref -1); Wed, 21 Jul 2010 09:20:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jul 2010 09:19:22 +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 1ObVST-0001sf-Qs for submit@debbugs.gnu.org; Wed, 21 Jul 2010 05:19:22 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObV8v-0001jm-OR for submit@debbugs.gnu.org; Wed, 21 Jul 2010 04:59:10 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:53503) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ObV9L-0002Fu-Tt for submit@debbugs.gnu.org; Wed, 21 Jul 2010 04:59:35 -0400 Original-Received: from [140.186.70.92] (port=34018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObV9K-0007kc-0I for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 04:59:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObV9I-00028g-Ie for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 04:59:33 -0400 Original-Received: from mailv2.ecc.u-tokyo.ac.jp ([133.11.70.76]:36693) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObV9I-00028G-Aw for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 04:59:32 -0400 Original-Received: from ms004.ecc.u-tokyo.ac.jp (ms004.ecc.u-tokyo.ac.jp [133.11.70.174]) by mailv2.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 557C86C004B for ; Wed, 21 Jul 2010 17:59:28 +0900 (JST) Original-Received: from jitaku.ims.u-tokyo.ac.jp (126.101.169.56 [126.101.169.56]) by ms004.ecc.u-tokyo.ac.jp (deepsmtpd.stn.b 3.5.75) with ESMTP id for ; Wed, 21 Jul 2010 17:59:24 +0900 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-IP: 126.101.169.56 X-FROM-DOMAIN: ims.u-tokyo.ac.jp X-FROM-EMAIL: czkmt@ims.u-tokyo.ac.jp X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 21 Jul 2010 05:19:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Jul 2010 05:20:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 21 Jul 2010 11:46:34 -0400 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:38730 Archived-At: 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