help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: scrolling


From: Doug Lewan
Subject: RE: scrolling
Date: Fri, 9 Nov 2012 19:52:32 +0000

Consider using `line-number-at-pos'.

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of drain
> Sent: Friday, 2012 November 09 14:11
> To: address@hidden
> Subject: scrolling
> 
> Any Emacs Lisp suggestions on scrolling by paragraph?
> 
> The following code could be easily adapted if forward / backward
> paragraph returned line numbers:
> 
> (defun gcm-scroll-up (&optional arg)
>   (interactive "P")
>   (if arg
>       (scroll-down arg)
>     (scroll-down 1)))
> 
> 
> 
> 
> --
> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]