From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gerd.moellmann@t-online.de (Gerd Moellmann) Newsgroups: gmane.emacs.devel Subject: Fix for RC Date: 04 Aug 2002 14:22:32 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <86ptwyhkzb.fsf@gerd.free-bsd.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028463750 3697 127.0.0.1 (4 Aug 2002 12:22:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 4 Aug 2002 12:22:30 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17bKOy-0000xQ-00 for ; Sun, 04 Aug 2002 14:22:28 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17bKj7-0007B6-00 for ; Sun, 04 Aug 2002 14:43:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bKPY-0006Kt-00; Sun, 04 Aug 2002 08:23:04 -0400 Original-Received: from mailout07.sul.t-online.com ([194.25.134.83]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bKPG-0006KD-00 for ; Sun, 04 Aug 2002 08:22:47 -0400 Original-Received: from fwd08.sul.t-online.de by mailout07.sul.t-online.com with smtp id 17bKPG-0003mD-01; Sun, 04 Aug 2002 14:22:46 +0200 Original-Received: from gerd.free-bsd.org (520015515780-0001@[80.130.111.109]) by fwd08.sul.t-online.com with esmtp id 17bKP3-21JcsSC; Sun, 4 Aug 2002 14:22:33 +0200 Original-Received: from gerd.free-bsd.org (localhost [127.0.0.1]) by gerd.free-bsd.org (8.12.5/8.12.5) with ESMTP id g74CMWJf012918 for ; Sun, 4 Aug 2002 14:22:32 +0200 (CEST) (envelope-from gerd.moellmann@t-online.de) Original-Received: (from gerd@localhost) by gerd.free-bsd.org (8.12.5/8.12.5/Submit) id g74CMW4X012915; Sun, 4 Aug 2002 14:22:32 +0200 (CEST) X-Authentication-Warning: gerd.free-bsd.org: gerd set sender to gerd.moellmann@t-online.de using -f Original-To: emacs-devel@gnu.org Original-Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-Sender: 520015515780-0001@t-dialin.net Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6280 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6280 The fix below should probably also go into RC, if the branch is still in use. Could someone please install it, if necessary? 2002-08-03 Gerd Moellmann * xdisp.c (forward_to_next_line_start): Fix a condition that lead to a newline being skipped. Index: xdisp.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v retrieving revision 1.774 retrieving revision 1.775 diff -c -r1.774 -r1.775 *** xdisp.c 25 Jul 2002 03:19:08 -0000 1.774 --- xdisp.c 3 Aug 2002 12:44:18 -0000 1.775 *************** *** 3876,3882 **** /* If we didn't find a newline near enough, see if we can use a short-cut. */ ! if (n == MAX_NEWLINE_DISTANCE) { int start = IT_CHARPOS (*it); int limit = find_next_newline_no_quit (start, 1); --- 3876,3882 ---- /* If we didn't find a newline near enough, see if we can use a short-cut. */ ! if (!newline_found_p) { int start = IT_CHARPOS (*it); int limit = find_next_newline_no_quit (start, 1);