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

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

Re: Feature Request: Relative jump using M-x goto-line


From: Michael Droettboom
Subject: Re: Feature Request: Relative jump using M-x goto-line
Date: Fri, 12 Oct 2007 14:39:19 -0400

Maybe this doesn't address your needs, but you can do:

C-u 40 C-n to go 40 lines forward
C-u 30 C-p to go 30 lines backward

Cheers,
Mike

On 10/12/07, Sivaram Neelakantan <nsivaram.net@gmail.com> wrote:
> Can M-x goto-line have options to take numbers with +- values, so that
> it goes to line +lines from current position or -lines from current
> position?
>
> M-x goto-line +40, should go 40 lines forward
> M-x goto-line -30  goes 30 lines backward.
> M-x goto-line 24   goes to line 24
>
> I'd find this useful when working with files having header and trailer
> records.
>
>
>  sivaram
>  --
>
>
>
>
>


-- 
Michael Droettboom
http://www.droettboom.com/




reply via email to

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