From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: 23.0.60; Constant recentering with scroll-margin set Date: Sat, 09 Aug 2008 03:40:23 +0200 Message-ID: <489CF587.1090705@gmail.com> References: <874p5xk2s6.fsf@stupidchicken.com> <874p5vnys3.fsf@photon.caeruleus.net> <87d4kjdlgd.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218246047 32701 80.91.229.12 (9 Aug 2008 01:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Aug 2008 01:40:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 09 03:41:38 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 1KRdSa-0000QE-Mu for ged-emacs-devel@m.gmane.org; Sat, 09 Aug 2008 03:41:36 +0200 Original-Received: from localhost ([127.0.0.1]:44187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRdRe-0005Sj-VB for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2008 21:40:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRdRc-0005Se-FC for emacs-devel@gnu.org; Fri, 08 Aug 2008 21:40:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRdRb-0005SS-1V for emacs-devel@gnu.org; Fri, 08 Aug 2008 21:40:36 -0400 Original-Received: from [199.232.76.173] (port=49924 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRdRa-0005SP-Vb for emacs-devel@gnu.org; Fri, 08 Aug 2008 21:40:34 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:58884) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRdRa-0001GC-Dc for emacs-devel@gnu.org; Fri, 08 Aug 2008 21:40:34 -0400 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:59965 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KRdRZ-0001ae-3L; Sat, 09 Aug 2008 03:40:33 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <87d4kjdlgd.fsf@stupidchicken.com> X-Antivirus: avast! (VPS 080808-0, 2008-08-08), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-Scan-Result: No virus found in message 1KRdRZ-0001ae-3L. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KRdRZ-0001ae-3L e6d23832837ae1f4f0949262e98eee28 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:102225 Archived-At: Chong Yidong wrote: > Ralf Angeli writes: > >> * Ralf Angeli (2008-08-07) writes: >> >>> It could also be that this has to be fixed in Gnus. I'm not sure, but I >>> remember that there was a similar issue back in 2005 where some changes >>> hat to be made in `gnus-article-next-page' and related functions in >>> order to deal with some changes in the handling of `scroll-margin'. >> Okay, the problem is the statement >> (move-to-window-line -1) >> in `gnus-article-next-page'. If `scroll-margin' is set and greater than >> 0 it will lead to a recentering. This is usually countered by >> `gnus-article-next-page-1', but not at the end of an article where >> `gnus-article-next-page-1' will not be called. >> >> The problem can be circumvented by changing the above statement to >> (move-to-window-line (- -1 scroll-margin)) >> >> Let me know if the recentering behavior will stay like it is now, then >> I can report this to the Gnus maintainers. > > What do people think? When there is a scroll-margin, should > move-to-window-line automagically move to the scroll-margin instead of > recentering? Yes. Automatic recentering is very disturbing IMO.