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 14:50:53 -0400 Message-ID: <87ljyonasy.fsf@cyd.mit.edu> 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 1219430990 17841 80.91.229.12 (22 Aug 2008 18:49:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 18:49:50 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 22 20:50:43 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 1KWbia-00047K-Lm for ged-emacs-devel@m.gmane.org; Fri, 22 Aug 2008 20:50:40 +0200 Original-Received: from localhost ([127.0.0.1]:53030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWbhd-0003CB-3D for ged-emacs-devel@m.gmane.org; Fri, 22 Aug 2008 14:49:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWbhY-0003C6-7B for emacs-devel@gnu.org; Fri, 22 Aug 2008 14:49:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWbhT-0003Bu-IK for emacs-devel@gnu.org; Fri, 22 Aug 2008 14:49:35 -0400 Original-Received: from [199.232.76.173] (port=37655 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWbhT-0003Br-C8 for emacs-devel@gnu.org; Fri, 22 Aug 2008 14:49:31 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:34465) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWbhT-0002oA-6i for emacs-devel@gnu.org; Fri, 22 Aug 2008 14:49:31 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id C920557E311; Fri, 22 Aug 2008 14:50:53 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Fri\, 22 Aug 2008 13\:33\:26 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.90 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:102837 Archived-At: "Juanma Barranquero" writes: >> 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. Thanks for finding the problem. Could you check if you have scroll-margin on? (This wasn't mentioned in your original post)? Also, is there a way to reproduce this problem?