Mercurial > emacs
comparison man/basic.texi @ 38870:d44abb4e68b2
Don't use "print" for displaying a message.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 20 Aug 2001 04:20:06 +0000 |
| parents | 5889c45fd6ad |
| children | a093cd4ed690 |
comparison
equal
deleted
inserted
replaced
| 38869:8be184904f6c | 38870:d44abb4e68b2 |
|---|---|
| 332 where it was before the command that made the change. | 332 where it was before the command that made the change. |
| 333 | 333 |
| 334 Consecutive repetitions of @kbd{C-_} or @kbd{C-x u} undo earlier and | 334 Consecutive repetitions of @kbd{C-_} or @kbd{C-x u} undo earlier and |
| 335 earlier changes, back to the limit of the undo information available. | 335 earlier changes, back to the limit of the undo information available. |
| 336 If all recorded changes have already been undone, the undo command | 336 If all recorded changes have already been undone, the undo command |
| 337 prints an error message and does nothing. | 337 displays an error message and does nothing. |
| 338 | 338 |
| 339 Any command other than an undo command breaks the sequence of undo | 339 Any command other than an undo command breaks the sequence of undo |
| 340 commands. Starting from that moment, the previous undo commands become | 340 commands. Starting from that moment, the previous undo commands become |
| 341 ordinary changes that you can undo. Thus, to redo changes you have | 341 ordinary changes that you can undo. Thus, to redo changes you have |
| 342 undone, type @kbd{C-f} or any other command that will harmlessly break | 342 undone, type @kbd{C-f} or any other command that will harmlessly break |
| 590 is relative to the accessible portion (@pxref{Narrowing}). By contrast, | 590 is relative to the accessible portion (@pxref{Narrowing}). By contrast, |
| 591 @code{what-line} shows both the line number relative to the narrowed | 591 @code{what-line} shows both the line number relative to the narrowed |
| 592 region and the line number relative to the whole buffer. | 592 region and the line number relative to the whole buffer. |
| 593 | 593 |
| 594 @kbd{M-x what-page} counts pages from the beginning of the file, and | 594 @kbd{M-x what-page} counts pages from the beginning of the file, and |
| 595 counts lines within the page, printing both numbers. @xref{Pages}. | 595 counts lines within the page, showing both numbers in the echo area. |
| 596 @xref{Pages}. | |
| 596 | 597 |
| 597 @kindex M-= | 598 @kindex M-= |
| 598 @findex count-lines-region | 599 @findex count-lines-region |
| 599 While on this subject, we might as well mention @kbd{M-=} (@code{count-lines-region}), | 600 While on this subject, we might as well mention @kbd{M-=} (@code{count-lines-region}), |
| 600 which prints the number of lines in the region (@pxref{Mark}). | 601 which displays the number of lines in the region (@pxref{Mark}). |
| 601 @xref{Pages}, for the command @kbd{C-x l} which counts the lines in the | 602 @xref{Pages}, for the command @kbd{C-x l} which counts the lines in the |
| 602 current page. | 603 current page. |
| 603 | 604 |
| 604 @kindex C-x = | 605 @kindex C-x = |
| 605 @findex what-cursor-position | 606 @findex what-cursor-position |
| 606 The command @kbd{C-x =} (@code{what-cursor-position}) can be used to find out | 607 The command @kbd{C-x =} (@code{what-cursor-position}) can be used to find out |
| 607 the column that the cursor is in, and other miscellaneous information about | 608 the column that the cursor is in, and other miscellaneous information about |
| 608 point. It prints a line in the echo area that looks like this: | 609 point. It displays a line in the echo area that looks like this: |
| 609 | 610 |
| 610 @smallexample | 611 @smallexample |
| 611 Char: c (0143, 99, 0x63) point=21044 of 26883(78%) column 53 | 612 Char: c (0143, 99, 0x63) point=21044 of 26883(78%) column 53 |
| 612 @end smallexample | 613 @end smallexample |
| 613 | 614 |
| 631 | 632 |
| 632 @samp{column} is followed by the horizontal position of point, in | 633 @samp{column} is followed by the horizontal position of point, in |
| 633 columns from the left edge of the window. | 634 columns from the left edge of the window. |
| 634 | 635 |
| 635 If the buffer has been narrowed, making some of the text at the | 636 If the buffer has been narrowed, making some of the text at the |
| 636 beginning and the end temporarily inaccessible, @kbd{C-x =} prints | 637 beginning and the end temporarily inaccessible, @kbd{C-x =} displays |
| 637 additional text describing the currently accessible range. For example, it | 638 additional text describing the currently accessible range. For example, it |
| 638 might display this: | 639 might display this: |
| 639 | 640 |
| 640 @smallexample | 641 @smallexample |
| 641 Char: C (0103, 67, 0x43) point=252 of 889(28%) <231 - 599> column 0 | 642 Char: C (0103, 67, 0x43) point=252 of 889(28%) <231 - 599> column 0 |
