bug-gnu-emacs
[Top][All Lists]
Advanced

[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


From: Juri Linkov
Subject: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer
Date: Wed, 02 Nov 2011 11:46:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu)

> The difference is whether narrow-to-region really wants to pretend the
> text outside the region doesn't exist at all (e.g. in Rmail or Info), or
> whether it is just meant to temporarily only display a subpart
> (e.g. most other cases).

While fixing `Info-revert-find-node' for bug#9915, I noticed the
following comment in `Info-revert-find-node':

          ;; note goto-line is no good, we want to measure from point-min
          (goto-char (point-min))
          (forward-line wline)

This means that `goto-line' should be fixed even for non-interactive use
in Info.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]