From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: invisible Date: Fri, 23 Nov 2007 20:59:41 +0100 Message-ID: <4747312D.7020605@gmx.at> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030709060101030107030105" X-Trace: ger.gmane.org 1195848001 1138 80.91.229.12 (23 Nov 2007 20:00:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 20:00:01 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 21:00:07 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 1Ivegr-0004Qg-C3 for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 20:59:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ivegc-0006UB-UN for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 14:59:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvegG-0006DS-Rx for emacs-devel@gnu.org; Fri, 23 Nov 2007 14:59:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvegF-0006CU-BC for emacs-devel@gnu.org; Fri, 23 Nov 2007 14:59:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvegF-0006CM-1E for emacs-devel@gnu.org; Fri, 23 Nov 2007 14:59:15 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IvegD-0007eT-Sp for emacs-devel@gnu.org; Fri, 23 Nov 2007 14:59:14 -0500 Original-Received: (qmail invoked by alias); 23 Nov 2007 19:59:12 -0000 Original-Received: from N865P009.adsl.highway.telekom.at (EHLO [62.47.52.9]) [62.47.52.9] by mail.gmx.net (mp047) with SMTP; 23 Nov 2007 20:59:12 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18xyS5KL5gxSWvCkatVeWa2YnZywHiWolvfNQNVgu C+2/BL+hedSr4d User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87k5o8q0y5.fsf@escher.local.home> X-Y-GMX-Trusted: 0 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:84002 gmane.emacs.pretest.bugs:20351 Archived-At: This is a multi-part message in MIME format. --------------030709060101030107030105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > 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. > 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. --------------030709060101030107030105 Content-Type: text/plain; name="lmii.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lmii.txt" line1 line2 line3 line4 line5 line6 line7 (progn (add-text-properties 12 13 '(invisible t)) (add-text-properties 18 19 '(invisible t)) (add-text-properties 24 25 '(invisible t)) (add-text-properties 30 31 '(invisible t)) (setq line-move-ignore-invisible nil)) (progn (add-text-properties 12 13 '(invisible t rear-nonsticky t)) (add-text-properties 18 19 '(invisible t rear-nonsticky t)) (add-text-properties 24 25 '(invisible t rear-nonsticky t)) (add-text-properties 30 31 '(invisible t rear-nonsticky t)) (setq line-move-ignore-invisible nil)) --------------030709060101030107030105 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------030709060101030107030105--