From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67233 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Recentering during article scrolling with scroll-margin Date: Thu, 14 Aug 2008 09:48:04 +0900 Message-ID: References: <878wv52p9o.fsf@photon.caeruleus.net> <87sktb8q84.fsf@photon.caeruleus.net> <87vdy4buyf.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218674988 13366 80.91.229.12 (14 Aug 2008 00:49:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 00:49:48 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15685@lists.math.uh.edu Thu Aug 14 02:50:40 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 1KTR2z-000255-RX for ding-account@gmane.org; Thu, 14 Aug 2008 02:50:38 +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 1KTR1H-0001cg-WE; Wed, 13 Aug 2008 19:48:52 -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 1KTR1G-0001cT-Q1 for ding@lists.math.uh.edu; Wed, 13 Aug 2008 19:48:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KTR1C-0000CL-2E for ding@lists.math.uh.edu; Wed, 13 Aug 2008 19:48:50 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KTR1B-00081Q-00 for ; Thu, 14 Aug 2008 02:48:45 +0200 Original-Received: from softbank218118002103.bbtec.net ([218.118.2.103]:65187 helo=) by washington.hostforweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KTR0W-0003BZ-TD for ding@gnus.org; Wed, 13 Aug 2008 19:48:05 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:mDtt+agap024aNNh27FMT5OrbvU= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67233 Archived-At: >>>>> In <87vdy4buyf.fsf@marauder.physik.uni-ulm.de> >>>>> Reiner Steib wrote: >> + (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))? That's right if XEmacs team plan to introduce the scroll-margin control in the future. But the reason I arbitrarily decided to use (featurep 'xemacs) is that I don't think so. It also makes the source code be clean and makes the byte code be a little bit fast. Is it a wrong approach? In other words, does XEmacs plan to have the scroll-margin control in the future? Regards,