/[emacs]/emacs/man/basic.texi
ViewVC logotype

Diff of /emacs/man/basic.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by rms, Wed Feb 16 09:51:37 2005 UTC revision 1.46 by rms, Mon Mar 21 18:02:55 2005 UTC
# Line 237  it is commonly used to do so.  If your k Line 237  it is commonly used to do so.  If your k
237  @item M-x goto-char  @item M-x goto-char
238  Read a number @var{n} and move point to buffer position @var{n}.  Read a number @var{n} and move point to buffer position @var{n}.
239  Position 1 is the beginning of the buffer.  Position 1 is the beginning of the buffer.
240  @item M-x goto-line  @item M-g M-g
241    @itemx M-x goto-line
242  Read a number @var{n} and move point to line number @var{n}.  Line 1  Read a number @var{n} and move point to line number @var{n}.  Line 1
243  is the beginning of the buffer.  is the beginning of the buffer.
244  @item C-x C-n  @item C-x C-n
# Line 343  earlier changes, back to the limit of th Line 344  earlier changes, back to the limit of th
344  If all recorded changes have already been undone, the undo command  If all recorded changes have already been undone, the undo command
345  displays an error message and does nothing.  displays an error message and does nothing.
346    
347    @findex undo-only
348    Any command other than an undo command breaks the sequence of undo    Any command other than an undo command breaks the sequence of undo
349  commands.  Starting from that moment, the previous undo commands become  commands.  Starting from that moment, the previous undo commands become
350  ordinary changes that you can undo.  Thus, to redo changes you have  ordinary changes that you can undo.  Thus, to redo changes you have
351  undone, type @kbd{C-f} or any other command that will harmlessly break  undone, type @kbd{C-f} or any other command that will harmlessly break
352  the sequence of undoing, then type more undo commands.  the sequence of undoing, then type more undo commands.  On the other
353    hand, if you want to ignore previous undo commands, use @kbd{M-x
354    undo-only}.  This is like @code{undo}, but will not redo changes
355    you have just undone.
356    
357  @cindex selective undo  @cindex selective undo
358  @kindex C-u C-x u  @kindex C-u C-x u
# Line 591  Toggle automatic display of the size of Line 596  Toggle automatic display of the size of
596  @cindex cursor location  @cindex cursor location
597  @cindex point location  @cindex point location
598    There are two commands for working with line numbers.  @kbd{M-x    There are two commands for working with line numbers.  @kbd{M-x
599  what-line} computes the current line number and displays it in the echo  what-line} computes the current line number and displays it in the
600  area.  To go to a given line by number, use @kbd{M-x goto-line}; it  echo area.  To go to a given line by number, use @kbd{M-g M-g} or
601  prompts you for the number.  These line numbers count from one at the  @kbd{M-g g} (@code{goto-line}).  This prompts you for a line number,
602  beginning of the buffer.  then moves point to the beginning of that line.  To move to a given
603    line in the most recently displayed other buffer, use @kbd{C-u M-g
604    M-g}.  Line numbers in Emacs count from one at the beginning of the buffer.
605    
606    You can also see the current line number in the mode line; see @ref{Mode    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  Line}.  If you narrow the buffer, then the line number in the mode line

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26