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, 23 Nov 2007 21:31:01 +0100 Message-ID: <87fxywpuuy.fsf@escher.local.home> References: <20040225.150142.12214540.kazu@iijlab.net> <200402282128.i1SLSuY15359@raven.dms.auburn.edu> <200402290224.i1T2Oip15705@raven.dms.auburn.edu> <87sl3fdqs3.fsf@escher.local.home> <87zlxc5r2f.fsf@escher.local.home> <474059CD.1060107@gmx.at> <87r6ihi1z7.fsf@escher.local.home> <4746E2CF.4010604@gmx.at> <87k5o8q0y5.fsf@escher.local.home> <4747312D.7020605@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195849921 8443 80.91.229.12 (23 Nov 2007 20:32:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 20:32:01 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 21:32:09 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 1IvfBw-00071C-PX for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 21:32:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvfBi-0006gR-9U for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 15:31:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvfBe-0006em-8e for emacs-devel@gnu.org; Fri, 23 Nov 2007 15:31:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvfBc-0006cB-G8 for emacs-devel@gnu.org; Fri, 23 Nov 2007 15:31:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvfBc-0006bz-A6 for emacs-devel@gnu.org; Fri, 23 Nov 2007 15:31:40 -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 1IvfBb-0008Rz-Pu for emacs-devel@gnu.org; Fri, 23 Nov 2007 15:31:40 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IvfBI-0003rY-Sa for emacs-devel@gnu.org; Fri, 23 Nov 2007 20:31:20 +0000 Original-Received: from i5387d19d.versanet.de ([83.135.209.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 20:31:20 +0000 Original-Received: from Stephen.Berman by i5387d19d.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 20:31:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387d19d.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-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:84007 gmane.emacs.pretest.bugs:20352 Archived-At: On Fri, 23 Nov 2007 20:59:41 +0100 martin rudalics wrote: >> I cannot see a difference with forward-line. I did this: > ... >> 5. In buffer a with point at (point-max), repeatedly typing C-p goes >> like this, with `^' marking successive positions of the cursor: >> line1line2line3line4line5line6 >> ^ ^ ^ ^ >> line7 >> ^ >> >> 6. In buffer b with point at (point-max), repeatedly typing C-p goes >> like this: >> line1line2line3line4line5line6 >> ^ ^ ^ ^ ^ ^ >> line7 >> ^ >> >> 7. In both buffer a and buffer b with point at (point-max), repeatedly >> typing 'M-: (forward-line -1)' goes like in 6: >> line1line2line3line4line5line6 >> ^ ^ ^ ^ >> line7 >> ^ > > I don't understand: You say it "goes like in 6" but according to your > "^" indicators you skip line5 and line3 in "7.". Anyway, my Emacs has > for (forward-line -1) the behavior you sketched for cases 5 and 6: line > 5 and line3 are skipped when the rear-nonsticky property is not set. Oh, sorry, that was a copy and paste error: the cursor indicators in 7 should be the same as in 6. >> The only difference I see is in buffer a when the cursor is at the end >> of line 7 (actually, anywhere but at the beginning), then typing C-p >> repeatedly does not skip any lines. This is regardless of the setting >> of track-eol. > > Please experiment with the attached text file. You probably need a > visible line before and/or after the lines with the invisible endings. > And it's easier to move the cursor to the end of a line before moving. It's the same as before: C-p skips lines 5 and 3 with rear-nonsticky nil, does not skip with rear-nonsticky t, and (forward-line -1) does not skip regardless of rear-nonstickiness. I tested on GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-11-21. Could the differences between what you and I see be related to the EOL difference between MS Windows and Unix? Can other users of these systems who are following this thread try these tests and report their observations? Steve Berman