From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.bugs Subject: Feature Request: Relative jump using M-x goto-line Date: Fri, 12 Oct 2007 23:41:28 +0530 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1192213417 10712 80.91.229.12 (12 Oct 2007 18:23:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2007 18:23:37 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 12 20:23:27 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IgP92-0003Mj-Ry for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2007 20:21:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgP8w-0006OA-IP for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2007 14:21:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgP8m-0006HE-AC for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2007 14:21:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgP8j-0006Fi-OV for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2007 14:21:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgP8j-0006FZ-JD for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2007 14:21:37 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IgP8j-0005rO-AJ for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2007 14:21:37 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IgP7L-0006F5-Dj for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2007 18:20:11 +0000 Original-Received: from 59.92.191.106 ([59.92.191.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Oct 2007 18:20:11 +0000 Original-Received: from nsivaram.net by 59.92.191.106 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Oct 2007 18:20:11 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 59.92.191.106 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:5/D9qP8g1sXajQf7q28WOfC5U7w= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16731 Archived-At: 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 --