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

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

Re: next-line + recenter (- redraw frame)?


From: Ralf Angeli
Subject: Re: next-line + recenter (- redraw frame)?
Date: Fri, 03 Mar 2006 18:36:30 +0100

* Peter Tury (2006-03-03) writes:

> I've created a tiny function for ease reading:
>
> (defun down-center ()
>   "Moves point down by one line and then moves the line to the
> center of the screen.
> Keeps columns as next-line does.
> Created for ease reading (of program source codes) (since this
> way the user always can see the most lines around)."
[...]
> I am especially interested in these:
>
> - do you know some builtin function what does the same (=so this function
> is totally unnecessary) in emacs 22?

You can get a similar functionality with `C-l' followed by `M-x
scroll-lock-mode RET' and using `C-p' and `C-n' for moving around.

-- 
Ralf


reply via email to

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