From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: moving point and invisible text Date: Tue, 14 Feb 2006 17:18:00 -0500 Message-ID: References: <43E9B8A0.1000109@gmx.at> <43F185E9.6090502@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1139966893 5327 80.91.229.2 (15 Feb 2006 01:28:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2006 01:28:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 15 02:28:12 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9BSi-0003K1-Er for ged-emacs-devel@m.gmane.org; Wed, 15 Feb 2006 02:28:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9BSP-0000Jl-Bd for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2006 20:27:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F98Uk-0002T5-D1 for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:18:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F98Uj-0002RO-Eb for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:18:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F98Uj-0002Qx-8e for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:18:01 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F98ZU-0004bD-Oz for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:22:56 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1F98Ui-0007xX-Cu; Tue, 14 Feb 2006 17:18:00 -0500 Original-To: martin rudalics In-reply-to: <43F185E9.6090502@gmx.at> (message from martin rudalics on Tue, 14 Feb 2006 08:25:29 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50544 Archived-At: (with-current-buffer (get-buffer-create "*test*") (insert "foo\n") (let ((at (point))) (insert "bar\nbar\nbar\n") (overlay-put (make-overlay at (point-max)) 'invisible t)) (insert "baz\n")) and point at position 4 in *test* C-f moves to position 17. That's what I'm talking about. It skips position 5, the position before the invisible text. (with-current-buffer (get-buffer-create "*test*") (insert "foo\n") (let ((at (point))) (insert "bar\nbar\nbar\n") (put-text-property at (point-max) 'invisible t)) (insert "baz\n")) and point at position 4 in *test* C-f moves to position 5. You did not mention that case before, and I did not know about it. Further experimentation shows that this case works the way the manual previously said: it allows position 5 but does not allow position 17. That inconsistency is a bug; overlay invisibility and text property invisibility ought to work the same. Could you debug why they are different?