From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mauricio Newsgroups: gmane.emacs.help Subject: Re: Cursor at center of window Date: Fri, 12 Sep 2008 18:54:50 -0300 Message-ID: References: <871vzp3vjv.fsf@hubble.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1221256545 14154 80.91.229.12 (12 Sep 2008 21:55:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 21:55:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 23:56:41 2008 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 1KeGd6-0008OY-Ht for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 23:56:40 +0200 Original-Received: from localhost ([127.0.0.1]:45552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeGc6-00018e-1x for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 17:55:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeGbm-00018Y-MT for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 17:55:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeGbk-00017O-1r for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 17:55:18 -0400 Original-Received: from [199.232.76.173] (port=46471 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeGbj-00017L-Sx for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 17:55:15 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:37844 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KeGbj-0002Ti-Bt for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 17:55:15 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KeGbc-0000MQ-1x for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 21:55:08 +0000 Original-Received: from 200-161-121-122.dsl.telesp.net.br ([200.161.121.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Sep 2008 21:55:08 +0000 Original-Received: from briqueabraque by 200-161-121-122.dsl.telesp.net.br with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Sep 2008 21:55:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200-161-121-122.dsl.telesp.net.br User-Agent: Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <871vzp3vjv.fsf@hubble.informatimago.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:57493 Archived-At: >> Hi, >> >> Is it possible to ask emacs to >> keep the cursor at the center >> of the window? For instance, when >> I press C-n, the text would go >> one line up, instead of the cursor >> going one line down. > > C-l > > So you can type: C-n C-l > or if you want, you can rebind C-n to a command doing both. > But then I would have to rebind all moving commands. Is there some way to "repel" the cursor from the borders? Or maybe some after moving hook where I could call C-l? MaurĂ­cio