[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9917: 24.0.90; Make `goto-line' consistent with the line number from
bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer
Mon, 31 Oct 2011 15:31:22 +0100
When you are in a narrowed buffer (e.g. an Info buffer), the line
number that you see in the mode-line is relative to the narrowed
portion, whereas the `goto-line' (M-g g) command requires you to
supply an absolute line number.
This discrepancy is quite confusing for users, so my proposal is
obvious: adjust the behaviour of `goto-line' to make it consistent
with the line number showed in the minibuffer, i.e, to consider its
LINE argument relative to the narrowed part if there's one, or else to
the whole buffer.
In GNU Emacs 126.96.36.199 (i386-mingw-nt6.1.7601)
of 2011-10-27 on DANI-PC
Windowing system distributor `Microsoft Corp.', version 6.1.7601
configured using `configure --with-gcc (4.5)'
|[Prev in Thread]
||[Next in Thread]|
- bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer,
Dani Moncayo <=