logo       

Re: two questions : cpu time limit, scrollling: msg#00066

emacs.macintosh.osx

Subject: Re: two questions : cpu time limit, scrollling


Am 24.12.2006 um 20:50 schrieb Philipp Mathey:

2) While scrolling in emacs buffers one line up and down, I am using the up and down
arrow keys. Is there a way to scroll up and down will keeping the document
centered ?

(defun scroll-down-in-place (n)
(interactive "p")
(previous-line n)
(scroll-down n))

(defun scroll-up-in-place (n)
(interactive "p")
(next-line n)
(scroll-up n))


Both by Jeff Peck.

--
Greetings

Pete

Got Mole problems?
Call Avogadro 6.02 x 10^23


---------------------------- Info -----------------------------
List Post: <mailto:macosx-emacs@xxxxxxxxxxxxxxxxx>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise