From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: scrolling Date: Fri, 9 Nov 2012 19:52:32 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA9826A11099@DAKIYA1.pegasus.local> References: <1352488267333-269271.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352490697 16361 80.91.229.3 (9 Nov 2012 19:51:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2012 19:51:37 +0000 (UTC) To: drain , "Help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 09 20:51:47 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TWucD-0002nq-Rw for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Nov 2012 20:51:45 +0100 Original-Received: from localhost ([::1]:49854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWuc4-0004IT-L8 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Nov 2012 14:51:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWuby-0004H3-Uy for Help-gnu-emacs@gnu.org; Fri, 09 Nov 2012 14:51:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWubw-00080D-0V for Help-gnu-emacs@gnu.org; Fri, 09 Nov 2012 14:51:30 -0500 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:46478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWubv-0007zn-TI for Help-gnu-emacs@gnu.org; Fri, 09 Nov 2012 14:51:27 -0500 Original-Received: from dakiya1.pegasus.local ([::1]) by DAKIYA1.pegasus.local ([::1]) with mapi id 14.01.0339.001; Fri, 9 Nov 2012 14:52:33 -0500 Thread-Topic: scrolling Thread-Index: AQHNvq4n7tibtFW/n0uF9+sE6TBaRpfh6RMg In-Reply-To: <1352488267333-269271.post@n5.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.246.209.200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87618 Archived-At: Consider using `line-number-at-pos'. > -----Original Message----- > From: help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org > [mailto:help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org] On > Behalf Of drain > Sent: Friday, 2012 November 09 14:11 > To: Help-gnu-emacs@gnu.org > Subject: scrolling >=20 > Any Emacs Lisp suggestions on scrolling by paragraph? >=20 > The following code could be easily adapted if forward / backward > paragraph returned line numbers: >=20 > (defun gcm-scroll-up (&optional arg) > (interactive "P") > (if arg > (scroll-down arg) > (scroll-down 1))) >=20 >=20 >=20 >=20 > -- > View this message in context: > http://emacs.1067599.n5.nabble.com/scrolling-tp269271.html > Sent from the Emacs - Help mailing list archive at Nabble.com.