unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: Feature Request: Relative jump using M-x goto-line
Date: Fri, 12 Oct 2007 23:41:28 +0530	[thread overview]
Message-ID: <uk5psfbjj.fsf@gmail.com> (raw)

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
 -- 





             reply	other threads:[~2007-10-12 18:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-12 18:11 Sivaram Neelakantan [this message]
2007-10-12 18:39 ` Feature Request: Relative jump using M-x goto-line Michael Droettboom
2007-10-12 18:39 ` Eric Hanchrow
2007-10-12 19:13   ` Sivaram Neelakantan
2007-10-13 17:50     ` Jonathan Goldblatt
     [not found]   ` <mailman.1990.1192216966.18990.bug-gnu-emacs@gnu.org>
2007-10-15 15:15     ` Mathias Dahl
2007-10-15 18:04       ` Sivaram Neelakantan
     [not found] <mailman.1987.1192213301.18990.bug-gnu-emacs@gnu.org>
2007-10-12 18:38 ` Jussi Piitulainen

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=uk5psfbjj.fsf@gmail.com \
    --to=nsivaram.net@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).