diff options
| author | Karoly Lorentey | 2005-05-16 15:49:27 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-05-16 15:49:27 +0000 |
| commit | 35bc5d82600f330082298823f09f53259a90ea81 (patch) | |
| tree | 328e8f1df7bcd3cb68f4dfa7de371543da885c89 /man/basic.texi | |
| parent | 133fe4c8a2d944324dc2c9a42b01ab1d258ad49d (diff) | |
| parent | cc211a0ff8145e0814413e237bb5674d615968b7 (diff) | |
| download | emacs-35bc5d82600f330082298823f09f53259a90ea81.tar.gz emacs-35bc5d82600f330082298823f09f53259a90ea81.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 307-312)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-307
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-308
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-309
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-310
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-311
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-312
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-346
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 | |||
| 238 | Read a number @var{n} and move point to buffer position @var{n}. | 238 | Read a number @var{n} and move point to buffer position @var{n}. |
| 239 | Position 1 is the beginning of the buffer. | 239 | Position 1 is the beginning of the buffer. |
| 240 | @item M-g M-g | 240 | @item M-g M-g |
| 241 | @itemx M-g g | ||
| 241 | @itemx M-x goto-line | 242 | @itemx M-x goto-line |
| 242 | Read a number @var{n} and move point to line number @var{n}. Line 1 | 243 | Read a number @var{n} and move point to line number @var{n}. Line 1 |
| 243 | is the beginning of the buffer. | 244 | is the beginning of the buffer. |
| @@ -595,19 +596,13 @@ Toggle automatic display of the size of the buffer. | |||
| 595 | @cindex location of point | 596 | @cindex location of point |
| 596 | @cindex cursor location | 597 | @cindex cursor location |
| 597 | @cindex point location | 598 | @cindex point location |
| 598 | There are two commands for working with line numbers. @kbd{M-x | 599 | @kbd{M-x what-line} computes the current line number and displays it |
| 599 | what-line} computes the current line number and displays it in the | 600 | in the echo area. You can also see the current line number in the |
| 600 | echo area. To go to a given line by number, use @kbd{M-g M-g} or | 601 | mode line; see @ref{Mode Line}. If you narrow the buffer, then the |
| 601 | @kbd{M-g g} (@code{goto-line}). This prompts you for a line number, | 602 | line number in the mode line is relative to the accessible portion |
| 602 | then moves point to the beginning of that line. To move to a given | 603 | (@pxref{Narrowing}). By contrast, @code{what-line} shows both the |
| 603 | line in the most recently displayed other buffer, use @kbd{C-u M-g | 604 | line number relative to the narrowed region and the line number |
| 604 | M-g}. Line numbers in Emacs count from one at the beginning of the buffer. | 605 | relative to the whole buffer. |
| 605 | |||
| 606 | You can also see the current line number in the mode line; see @ref{Mode | ||
| 607 | Line}. If you narrow the buffer, then the line number in the mode line | ||
| 608 | is relative to the accessible portion (@pxref{Narrowing}). By contrast, | ||
| 609 | @code{what-line} shows both the line number relative to the narrowed | ||
| 610 | region and the line number relative to the whole buffer. | ||
| 611 | 606 | ||
| 612 | @kbd{M-x what-page} counts pages from the beginning of the file, and | 607 | @kbd{M-x what-page} counts pages from the beginning of the file, and |
| 613 | counts lines within the page, showing both numbers in the echo area. | 608 | counts lines within the page, showing both numbers in the echo area. |