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

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

Re: jumping to a line number


From: Jim McCloskey
Subject: Re: jumping to a line number
Date: Fri, 08 Jun 2001 11:40:50 -0700
User-agent: WEMI/1.13.7 (Shimada) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)

|> Is there a function/facility somewhere that I can use
|> to jump a specified number of lines from a particular
|> location? 

   goto-line

describe-function says:

 ;; goto-line is an interactive compiled Lisp function in `simple'.
 ;; (goto-line ARG)
 ;;
 ;; Goto line ARG, counting from line 1 at beginning of buffer.

I bind it like this:

  (global-set-key "\C-xl" 'goto-line)

So entering Ctl-x 256 takes me directly to line 256,

Jim



reply via email to

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