From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: Bug in `next-line' when last char in line has after-string property Date: Sun, 07 Jan 2007 16:50:27 +0100 Message-ID: References: <1167760463.459a9c4fbbe73@imp.hosting365.ie> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168185106 5224 80.91.229.12 (7 Jan 2007 15:51:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2007 15:51:46 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 07 16:51:41 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 1H3aIr-0004cY-3g for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2007 16:51:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3aIq-0006QZ-P4 for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2007 10:51:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3aIe-0006QF-TL for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:51:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3aId-0006Pw-Ql for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:51:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3aId-0006Pr-Ie for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:51:07 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H3aId-0007Rv-2O for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:51:07 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H3aI8-0007wd-Kw for emacs-devel@gnu.org; Sun, 07 Jan 2007 16:50:38 +0100 Original-Received: from p54a53352.dip0.t-ipconnect.de ([84.165.51.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Jan 2007 16:50:36 +0100 Original-Received: from angeli by p54a53352.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Jan 2007 16:50:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a53352.dip0.t-ipconnect.de User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:mRaVG0Oqz1SmOa9uNPKQTkhIFgE= 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:64918 Archived-At: * Kim F. Storm (2007-01-05) writes: > Everybody, please watch out for problems with line movement in buffers > with overlay and text-property strings. If you execute the following code which inserts a few strings into the buffer *foo* and then puts three overlays in the buffer where each one is covering a line break in the buffer and using a line break in the display string, the line in the middle will be left out if one tries to move point up using `C-p' several times. Downwards with `C-n' is okay. This is not a regression, but also happened like this before your last change. It just caught my eye when checking for problems with the new code. (progn (pop-to-buffer (get-buffer-create "*foo*")) (dotimes (i 5) (insert (make-string 10 ?x) "\n")) (let ((ov (make-overlay 17 24))) (overlay-put ov 'display "aaa\n")) (let ((ov (make-overlay 29 35))) (overlay-put ov 'display "aaa\n")) (let ((ov (make-overlay 40 46))) (overlay-put ov 'display "aaa\n"))) -- Ralf