From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67221 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.gnus.general Subject: Recentering during article scrolling with scroll-margin Date: Sun, 10 Aug 2008 11:27:47 +0200 Message-ID: <878wv52p9o.fsf@photon.caeruleus.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218360678 20656 80.91.229.12 (10 Aug 2008 09:31:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 09:31:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15675@lists.math.uh.edu Sun Aug 10 11:32:08 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KS7HS-00025W-FB for ding-account@gmane.org; Sun, 10 Aug 2008 11:32:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KS7Du-0000vG-TC; Sun, 10 Aug 2008 04:28:26 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KS7Dt-0000v8-HI for ding@lists.math.uh.edu; Sun, 10 Aug 2008 04:28:25 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KS7Dp-0003dK-Gt for ding@lists.math.uh.edu; Sun, 10 Aug 2008 04:28:25 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.187]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KS7Do-0000rc-00 for ; Sun, 10 Aug 2008 11:28:20 +0200 Original-Received: from photon.caeruleus.net (p54A503CA.dip0.t-ipconnect.de [84.165.3.202]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1KS7DI2zRZ-00074z; Sun, 10 Aug 2008 11:27:49 +0200 X-Provags-ID: V01U2FsdGVkX18SkD9e48WwRI01Jh5qNSepTR4uCkMbkhuwczJ 7ExAsKbYmlADLndjCnt2FUD0VUJSOpy+HjDzfds/JZ/0Z/0/6m FWDq2y4EOfRmiHoeYC9zA== X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67221 Archived-At: Hi, the handling of `scroll-margin' has recently changed a bit in Emacs CVS and recentering seems to happen more agressively now. This becomes a problem if `scroll-margin' is greater than 0 and one is scrolling an article with . When the bottom of the article is reached the last line will not stay at the bottom of the window but jump to the middle of it. The recentering is triggered by the statement (move-to-window-line -1) in `gnus-article-next-page'. It is usually countered by `gnus-article-next-page-1', but not at the end of an article where the latter function will not be called. The problem can be circumvented by changing the above statement to (move-to-window-line (- -1 scroll-margin)) If necessary I can provide a change log entry for such a change. -- Ralf