- There are two commands for working with line numbers. @kbd{M-x
-what-line} computes the current line number and displays it in the
-echo area. To go to a given line by number, use @kbd{M-g M-g} or
-@kbd{M-g g} (@code{goto-line}). This prompts you for a line number,
-then moves point to the beginning of that line. To move to a given
-line in the most recently displayed other buffer, use @kbd{C-u M-g
-M-g}. Line numbers in Emacs count from one at the beginning of the buffer.
-
- You can also see the current line number in the mode line; see @ref{Mode
-Line}. If you narrow the buffer, then the line number in the mode line
-is relative to the accessible portion (@pxref{Narrowing}). By contrast,
-@code{what-line} shows both the line number relative to the narrowed
-region and the line number relative to the whole buffer.
+ @kbd{M-x what-line} computes the current line number and displays it
+in the echo area. You can also see the current line number in the
+mode line; see @ref{Mode Line}. If you narrow the buffer, then the
+line number in the mode line is relative to the accessible portion
+(@pxref{Narrowing}). By contrast, @code{what-line} shows both the
+line number relative to the narrowed region and the line number
+relative to the whole buffer.