unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Kevin Rodgers'" <kevin.d.rodgers@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: how to position cursor at top/middle/bottom of the current screen? ( H / M / L in Vi)
Date: Wed, 5 Nov 2008 07:08:49 -0800	[thread overview]
Message-ID: <002c01c93f58$6905ceb0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <gerrqm$4om$2@ger.gmane.org>

> > in window.el, you have recenter-top-bottom function which is
> > bound to just C-l.
> 
> Not in the window.el distributed with Emacs 22.3
> 
> > It will cycle between top, bottom and center of the screen. It is
> > so convenient and I got so used to it that I could not pass over
> > me ;)
> 
> Cool.

FYI - The code runs in previous Emacs versions also.

The original is here, along with a couple of alternatives:
http://www.emacswiki.org/emacs/misc-cmds.el

And the CVS version is here:
http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/window.el?view=log





  reply	other threads:[~2008-11-05 15:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08 23:09 how to position cursor at top/middle/bottom of the current screen? ( H / M / L in Vi) David Lam
2008-10-08 23:20 ` Lennart Borgman (gmail)
2008-10-08 23:29   ` Bastien
2008-10-08 23:35 ` Nikolaj Schumacher
2008-10-08 23:54   ` David Lam
2008-10-09  1:55     ` Allan Gottlieb
2008-10-09 12:43       ` Stephen Berman
2008-10-13  3:03         ` David Lam
2008-11-03  9:25 ` Xavier Maillard
2008-11-05 10:16   ` Kevin Rodgers
2008-11-05 15:08     ` Drew Adams [this message]
     [not found]   ` <mailman.2917.1225880237.25473.help-gnu-emacs@gnu.org>
2008-11-05 10:46     ` Tim X

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='002c01c93f58$6905ceb0$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /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).