From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11094: Wrong cursor positioning with display+invisible Date: Tue, 03 Apr 2012 09:37:08 -0400 Message-ID: References: <83vclljesi.fsf@gnu.org> <83wr5yj0yl.fsf@gnu.org> <83vclihyal.fsf@gnu.org> <83vclhdes4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1333460837 31950 80.91.229.3 (3 Apr 2012 13:47:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2012 13:47:17 +0000 (UTC) Cc: 11094@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 03 15:47:13 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SF44n-0008GD-I9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Apr 2012 15:47:13 +0200 Original-Received: from localhost ([::1]:60976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF3vq-0007DU-LO for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Apr 2012 09:37:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF3vg-0007BR-Vo for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2012 09:37:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SF3vZ-00030I-D4 for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2012 09:37:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF3vZ-000305-9l for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2012 09:37:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SF3vu-0001LE-0x for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2012 09:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Apr 2012 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11094-submit@debbugs.gnu.org id=B11094.13334602535119 (code B ref 11094); Tue, 03 Apr 2012 13:38:01 +0000 Original-Received: (at 11094) by debbugs.gnu.org; 3 Apr 2012 13:37:33 +0000 Original-Received: from localhost ([127.0.0.1]:37844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SF3vQ-0001KV-Lu for submit@debbugs.gnu.org; Tue, 03 Apr 2012 09:37:32 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:16841) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SF3vP-0001KP-DW for 11094@debbugs.gnu.org; Tue, 03 Apr 2012 09:37:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9soXt6/2dsb2JhbACBX5x7eYhwnhmGGQSbGYQJ X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="171686935" Original-Received: from 108-161-123-122.dsl.teksavvy.com (HELO pastel.home) ([108.161.123.122]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Apr 2012 09:37:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B000359322; Tue, 3 Apr 2012 09:37:08 -0400 (EDT) In-Reply-To: <83vclhdes4.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 Apr 2012 00:06:51 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58487 Archived-At: >> emacs -Q >> (put-text-property (point-min) (+ 2 (point-min)) 'invisible t) >> (put-text-property (+ 2 (point-min)) (+ 4 (point-min)) 'display "<>") >> (goto-char (point-min)) >> where I'd expect the cursor to be drawn to the left of "<>" rather than >> to the right. > Isn't this an issue with point adjustments? No: the (goto-char (point-min)) really moves to (point-min) for me, as can be verified with M-: (point). > If I set global-disable-point-adjustment non-nil, I get the cursor > where you want it. It makes no difference for me: point as at BOB, but the cursor is drawn after the "<>". Stefan