Mercurial > emacs
comparison man/info.texi @ 39357:9012f11877c1
Major rewrite of Help-Xref. Don't use "print" except for paper.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 19 Sep 2001 20:21:02 +0000 |
parents | 81362552baba |
children | d2d0681907f9 |
comparison
equal
deleted
inserted
replaced
39356:81362552baba | 39357:9012f11877c1 |
---|---|
4 @settitle Info | 4 @settitle Info |
5 @syncodeindex fn cp | 5 @syncodeindex fn cp |
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 |
13 * Info: (info). Documentation browsing system. | 13 * Info: (info). Documentation browsing system. |
14 @end direntry | 14 @end direntry |
376 unlike @key{SPC} and @key{BACKSPACE}, @key{PAGEUP} and @key{PAGEDOWN} | 376 unlike @key{SPC} and @key{BACKSPACE}, @key{PAGEUP} and @key{PAGEDOWN} |
377 keys will never scroll beyond the beginning or the end of the current | 377 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 |
385 @format | 385 @format |
386 >> Type @kbd{C-l} now. | 386 >> Type @kbd{C-l} now. |
404 @kindex ? @r{(Info mode)} | 404 @kindex ? @r{(Info mode)} |
405 @findex Info-summary | 405 @findex Info-summary |
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 |
413 >> Type a @key{?} now. Press @key{SPC} to see consecutive screenfuls of | 413 >> Type a @key{?} now. Press @key{SPC} to see consecutive screenfuls of |
414 the list until finished. Then type @key{SPC} several times, until | 414 the list until finished. Then type @key{SPC} several times, until |
603 ends the subtopic's brief name. You will see the subtopic's name | 603 ends the subtopic's brief name. You will see the subtopic's name |
604 change its appearance (usually, its background color will change), and | 604 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 |
612 mice, the middle button for 3-button mice. So pressing @kbd{Mouse-2} | 612 mice, the middle button for 3-button mice. So pressing @kbd{Mouse-2} |
613 while the mouse pointer is on a menu subtopic goes to that subtopic. | 613 while the mouse pointer is on a menu subtopic goes to that subtopic. |
661 | 661 |
662 @node Help-Xref, Help-Int, Help-M, Getting Started | 662 @node Help-Xref, Help-Int, Help-M, Getting Started |
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 |
682 name, so it does not matter where the cursor was. If the cursor is on | |
683 or near a cross reference, @kbd{f} suggests that reference name in | |
684 parentheses as the default; typing @key{RET} will follow that | |
685 reference. However, if you type a different reference name, @kbd{f} | |
686 will follow the other reference which has that name. | |
687 | |
688 @format | |
689 >> Type @kbd{f}, followed by @kbd{Cross}, and then @key{RET}. | |
690 @end format | |
691 | |
692 As you enter the reference name, you can use the @key{DEL} (or | |
681 @key{BACKSPACE}) key to edit your input. If you change your mind | 693 @key{BACKSPACE}) key to edit your input. If you change your mind |
682 about following any reference, you can use @kbd{Control-g} to cancel | 694 about following any reference, you can use @kbd{Control-g} to cancel |
683 the command. | 695 the command. Completion is available in the @kbd{f} command; you can |
684 | 696 complete among all the cross reference names in the current node by |
685 Completion is available in the @kbd{f} command; you can complete among | 697 typing a @key{TAB}. |
686 all the cross reference names in the current node by typing a @key{TAB}. | 698 |
687 | 699 To get a list of all the cross references in the current node, you |
688 @kbd{f} runs @code{Info-follow-reference} in Emacs. | 700 can type @kbd{?} after an @kbd{f}. The @kbd{f} continues to await a |
689 | 701 cross reference name even after displaying the list, so if you don't |
690 @format | |
691 >> Type @kbd{f}, followed by @kbd{Cross}, and a @key{RET}. | |
692 @end format | |
693 | |
694 To get a list of all the cross references in the current node, you can | |
695 type @kbd{?} after an @kbd{f}. The @kbd{f} continues to await a | |
696 cross reference name even after printing 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 |
700 @format | 705 @format |
701 >> Type @kbd{f?} to get a list of the cross references in this node. Then | 706 >> Type @kbd{f?} to get a list of the cross references in this node. Then |
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 |
712 @section Some intermediate Info commands | 715 @section Some intermediate Info commands |
713 | 716 |