From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: invisible Date: Fri, 09 Nov 2007 22:59:08 +0100 Message-ID: <87sl3fdqs3.fsf@escher.local.home> References: <20040225.150142.12214540.kazu@iijlab.net> <200402282128.i1SLSuY15359@raven.dms.auburn.edu> <200402290224.i1T2Oip15705@raven.dms.auburn.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194645584 14332 80.91.229.12 (9 Nov 2007 21:59:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2007 21:59:44 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 09 22:59:47 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IqbtB-0000ZB-Os for ged-emacs-devel@m.gmane.org; Fri, 09 Nov 2007 22:59:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iqbsz-0008M9-VR for ged-emacs-devel@m.gmane.org; Fri, 09 Nov 2007 16:59:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iqbsw-0008LY-B2 for emacs-devel@gnu.org; Fri, 09 Nov 2007 16:59:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iqbsu-0008L2-Gv for emacs-devel@gnu.org; Fri, 09 Nov 2007 16:59:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iqbsu-0008Kz-Em for emacs-devel@gnu.org; Fri, 09 Nov 2007 16:59:28 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iqbsu-0006Bw-2R for emacs-devel@gnu.org; Fri, 09 Nov 2007 16:59:28 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iqbst-0003BP-Ke for emacs-pretest-bug@gnu.org; Fri, 09 Nov 2007 16:59:27 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Iqbsq-0006Av-Ae for emacs-pretest-bug@gnu.org; Fri, 09 Nov 2007 16:59:27 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iqbsp-0006AA-TM for emacs-pretest-bug@gnu.org; Fri, 09 Nov 2007 16:59:24 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Iqbsf-0002bJ-NF for emacs-pretest-bug@gnu.org; Fri, 09 Nov 2007 21:59:13 +0000 Original-Received: from i577bf502.versanet.de ([87.123.245.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Nov 2007 21:59:13 +0000 Original-Received: from Stephen.Berman by i577bf502.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Nov 2007 21:59:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i577bf502.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82885 gmane.emacs.pretest.bugs:20259 Archived-At: On Sat, 28 Feb 2004 20:24:44 -0600 (CST) Luc Teirlinck wrote: > ===File ~/invlines========================================== > line1 > line2 > line3 > line4 > line5 > line6 > line7 > ============================================================ > > No trailing whitespace but with final newline. > > Visit using emacs -q > > (put-text-property 6 7 `invisible t) > (put-text-property 12 13 `invisible t) > (put-text-property 18 19 `invisible t) > (put-text-property 24 25 `invisible t) > (put-text-property 30 31 `invisible t) > > Result: > > line1line2line3line4line5line6 > line7 > > line-move-ignore-invisible is now nil. > > With point at beginning of buffer keep doing C-n. Everything goes at > expected. We arrive at the end of the buffer, the newline after line7. > > C-p beginning of line7. OK. > C-p beginning of line6. OK. > C-p beginning of line4. Why did we skip line5? > C-p beginning of line2. Skipped line3. This behavior still exists in GNU Emacs 23.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-11-09 on escher.[1] In addition, starting with the cursor at (point-min), the line number indicator in the mode line displays L1, and it continues to display L1 as you advance either by C-n or by C-f until it reaches the `l' of `line7', then it changes to L7. From there if you type C-b moving point to just after `6', the mode line displays L6. Now continuing backwards either by C-p or C-b the mode line usually continues to display L6, even at (point-min). Typing C-b again here then changes the display to L1. Steve Berman Footnotes: [1] But the behavior seems to be unstable: sometimes line2 is skipped advancing by C-n, sometimes line6 is skipped receding by C-p (then the mode line displays L5 and doesn't change as you continue to (point-min)).