diff options
| author | Richard M. Stallman | 2001-09-19 20:21:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-09-19 20:21:02 +0000 |
| commit | 1fdd9f433697d670f380dd1f888995fb543a19be (patch) | |
| tree | 402eba007c130f78cd10e92c69b8468c79ea56e8 | |
| parent | e4a9d9e3547c0806fc310d94493313630b729f78 (diff) | |
| download | emacs-1fdd9f433697d670f380dd1f888995fb543a19be.tar.gz emacs-1fdd9f433697d670f380dd1f888995fb543a19be.zip | |
Major rewrite of Help-Xref. Don't use "print" except for paper.
| -rw-r--r-- | man/info.texi | 67 |
1 files changed, 35 insertions, 32 deletions
diff --git a/man/info.texi b/man/info.texi index 02dd81b16eb..9e31f8c3f2a 100644 --- a/man/info.texi +++ b/man/info.texi | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | @syncodeindex vr cp | 6 | @syncodeindex vr cp |
| 7 | @syncodeindex ky cp | 7 | @syncodeindex ky cp |
| 8 | @comment %**end of header | 8 | @comment %**end of header |
| 9 | @comment $Id: info.texi,v 1.14 2001/09/19 19:58:29 rms Exp $ | 9 | @comment $Id: info.texi,v 1.15 2001/09/19 20:08:17 rms Exp $ |
| 10 | 10 | ||
| 11 | @dircategory Texinfo documentation system | 11 | @dircategory Texinfo documentation system |
| 12 | @direntry | 12 | @direntry |
| @@ -378,7 +378,7 @@ keys will never scroll beyond the beginning or the end of the current | |||
| 378 | node. | 378 | node. |
| 379 | 379 | ||
| 380 | @kindex C-l @r{(Info mode)} | 380 | @kindex C-l @r{(Info mode)} |
| 381 | If your screen is ever garbaged, you can tell Info to print it out | 381 | If your screen is ever garbaged, you can tell Info to display it |
| 382 | again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down | 382 | again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down |
| 383 | @key{CTRL} and type @kbd{L} or @kbd{l}). | 383 | @key{CTRL} and type @kbd{L} or @kbd{l}). |
| 384 | 384 | ||
| @@ -406,7 +406,7 @@ In that case, @kbd{b} won't do anything. Sorry; what can we do? | |||
| 406 | You have just learned a considerable number of commands. If you | 406 | You have just learned a considerable number of commands. If you |
| 407 | want to use one but have trouble remembering which, you should type | 407 | want to use one but have trouble remembering which, you should type |
| 408 | a @kbd{?} (in Emacs it runs the @code{Info-summary} command) which | 408 | a @kbd{?} (in Emacs it runs the @code{Info-summary} command) which |
| 409 | prints out a brief list of commands. When you are finished looking at | 409 | displays a brief list of commands. When you are finished looking at |
| 410 | the list, make it go away by typing a @key{SPC} repeatedly. | 410 | the list, make it go away by typing a @key{SPC} repeatedly. |
| 411 | 411 | ||
| 412 | @format | 412 | @format |
| @@ -605,7 +605,7 @@ change its appearance (usually, its background color will change), and | |||
| 605 | the shape of the mouse pointer will change if your platform supports | 605 | the shape of the mouse pointer will change if your platform supports |
| 606 | that. After a while, if you leave the mouse on that spot, a tooltip | 606 | that. After a while, if you leave the mouse on that spot, a tooltip |
| 607 | will pop up saying ``Mouse-2: go to that node''. (If the tooltips are | 607 | will pop up saying ``Mouse-2: go to that node''. (If the tooltips are |
| 608 | turned off or unavailable, this message is printed in the @dfn{echo | 608 | turned off or unavailable, this message is displayed in the @dfn{echo |
| 609 | area}, the bottom screen line where you typed the menu subtopics in | 609 | area}, the bottom screen line where you typed the menu subtopics in |
| 610 | response to the prompt.) @kbd{Mouse-2} is the second button of your | 610 | response to the prompt.) @kbd{Mouse-2} is the second button of your |
| 611 | mouse counting from the left---the rightmost button for two-button | 611 | mouse counting from the left---the rightmost button for two-button |
| @@ -663,37 +663,42 @@ the header line (provided that you have a mouse). | |||
| 663 | @comment node-name, next, previous, up | 663 | @comment node-name, next, previous, up |
| 664 | @section Following Cross-References | 664 | @section Following Cross-References |
| 665 | 665 | ||
| 666 | Sometimes, in Info documentation, you will see a cross reference. | 666 | @cindex cross references in Info documents |
| 667 | Cross references look like this: @xref{Help-Cross, Cross}. That is a | 667 | In Info documentation, you will see many @dfn{cross references}. |
| 668 | real, live cross reference which is named @samp{Cross} and points at | 668 | Cross references look like this: @xref{Help-Cross, Cross}. That text |
| 669 | the node named @samp{Help-Cross}. | 669 | is a real, live cross reference, whose name is @samp{Cross} and which |
| 670 | points to the node named @samp{Help-Cross}. | ||
| 670 | 671 | ||
| 671 | @kindex f @r{(Info mode)} | 672 | @kindex f @r{(Info mode)} |
| 672 | @findex Info-follow-reference | 673 | @findex Info-follow-reference |
| 673 | @cindex cross references in Info documents | 674 | There are two ways to follow a cross reference. You can move the |
| 674 | If you wish to follow a cross reference, you must use the @kbd{f} | 675 | cursor to it and press @key{RET}, just as in a menu. @key{RET} |
| 675 | command. The @kbd{f} must be followed by the cross reference name | 676 | follows the cross reference that the cursor is on. Or you can type |
| 676 | (in this case, @samp{Cross}). If the cursor is on or near the cross | 677 | @kbd{f} and then specify the name of the cross reference (in this |
| 677 | reference, Info suggests the name if the nearest reference in | 678 | case, @samp{Cross}) as an argument. In Emacs Info, @kbd{f} runs |
| 678 | parentheses; typing @key{RET} will follow that reference. You can | 679 | @code{Info-follow-reference}, |
| 679 | also type a different name, if the default is not what you want. | 680 | |
| 680 | While you enter the name, you can use the @key{DEL} (or | 681 | In the @kbd{f} command, you select the cross reference with its |
| 681 | @key{BACKSPACE}) key to edit your input. If you change your mind | 682 | name, so it does not matter where the cursor was. If the cursor is on |
| 682 | about following any reference, you can use @kbd{Control-g} to cancel | 683 | or near a cross reference, @kbd{f} suggests that reference name in |
| 683 | the command. | 684 | parentheses as the default; typing @key{RET} will follow that |
| 684 | 685 | reference. However, if you type a different reference name, @kbd{f} | |
| 685 | Completion is available in the @kbd{f} command; you can complete among | 686 | will follow the other reference which has that name. |
| 686 | all the cross reference names in the current node by typing a @key{TAB}. | ||
| 687 | |||
| 688 | @kbd{f} runs @code{Info-follow-reference} in Emacs. | ||
| 689 | 687 | ||
| 690 | @format | 688 | @format |
| 691 | >> Type @kbd{f}, followed by @kbd{Cross}, and a @key{RET}. | 689 | >> Type @kbd{f}, followed by @kbd{Cross}, and then @key{RET}. |
| 692 | @end format | 690 | @end format |
| 693 | 691 | ||
| 694 | To get a list of all the cross references in the current node, you can | 692 | As you enter the reference name, you can use the @key{DEL} (or |
| 695 | type @kbd{?} after an @kbd{f}. The @kbd{f} continues to await a | 693 | @key{BACKSPACE}) key to edit your input. If you change your mind |
| 696 | cross reference name even after printing the list, so if you don't | 694 | about following any reference, you can use @kbd{Control-g} to cancel |
| 695 | the command. Completion is available in the @kbd{f} command; you can | ||
| 696 | complete among all the cross reference names in the current node by | ||
| 697 | typing a @key{TAB}. | ||
| 698 | |||
| 699 | To get a list of all the cross references in the current node, you | ||
| 700 | can type @kbd{?} after an @kbd{f}. The @kbd{f} continues to await a | ||
| 701 | cross reference name even after displaying the list, so if you don't | ||
| 697 | actually want to follow a reference, you should type a @kbd{Control-g} | 702 | actually want to follow a reference, you should type a @kbd{Control-g} |
| 698 | to cancel the @kbd{f}. | 703 | to cancel the @kbd{f}. |
| 699 | 704 | ||
| @@ -702,10 +707,8 @@ to cancel the @kbd{f}. | |||
| 702 | type a @kbd{Control-g} and see how the @samp{f} gives up. | 707 | type a @kbd{Control-g} and see how the @samp{f} gives up. |
| 703 | @end format | 708 | @end format |
| 704 | 709 | ||
| 705 | The @key{TAB} and @kbd{M-@key{TAB}} key, which move between | 710 | The @key{TAB} and @kbd{M-@key{TAB}} key, which move between menu |
| 706 | subtopics in a menu can move between cross references as well. Once | 711 | items in a menu, also move between cross references outside of menus. |
| 707 | the cursor is on a cross reference, you can press @key{RET} to follow | ||
| 708 | that reference, just like you do in a menu. | ||
| 709 | 712 | ||
| 710 | @node Help-Int, Help-Q, Help-Xref, Getting Started | 713 | @node Help-Int, Help-Q, Help-Xref, Getting Started |
| 711 | @comment node-name, next, previous, up | 714 | @comment node-name, next, previous, up |