unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mauricio <briqueabraque@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cursor at center of window
Date: Fri, 12 Sep 2008 18:54:50 -0300	[thread overview]
Message-ID: <gaeofc$dlp$1@ger.gmane.org> (raw)
In-Reply-To: <871vzp3vjv.fsf@hubble.informatimago.com>

>> 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





  reply	other threads:[~2008-09-12 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.19136.1221243654.18990.help-gnu-emacs@gnu.org>
2008-09-12 21:26 ` Cursor at center of window Pascal J. Bourguignon
2008-09-12 21:54   ` Mauricio [this message]
2008-09-12 22:10     ` Lennart Borgman (gmail)
2008-09-12 22:59       ` Mauricio
2008-09-12 18:20 Mauricio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gaeofc$dlp$1@ger.gmane.org' \
    --to=briqueabraque@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).