From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Annoying recentering when scrolling down Date: Fri, 22 Aug 2008 13:33:26 +0200 Message-ID: References: <87skszunyx.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219404918 14795 80.91.229.12 (22 Aug 2008 11:35:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 11:35:18 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: "Chong Yidong" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 22 13:36:10 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 1KWUvX-0000wV-5g for ged-emacs-devel@m.gmane.org; Fri, 22 Aug 2008 13:35:35 +0200 Original-Received: from localhost ([127.0.0.1]:55878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWUuW-00058c-TY for ged-emacs-devel@m.gmane.org; Fri, 22 Aug 2008 07:34:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWUtV-0004fB-Pv for emacs-devel@gnu.org; Fri, 22 Aug 2008 07:33:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWUtU-0004e2-4v for emacs-devel@gnu.org; Fri, 22 Aug 2008 07:33:29 -0400 Original-Received: from [199.232.76.173] (port=52202 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWUtT-0004de-I9 for emacs-devel@gnu.org; Fri, 22 Aug 2008 07:33:27 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.188]:14635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWUtT-0004TQ-1m for emacs-devel@gnu.org; Fri, 22 Aug 2008 07:33:27 -0400 Original-Received: by nf-out-0910.google.com with SMTP id c7so204953nfi.26 for ; Fri, 22 Aug 2008 04:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0rm4PxZKc5EI49DFazP+Gryfvpl4RWw2p03UdqIi4Zc=; b=SBaZys64hGzlVhZ9NdJsdB1NT/A59j+Xo13sL5xZTcX8M5T/4CndYS4nSsMI+WW/7I JHdBrGwp9dv/zlLgoX5r3iaJNEOK5ETP+DkYcIgwkgrMnqiK/yn1+R44z7SOrljF0isF cmg+U6OmlgWU6bt5+VpOfSiGfHV07pTefBAsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wCSqiUATbAHN48GVlo/s3t00Vm5JEVpHyUwdnZun9RCy5mJlygOz038/jIhp6yXR4a 8xqm3mrzSbHt/JP+zULZLsctfYCb7JKMGVaB1cYlOag8WC1nLV1gK3qNUNAIwgLkEm6/ Dlx5ZRlDh3fAGUfwORdsxIIij1A00nb3ledjg= Original-Received: by 10.210.34.5 with SMTP id h5mr1348661ebh.84.1219404806357; Fri, 22 Aug 2008 04:33:26 -0700 (PDT) Original-Received: by 10.210.23.12 with HTTP; Fri, 22 Aug 2008 04:33:26 -0700 (PDT) In-Reply-To: <87skszunyx.fsf@cyd.mit.edu> Content-Disposition: inline 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:102822 Archived-At: 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 Juanma