From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67230 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Recentering during article scrolling with scroll-margin Date: Wed, 13 Aug 2008 21:01:28 +0200 Message-ID: <87vdy4buyf.fsf@marauder.physik.uni-ulm.de> References: <878wv52p9o.fsf@photon.caeruleus.net> <87sktb8q84.fsf@photon.caeruleus.net> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218654133 9018 80.91.229.12 (13 Aug 2008 19:02:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2008 19:02:13 +0000 (UTC) Cc: ding@gnus.org To: Ralf Angeli Original-X-From: ding-owner+M15682@lists.math.uh.edu Wed Aug 13 21:03:04 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 1KTLcW-0008Pe-SN for ding-account@gmane.org; Wed, 13 Aug 2008 21:02:57 +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 1KTLbX-0008Cu-6k; Wed, 13 Aug 2008 14:01:55 -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 1KTLbW-0008Cf-2m for ding@lists.math.uh.edu; Wed, 13 Aug 2008 14:01:54 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KTLbN-0006ZW-JU for ding@lists.math.uh.edu; Wed, 13 Aug 2008 14:01:54 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KTLbN-0000jv-00 for ; Wed, 13 Aug 2008 21:01:45 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m7DJ1WGb001154; Wed, 13 Aug 2008 21:01:33 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id C8E34131B2; Wed, 13 Aug 2008 21:01:32 +0200 (CEST) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: Ralf Angeli , ding@gnus.org In-Reply-To: <87sktb8q84.fsf@photon.caeruleus.net> (Ralf Angeli's message of "Mon, 11 Aug 2008 18:35:07 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-dmv.com-Metrics: poseidon 1181; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67230 Archived-At: On Mon, Aug 11 2008, Ralf Angeli wrote: > * gnus-art.el (gnus-article-next-page): Respect `scroll-margin' when > moving point to the bottom of the window in order to avoid recentering. [...] > + (move-to-window-line (if (featurep 'xemacs) -1 (- -1 scroll-margin))) Should we test for `scroll-margin' instead of (featurep 'xemacs)? E.g. (and (boundp 'scroll-margin) (numberp scroll-margin))? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/