[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/basic.texi
From: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/man/basic.texi |
Date: |
Sat, 14 May 2005 10:13:54 -0400 |
Index: emacs/man/basic.texi
diff -c emacs/man/basic.texi:1.50 emacs/man/basic.texi:1.51
*** emacs/man/basic.texi:1.50 Tue May 10 07:26:25 2005
--- emacs/man/basic.texi Sat May 14 14:13:54 2005
***************
*** 238,243 ****
--- 238,244 ----
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,613 ****
@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-page} counts pages from the beginning of the file, and
counts lines within the page, showing both numbers in the echo area.
--- 596,608 ----
@cindex location of point
@cindex cursor location
@cindex point location
! @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.