diff options
author | Luc Teirlinck <teirllm@auburn.edu> | 2005-05-14 14:15:27 +0000 |
---|---|---|
committer | Luc Teirlinck <teirllm@auburn.edu> | 2005-05-14 14:15:27 +0000 |
commit | 706f4350777fc906e569fb283531c5b1be83182f (patch) | |
tree | c563d3649c3ad7563dba975ba8a015ae6cc74bf3 /man/basic.texi | |
parent | da0e78ac3695793fa053eda84f99024a0fae71b3 (diff) | |
download | emacs-706f4350777fc906e569fb283531c5b1be83182f.tar.gz |
(Moving Point): Mention `M-g g' binding for goto-line.
(Position Info): Delete discussion of goto-line. It is already
described in `Moving point'.
Diffstat (limited to 'man/basic.texi')
-rw-r--r-- | man/basic.texi | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/man/basic.texi b/man/basic.texi index 3fbaff2a1e7..f45f87335fb 100644 --- a/man/basic.texi +++ b/man/basic.texi @@ -238,6 +238,7 @@ it is commonly used to do so. If your keyboard has a @key{PAGEUP} or Read a number @var{n} and move point to buffer position @var{n}. Position 1 is the beginning of the buffer. @item M-g M-g +@itemx M-g g @itemx M-x goto-line Read a number @var{n} and move point to line number @var{n}. Line 1 is the beginning of the buffer. @@ -595,19 +596,13 @@ Toggle automatic display of the size of the buffer. @cindex location of point @cindex cursor location @cindex point location - 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. @kbd{M-x what-page} counts pages from the beginning of the file, and counts lines within the page, showing both numbers in the echo area. |