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 19:59:13 -0300 Message-ID: References: <871vzp3vjv.fsf@hubble.informatimago.com> <48CAE8F2.1050802@gmail.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 1221260403 24278 80.91.229.12 (12 Sep 2008 23:00:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 23:00:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 01:00:59 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 1KeHdK-0005e4-CT for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 01:00:58 +0200 Original-Received: from localhost ([127.0.0.1]:46571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeHcK-0000GF-22 for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 18:59:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeHbt-0000CZ-Kk for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 18:59:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeHbq-0000BY-UN for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 18:59:29 -0400 Original-Received: from [199.232.76.173] (port=35923 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeHbq-0000BT-PH for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 18:59:26 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:42146 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 1KeHbq-0001rA-8s for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 18:59:26 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KeHbl-0002em-Cb for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 22:59:21 +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 22:59:21 +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 22:59:21 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 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: <48CAE8F2.1050802@gmail.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:57500 Archived-At: >>>> Hi, >>>> >>>> Is it possible to ask emacs to >>>> keep the cursor at the center >>>> of the window? (...) > Take a look at > > (info "(emacs) Auto Scrolling") > > especially the variable `scroll-margin'. > Thanks. scroll-conservatively, scroll-margin and scroll-preserve-screen-position did exactly what I wanted. Best, MaurĂ­cio