aboutsummaryrefslogtreecommitdiffstats
path: root/man/basic.texi
diff options
context:
space:
mode:
authorKaroly Lorentey2005-05-16 15:49:27 +0000
committerKaroly Lorentey2005-05-16 15:49:27 +0000
commit35bc5d82600f330082298823f09f53259a90ea81 (patch)
tree328e8f1df7bcd3cb68f4dfa7de371543da885c89 /man/basic.texi
parent133fe4c8a2d944324dc2c9a42b01ab1d258ad49d (diff)
parentcc211a0ff8145e0814413e237bb5674d615968b7 (diff)
downloademacs-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.texi21
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
238Read a number @var{n} and move point to buffer position @var{n}. 238Read a number @var{n} and move point to buffer position @var{n}.
239Position 1 is the beginning of the buffer. 239Position 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
242Read a number @var{n} and move point to line number @var{n}. Line 1 243Read a number @var{n} and move point to line number @var{n}. Line 1
243is the beginning of the buffer. 244is 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
599what-line} computes the current line number and displays it in the 600in the echo area. You can also see the current line number in the
600echo area. To go to a given line by number, use @kbd{M-g M-g} or 601mode 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, 602line number in the mode line is relative to the accessible portion
602then moves point to the beginning of that line. To move to a given 603(@pxref{Narrowing}). By contrast, @code{what-line} shows both the
603line in the most recently displayed other buffer, use @kbd{C-u M-g 604line number relative to the narrowed region and the line number
604M-g}. Line numbers in Emacs count from one at the beginning of the buffer. 605relative to the whole buffer.
605
606 You can also see the current line number in the mode line; see @ref{Mode
607Line}. If you narrow the buffer, then the line number in the mode line
608is relative to the accessible portion (@pxref{Narrowing}). By contrast,
609@code{what-line} shows both the line number relative to the narrowed
610region 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
613counts lines within the page, showing both numbers in the echo area. 608counts lines within the page, showing both numbers in the echo area.