From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.help Subject: Re: next-line + recenter (- redraw frame)? Date: Fri, 03 Mar 2006 18:36:30 +0100 Organization: nil Message-ID: <44087e98$0$15789$14726298@news.sunsite.dk> References: <5xlh1kdb5ttw$.1eomol2tpwh55.dlg@40tude.net> Reply-To: angeli@iwi.uni-sb.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141421706 11797 80.91.229.2 (3 Mar 2006 21:35:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2006 21:35:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 22:35:05 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFHvO-0004us-0b for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 22:34:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFHvN-0007Rl-NX for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 16:34:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody Cancel-Lock: sha1:pr6xcAqmdueX05cSz84kGdxpFJw= Original-Lines: 21 Original-NNTP-Posting-Host: 212.144.209.77 Original-X-Trace: news.sunsite.dk DXC=F[GU@@JHdDGNc7PehKo47KYSB=nbEKnkKie8LN_Q]1UDce3h@0W\omLKaa1aeliV3Dc4=gl`CF0WIRG\M9LDb_TFDAAm1fG0iOHd< List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33513 Archived-At: * 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