aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-09-19 20:21:02 +0000
committerRichard M. Stallman2001-09-19 20:21:02 +0000
commit1fdd9f433697d670f380dd1f888995fb543a19be (patch)
tree402eba007c130f78cd10e92c69b8468c79ea56e8
parente4a9d9e3547c0806fc310d94493313630b729f78 (diff)
downloademacs-1fdd9f433697d670f380dd1f888995fb543a19be.tar.gz
emacs-1fdd9f433697d670f380dd1f888995fb543a19be.zip
Major rewrite of Help-Xref. Don't use "print" except for paper.
-rw-r--r--man/info.texi67
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
378node. 378node.
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
382again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down 382again 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
407want to use one but have trouble remembering which, you should type 407want to use one but have trouble remembering which, you should type
408a @kbd{?} (in Emacs it runs the @code{Info-summary} command) which 408a @kbd{?} (in Emacs it runs the @code{Info-summary} command) which
409prints out a brief list of commands. When you are finished looking at 409displays a brief list of commands. When you are finished looking at
410the list, make it go away by typing a @key{SPC} repeatedly. 410the 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
605the shape of the mouse pointer will change if your platform supports 605the shape of the mouse pointer will change if your platform supports
606that. After a while, if you leave the mouse on that spot, a tooltip 606that. After a while, if you leave the mouse on that spot, a tooltip
607will pop up saying ``Mouse-2: go to that node''. (If the tooltips are 607will pop up saying ``Mouse-2: go to that node''. (If the tooltips are
608turned off or unavailable, this message is printed in the @dfn{echo 608turned off or unavailable, this message is displayed in the @dfn{echo
609area}, the bottom screen line where you typed the menu subtopics in 609area}, the bottom screen line where you typed the menu subtopics in
610response to the prompt.) @kbd{Mouse-2} is the second button of your 610response to the prompt.) @kbd{Mouse-2} is the second button of your
611mouse counting from the left---the rightmost button for two-button 611mouse 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
667Cross references look like this: @xref{Help-Cross, Cross}. That is a 667 In Info documentation, you will see many @dfn{cross references}.
668real, live cross reference which is named @samp{Cross} and points at 668Cross references look like this: @xref{Help-Cross, Cross}. That text
669the node named @samp{Help-Cross}. 669is a real, live cross reference, whose name is @samp{Cross} and which
670points 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} 675cursor to it and press @key{RET}, just as in a menu. @key{RET}
675command. The @kbd{f} must be followed by the cross reference name 676follows 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
677reference, Info suggests the name if the nearest reference in 678case, @samp{Cross}) as an argument. In Emacs Info, @kbd{f} runs
678parentheses; typing @key{RET} will follow that reference. You can 679@code{Info-follow-reference},
679also type a different name, if the default is not what you want. 680
680While 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 682name, so it does not matter where the cursor was. If the cursor is on
682about following any reference, you can use @kbd{Control-g} to cancel 683or near a cross reference, @kbd{f} suggests that reference name in
683the command. 684parentheses as the default; typing @key{RET} will follow that
684 685reference. However, if you type a different reference name, @kbd{f}
685 Completion is available in the @kbd{f} command; you can complete among 686will follow the other reference which has that name.
686all 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
695type @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
696cross reference name even after printing the list, so if you don't 694about following any reference, you can use @kbd{Control-g} to cancel
695the command. Completion is available in the @kbd{f} command; you can
696complete among all the cross reference names in the current node by
697typing a @key{TAB}.
698
699 To get a list of all the cross references in the current node, you
700can type @kbd{?} after an @kbd{f}. The @kbd{f} continues to await a
701cross reference name even after displaying the list, so if you don't
697actually want to follow a reference, you should type a @kbd{Control-g} 702actually want to follow a reference, you should type a @kbd{Control-g}
698to cancel the @kbd{f}. 703to 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
706subtopics in a menu can move between cross references as well. Once 711items in a menu, also move between cross references outside of menus.
707the cursor is on a cross reference, you can press @key{RET} to follow
708that 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