From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: how to position cursor at top/middle/bottom of the current screen? Date: Mon, 3 Nov 2008 10:25:18 +0100 Organization: GNU's Not UNIX! Message-ID: <200811030925.mA39PIDi019110@zogzog.maillard.mobi> References: <7shc7m64dw.fsf@one.net> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1225711715 10092 80.91.229.12 (3 Nov 2008 11:28:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 11:28:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Chris McMahan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 12:29:36 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kwxck-0008LU-Ts for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 12:29:35 +0100 Original-Received: from localhost ([127.0.0.1]:49659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kwxbd-0005n3-Rk for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 06:28:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwxbC-0005mY-DT for help-gnu-emacs@gnu.org; Mon, 03 Nov 2008 06:27:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwxbA-0005mC-DL for help-gnu-emacs@gnu.org; Mon, 03 Nov 2008 06:27:57 -0500 Original-Received: from [199.232.76.173] (port=56593 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwxbA-0005m6-3p for help-gnu-emacs@gnu.org; Mon, 03 Nov 2008 06:27:56 -0500 Original-Received: from master.uucpssh.org ([193.218.105.66]:41407) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kwxb9-0001Qu-C0 for help-gnu-emacs@gnu.org; Mon, 03 Nov 2008 06:27:55 -0500 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id C73DEF573C; Mon, 3 Nov 2008 12:27:35 +0100 (CET) Original-Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.2/8.13.8) with ESMTP id mA39PMZ0019111; Mon, 3 Nov 2008 10:25:22 +0100 Original-Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.2/8.13.8/Submit) id mA39PIDi019110; Mon, 3 Nov 2008 10:25:18 +0100 In-reply-to: <7shc7m64dw.fsf@one.net> (message from Chris McMahan on Wed, 08 Oct 2008 19:42:03 -0400) User-Agent: Rmail in GNU Emacs 23.0.60.12 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (SpamAssassin rebuilding) X-uucpssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:59373 Archived-At: Hi, I've been using this function for many years. It cycles the current cursor and text position from the middle to the top then to the bottom of the screen and back. Just hit C-l repeatedly to change position. See `recenter-top-bottom' that just does the same thing. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org