GNU bug report logs - #9917
24.0.90; Make `goto-line' consistent with the line number from the minibuffer

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Mon, 31 Oct 2011 14:34:01 UTC

Severity: wishlist

Merged with 5042, 16173

Found in versions 24.0.90, 24.3.50

Forwarded to http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00143.html

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Juri Linkov'" <juri <at> jurta.org>, "'Stefan Monnier'" <monnier <at> IRO.UMontreal.CA>
Cc: 9917 <at> debbugs.gnu.org
Subject: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer
Date: Tue, 1 Nov 2011 16:22:05 -0700
> when someone says "see the line 42 in window.c"
> then `goto-line' should visit by the absolute line number, 
> ignoring any narrowing in effect.  But when someone says
> "see the line 42 in the Info node" then it should be relative
> to the node's beginning.

For `goto-line':

Let a negative prefix arg use line numbering wrt the restriction (region), and
let a positive prefix arg use line numbering wrt the buffer (widened).

Likewise for a number read at the prompt: negative for restriction numbering,
positive for full-buffer numbering.





This bug report was last modified 4 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.