[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: Relative jump using M-x goto-line
From: |
Jussi Piitulainen |
Subject: |
Re: Feature Request: Relative jump using M-x goto-line |
Date: |
12 Oct 2007 21:38:35 +0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Sivaram Neelakantan writes:
> 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.
You can give an argument to C-n or C-p.
C-u 4 0 C-n
C-u 3 0 C-p
M-x goto-line RET 24
- Re: Feature Request: Relative jump using M-x goto-line,
Jussi Piitulainen <=