help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: key binding for jump to line


From: Greg Hill
Subject: Re: key binding for jump to line
Date: Mon, 17 Dec 2001 10:31:40 -0800

David,

I believe what you probably want is (move-to-window-line linenum). The goto-line function counts lines from the beginning of the buffer. The move-to-window-line function counts lines from the top of the current display. See section 30.2.5 of the GNU Emacs Lisp Reference Manual for details.

--Greg




At 11:58 AM -0500 12/16/01, Michael P. Soulier wrote:
On 16/12/01 David M. Hirst did speaketh:

 I used to have a key binding to jump to a line in the current window.
 I know how to create the key binding I want, but I can't seem to remember
 if there was a build in function to jump to a line. Any help would be
 appreciated.

C-h f goto-line RET

Mike

--
Michael P. Soulier <address@hidden>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix

Content-Type: application/pgp-signature
Content-Disposition: inline

Attachment converted: Greg's Hard Drive:Untitled 5 (????/----) (0002FF58)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]