From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Annoying recentering when scrolling down Date: Fri, 22 Aug 2008 10:29:08 -0400 Message-ID: <87zln515u3.fsf@stupidchicken.com> References: <87skszunyx.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219677557 3013 80.91.229.12 (25 Aug 2008 15:19:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 15:19:17 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 25 17:20:09 2008 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 1KXdqw-0007W0-PY for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 17:19:35 +0200 Original-Received: from localhost ([127.0.0.1]:43853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXdpy-0007nk-Kb for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 11:18:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXdnY-0005Nn-Qq for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:16:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXdnW-0005KK-Af for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:16:03 -0400 Original-Received: from [199.232.76.173] (port=37619 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXdnV-0005Jn-OX for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:16:01 -0400 Original-Received: from [18.115.7.246] (port=36510 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXdnV-0007qx-Gk for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:16:01 -0400 Original-Received: by furry (Postfix, from userid 1000) id 02C2AC064; Fri, 22 Aug 2008 10:29:08 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Fri, 22 Aug 2008 13:33:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:102944 Archived-At: "Juanma Barranquero" writes: > On Thu, Aug 21, 2008 at 04:00, Chong Yidong wrote: > >> Could you try to pinpoint the checkin that introduced this change? > > The following change introduces the problem: > > 2008-08-06 Chong Yidong > > * xdisp.c (try_scrolling): Use iterator to find the scroll margin, > instead of window-end which does the wrong thing at eob. > (try_cursor_movement): Minor optimization. > (redisplay_window): If scroll margin is defined, don't assume > window doesn't need scrolling. > > http://cvs.savannah.gnu.org/viewvc/emacs/emacs/src/xdisp.c?r1=1.1242&r2=1.1243&pathrev=HEAD Thanks for finding this. Do you have a scroll-margin set? (This was not mentioned in your original post.) Is there a recipe for reproducing this?