comparison man/info.texi @ 83532:b19aaf4ab0ee

Merged from emacs@sv.gnu.org. Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-331 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-332 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-333 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-334 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-335 Add note about "link" button-class to etc/TODO * emacs@sv.gnu.org/emacs--devo--0--patch-336 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-337 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-338 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-339 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-340 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-341 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-342 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-343 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-344 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-345 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-346 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-347 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-348 Update for ERC 5.1.3. * emacs@sv.gnu.org/emacs--devo--0--patch-349 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-350 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/gnus--rel--5.10--patch-111 Update from CVS: texi/gnus.texi (Summary Buffer Lines): Fix typo. * emacs@sv.gnu.org/gnus--rel--5.10--patch-112 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-113 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-114 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-572
author Karoly Lorentey <lorentey@elte.hu>
date Fri, 14 Jul 2006 05:56:32 +0000
parents a387c138b28e d6f6fe603bad
children 02e39decdc84
comparison
equal deleted inserted replaced
83531:a387c138b28e 83532:b19aaf4ab0ee
151 151
152 @cindex small screen, moving around 152 @cindex small screen, moving around
153 Since your terminal has a relatively small number of lines on its 153 Since your terminal has a relatively small number of lines on its
154 screen, it is necessary to give you special advice at the beginning. 154 screen, it is necessary to give you special advice at the beginning.
155 155
156 If you see the text @samp{--All----} near the bottom right corner 156 If the entire text you are looking at fits on the screen, the text
157 of the screen, it means the entire text you are looking at fits on the 157 @samp{All} will be displayed at the bottom of the screen. In the
158 screen. If you see @samp{--Top----} instead, it means that there is 158 stand-alone Info reader, it is displayed at the bottom right corner of
159 more text below that does not fit. To move forward through the text 159 the screen; in Emacs, it is displayed on the modeline. If you see the
160 and see another screen full, press @key{SPC}, the Space bar. To move 160 text @samp{Top} instead, it means that there is more text below that
161 back up, press the key labeled @samp{Backspace} or @samp{DEL} (on some 161 does not fit. To move forward through the text and see another screen
162 keyboards, this key might be labeled @samp{Delete}). 162 full, press @key{SPC}, the Space bar. To move back up, press the key
163 labeled @samp{Backspace} or @samp{DEL} (on some keyboards, this key
164 might be labeled @samp{Delete}).
163 165
164 @ifinfo 166 @ifinfo
165 Here are 40 lines of junk, so you can try @key{SPC} and @key{DEL} and 167 Here are 40 lines of junk, so you can try @key{SPC} and @key{DEL} and
166 see what they do. At the end are instructions of what you should do 168 see what they do. At the end are instructions of what you should do
167 next. 169 next.
237 The top line of a node is its @dfn{header}. This node's header 239 The top line of a node is its @dfn{header}. This node's header
238 (look at it now) says that the @samp{Next} node after this one is the 240 (look at it now) says that the @samp{Next} node after this one is the
239 node called @samp{Help-P}. An advanced Info command lets you go to 241 node called @samp{Help-P}. An advanced Info command lets you go to
240 any node whose name you know. In the stand-alone Info reader program, 242 any node whose name you know. In the stand-alone Info reader program,
241 the header line shows the names of this node and the Info file as 243 the header line shows the names of this node and the Info file as
242 well. In Emacs, the header line is duplicated in a special typeface, 244 well. In Emacs, the header line is displayed with a special typeface,
243 and the duplicate remains at the top of the window all the time even 245 and remains at the top of the window all the time even if you scroll
244 if you scroll through the node. 246 through the node.
245 247
246 Besides a @samp{Next}, a node can have a @samp{Previous} link, or an 248 Besides a @samp{Next}, a node can have a @samp{Previous} link, or an
247 @samp{Up} link, or both. As you can see, this node has all of these 249 @samp{Up} link, or both. As you can see, this node has all of these
248 links. 250 links.
249 251
258 @noindent 260 @noindent
259 @samp{>>} in the margin means it is really time to try a command. 261 @samp{>>} in the margin means it is really time to try a command.
260 262
261 @format 263 @format
262 >> If you are in Emacs and have a mouse, and if you already practiced 264 >> If you are in Emacs and have a mouse, and if you already practiced
263 typing @kbd{n} to get to the next node, click now with the middle 265 typing @kbd{n} to get to the next node, click now with the left
264 mouse button on the @samp{Next} link to do the same ``the mouse way''. 266 mouse button on the @samp{Next} link to do the same ``the mouse way''.
265 @end format 267 @end format
266 268
267 @node Help-P, Help-^L, Help, Getting Started 269 @node Help-P, Help-^L, Help, Getting Started
268 @comment node-name, next, previous, up 270 @comment node-name, next, previous, up
274 command. Another @kbd{n} command now would take you to the next 276 command. Another @kbd{n} command now would take you to the next
275 node, @samp{Help-^L}. 277 node, @samp{Help-^L}.
276 278
277 @format 279 @format
278 >> But do not type @kbd{n} yet. First, try the @kbd{p} command, or 280 >> But do not type @kbd{n} yet. First, try the @kbd{p} command, or
279 (in Emacs) click the middle mouse button on the @samp{Prev} link. 281 (in Emacs) click on the @samp{Prev} link. That takes you to
280 That takes you to the @samp{Previous} node. Then use @kbd{n} to 282 the @samp{Previous} node. Then use @kbd{n} to return here.
281 return here.
282 @end format 283 @end format
283 284
284 If you read this in Emacs, you will see an @samp{Info} item in the 285 If you read this in Emacs, you will see an @samp{Info} item in the
285 menu bar, close to its right edge. Clicking the mouse on the 286 menu bar, close to its right edge. Clicking the mouse on the
286 @samp{Info} menu-bar item opens a menu of commands which include 287 @samp{Info} menu-bar item opens a menu of commands which include
307 you back to @samp{Help-P}. The node's title is highlighted and may be 308 you back to @samp{Help-P}. The node's title is highlighted and may be
308 underlined as well; it says what the node is about. 309 underlined as well; it says what the node is about.
309 310
310 This is a big node and it does not all fit on your display screen. 311 This is a big node and it does not all fit on your display screen.
311 You can tell that there is more that is not visible because you 312 You can tell that there is more that is not visible because you
312 can see the string @samp{--Top-----} rather than @samp{--All----} near 313 can see the text @samp{Top} rather than @samp{All} near the bottom of
313 the bottom right corner of the screen. 314 the screen.
314 315
315 @kindex SPC @r{(Info mode)} 316 @kindex SPC @r{(Info mode)}
316 @kindex DEL @r{(Info mode)} 317 @kindex DEL @r{(Info mode)}
317 @kindex BACKSPACE @r{(Info mode)} 318 @kindex BACKSPACE @r{(Info mode)}
318 @findex Info-scroll-up 319 @findex Info-scroll-up
392 the first screenful, but screens are so big nowadays that perhaps it 393 the first screenful, but screens are so big nowadays that perhaps it
393 isn't enough. You may need to shrink your Emacs or Info window.) 394 isn't enough. You may need to shrink your Emacs or Info window.)
394 Then come back, by typing @key{SPC} one or more times. 395 Then come back, by typing @key{SPC} one or more times.
395 @end format 396 @end format
396 397
397 If your screen is very tall, all of this node might fit at once. In
398 that case, @kbd{b} won't do anything. But you could observe the
399 effect of the @kbd{b} key if you use a smaller window.
400
401 @kindex ? @r{(Info mode)} 398 @kindex ? @r{(Info mode)}
402 @findex Info-summary 399 @findex Info-summary
403 You have just learned a considerable number of commands. If you 400 You have just learned a considerable number of commands. If you
404 want to use one but have trouble remembering which, you should type 401 want to use one but have trouble remembering which, you should type
405 a @kbd{?} (in Emacs it runs the @code{Info-summary} command) which 402 @kbd{?}, which displays a brief list of commands. When you are
406 displays a brief list of commands. When you are finished looking at 403 finished looking at the list, make it go away by typing @key{SPC}
407 the list, make it go away by typing a @key{SPC} repeatedly. 404 repeatedly.
408 405
409 @format 406 @format
410 >> Type a @key{?} now. Press @key{SPC} to see consecutive screenfuls of 407 >> Type a @key{?} now. Press @key{SPC} to see consecutive screenfuls of
411 the list until finished. Then type @key{SPC} several times. If 408 the list until finished. Then type @key{SPC} several times. If
412 you are using Emacs, the help will then go away automatically. 409 you are using Emacs, the help will then go away automatically.
595 592
596 @findex Info-menu 593 @findex Info-menu
597 The command to go to a subnode via a menu is @kbd{m}. After you type 594 The command to go to a subnode via a menu is @kbd{m}. After you type
598 the @kbd{m}, the line at the bottom of the screen says @samp{Menu item: }. 595 the @kbd{m}, the line at the bottom of the screen says @samp{Menu item: }.
599 You must then type the name of the subtopic you want, and end it with 596 You must then type the name of the subtopic you want, and end it with
600 a @key{RET}. In Emacs, @kbd{m} runs the command @code{Info-menu}. 597 a @key{RET}.
601 598
602 @cindex abbreviating Info subnodes 599 @cindex abbreviating Info subnodes
603 You can abbreviate the subtopic name. If the abbreviation is not 600 You can abbreviate the subtopic name. If the abbreviation is not
604 unique, the first matching subtopic is chosen. Some menus put 601 unique, the first matching subtopic is chosen. Some menus put
605 the shortest possible abbreviation for each subtopic name in capital 602 the shortest possible abbreviation for each subtopic name in capital
723 usually used to ``stay on the same level but go backwards''. 720 usually used to ``stay on the same level but go backwards''.
724 721
725 @kindex u @r{(Info mode)} 722 @kindex u @r{(Info mode)}
726 @findex Info-up 723 @findex Info-up
727 You can go back to the node @samp{Help-M} by typing the command 724 You can go back to the node @samp{Help-M} by typing the command
728 @kbd{u} for ``Up'' (the Emacs command run by @kbd{u} is 725 @kbd{u} for ``Up''. This puts you at the menu subtopic line pointing
729 @code{Info-up}). That puts you at the @emph{front} of the node---to 726 to the subnode that the @kbd{u} command brought you from. (Some Info
730 get back to where you were reading you have to type some @key{SPC}s. 727 readers may put you at the @emph{front} of the node instead---to get
731 (Some Info readers, such as the one built into Emacs, put you at the 728 back to where you were reading, you have to type some @key{SPC}s.)
732 menu subtopic line which points to the subnode that the @kbd{u} command
733 brought you from.)
734 729
735 Another way to go Up is to click @kbd{Mouse-2} on the @samp{Up} 730 Another way to go Up is to click @kbd{Mouse-2} on the @samp{Up}
736 pointer shown in the header line (provided that you have a mouse). 731 pointer shown in the header line (provided that you have a mouse).
737 732
738 @format 733 @format
750 points to the node named @samp{Help-Cross}. (The node name is hidden 745 points to the node named @samp{Help-Cross}. (The node name is hidden
751 in Emacs. Do @kbd{M-x visible-mode} to show or hide it.) 746 in Emacs. Do @kbd{M-x visible-mode} to show or hide it.)
752 747
753 @kindex f @r{(Info mode)} 748 @kindex f @r{(Info mode)}
754 @findex Info-follow-reference 749 @findex Info-follow-reference
755 There are two ways to follow a cross reference. You can move the 750 You can follow a cross reference by moving the cursor to it and
756 cursor to it and press @key{RET}, just as in a menu. @key{RET} 751 press @key{RET}, just as in a menu. In Emacs, you can also click
757 follows the cross reference that the cursor is on. Or you can type 752 @kbd{Mouse-1} on a cross reference to follow it; you can see that the
758 @kbd{f} and then specify the name of the cross reference (in this 753 cross reference is mouse-sensitive by moving the mouse pointer to the
759 case, @samp{Cross}) as an argument. In Emacs Info, @kbd{f} runs 754 reference and watching how the underlying text and the mouse pointer
760 @code{Info-follow-reference}, 755 change in response.
761 756
762 In the @kbd{f} command, you select the cross reference with its 757 Another way to follow a cross reference is to type @kbd{f} and then
763 name, so it does not matter where the cursor was. If the cursor is on 758 specify the name of the cross reference (in this case, @samp{Cross})
764 or near a cross reference, @kbd{f} suggests that reference name in 759 as an argument. For this command, it does not matter where the cursor
765 parentheses as the default; typing @key{RET} will follow that 760 was. If the cursor is on or near a cross reference, @kbd{f} suggests
766 reference. However, if you type a different reference name, @kbd{f} 761 that reference name in parentheses as the default; typing @key{RET}
767 will follow the other reference which has that name. 762 will follow that reference. However, if you type a different
763 reference name, @kbd{f} will follow the other reference which has that
764 name.
768 765
769 @format 766 @format
770 >> Type @kbd{f}, followed by @kbd{Cross}, and then @key{RET}. 767 >> Type @kbd{f}, followed by @kbd{Cross}, and then @key{RET}.
771 @end format 768 @end format
772 769
789 @end format 786 @end format
790 787
791 The @key{TAB}, @kbd{M-@key{TAB}} and @kbd{S-@key{TAB}} keys, 788 The @key{TAB}, @kbd{M-@key{TAB}} and @kbd{S-@key{TAB}} keys,
792 which move between menu items in a menu, also move between cross 789 which move between menu items in a menu, also move between cross
793 references outside of menus. 790 references outside of menus.
794
795 Clicking @kbd{Mouse-2} on or near a cross reference also follows the
796 reference. You can see that the cross reference is mouse-sensitive by
797 moving the mouse pointer to the reference and watching how the
798 underlying text and the mouse pointer change in response.
799 791
800 Sometimes a cross reference (or a node) can lead to another file (in 792 Sometimes a cross reference (or a node) can lead to another file (in
801 other words another ``manual''), or, on occasion, even a file on a 793 other words another ``manual''), or, on occasion, even a file on a
802 remote machine (although Info files distributed with Emacs or the 794 remote machine (although Info files distributed with Emacs or the
803 stand-alone Info avoid using remote links). Such a cross reference 795 stand-alone Info avoid using remote links). Such a cross reference
856 retrace your steps, the @kbd{l} command (@kbd{l} for @dfn{last}) will 848 retrace your steps, the @kbd{l} command (@kbd{l} for @dfn{last}) will
857 do that, one node-step at a time. As you move from node to node, Info 849 do that, one node-step at a time. As you move from node to node, Info
858 records the nodes where you have been in a special history list. The 850 records the nodes where you have been in a special history list. The
859 @kbd{l} command revisits nodes in the history list; each successive 851 @kbd{l} command revisits nodes in the history list; each successive
860 @kbd{l} command moves one step back through the history. 852 @kbd{l} command moves one step back through the history.
861
862 In Emacs, @kbd{l} runs the command @code{Info-history-back}.
863 853
864 @format 854 @format
865 >> Try typing @kbd{p p n} and then three @kbd{l}'s, pausing in between 855 >> Try typing @kbd{p p n} and then three @kbd{l}'s, pausing in between
866 to see what each @kbd{l} does. You should wind up right back here. 856 to see what each @kbd{l} does. You should wind up right back here.
867 @end format 857 @end format
978 @kindex C-r @r{(Info mode)} 968 @kindex C-r @r{(Info mode)}
979 @findex isearch 969 @findex isearch
980 Instead of using @kbd{s} in Emacs Info and in the stand-alone Info, 970 Instead of using @kbd{s} in Emacs Info and in the stand-alone Info,
981 you can use an incremental search started with @kbd{C-s} or @kbd{C-r}. 971 you can use an incremental search started with @kbd{C-s} or @kbd{C-r}.
982 It can search through multiple Info nodes. @xref{Incremental Search,,, 972 It can search through multiple Info nodes. @xref{Incremental Search,,,
983 emacs, The GNU Emacs Manual}. In Emacs, this behavior is enabled only 973 emacs, The GNU Emacs Manual}. In Emacs, you can disable this behavior
984 if the variable @code{Info-isearch-search} is non-@code{nil} 974 by setting the variable @code{Info-isearch-search} to @code{nil}
985 (@pxref{Emacs Info Variables}). 975 (@pxref{Emacs Info Variables}).
986 976
987 @node Search Index, Go to node, Search Text, Advanced 977 @node Search Index, Go to node, Search Text, Advanced
988 @comment node-name, next, previous, up 978 @comment node-name, next, previous, up
989 @section How to search the indices for specific subjects 979 @section How to search the indices for specific subjects
1020 looking for a description of a command, an option, or a key, just type 1010 looking for a description of a command, an option, or a key, just type
1021 their names when @kbd{i} prompts you for a topic. For example, if you 1011 their names when @kbd{i} prompts you for a topic. For example, if you
1022 want to read the description of what the @kbd{C-l} key does, type 1012 want to read the description of what the @kbd{C-l} key does, type
1023 @kbd{iC-l@key{RET}} literally. 1013 @kbd{iC-l@key{RET}} literally.
1024 1014
1025 In Emacs, @kbd{i} runs the command @code{Info-index}.
1026
1027 @findex info-apropos 1015 @findex info-apropos
1028 @findex index-apropos 1016 @findex index-apropos
1029 If you aren't sure which manual documents the topic you are looking 1017 If you aren't sure which manual documents the topic you are looking
1030 for, try the @kbd{M-x info-apropos} command in Emacs, or the @kbd{M-x 1018 for, try the @kbd{M-x info-apropos} command in Emacs, or the @kbd{M-x
1031 index-apropos} command in the stand-alone reader. It prompts for 1019 index-apropos} command in the stand-alone reader. It prompts for
1041 @cindex go to a node by name 1029 @cindex go to a node by name
1042 If you know a node's name, you can go there by typing @kbd{g}, the 1030 If you know a node's name, you can go there by typing @kbd{g}, the
1043 name, and @key{RET}. Thus, @kbd{gTop@key{RET}} would go to the node 1031 name, and @key{RET}. Thus, @kbd{gTop@key{RET}} would go to the node
1044 called @samp{Top} in this file. (This is equivalent to @kbd{t}, see 1032 called @samp{Top} in this file. (This is equivalent to @kbd{t}, see
1045 @ref{Help-Int}.) @kbd{gGo to node@key{RET}} would come back here. 1033 @ref{Help-Int}.) @kbd{gGo to node@key{RET}} would come back here.
1046 @kbd{g} in Emacs runs the command @code{Info-goto-node}.
1047 1034
1048 Unlike @kbd{m}, @kbd{g} does not allow the use of abbreviations. 1035 Unlike @kbd{m}, @kbd{g} does not allow the use of abbreviations.
1049 But it does allow completion, so you can type @key{TAB} to complete a 1036 But it does allow completion, so you can type @key{TAB} to complete a
1050 partial node name. 1037 partial node name.
1051 1038
1071 you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, 1058 you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4},
1072 @dots{}, @kbd{9}. They are short for the @kbd{m} command together 1059 @dots{}, @kbd{9}. They are short for the @kbd{m} command together
1073 with a name of a menu subtopic. @kbd{1} goes through the first item 1060 with a name of a menu subtopic. @kbd{1} goes through the first item
1074 in the current node's menu; @kbd{2} goes through the second item, etc. 1061 in the current node's menu; @kbd{2} goes through the second item, etc.
1075 In the stand-alone reader, @kbd{0} goes through the last menu item; 1062 In the stand-alone reader, @kbd{0} goes through the last menu item;
1076 this is so you need not count how many entries are there. In Emacs, 1063 this is so you need not count how many entries are there.
1077 the digit keys run the command @code{Info-nth-menu-item}.
1078 1064
1079 If your display supports multiple fonts, colors or underlining, and 1065 If your display supports multiple fonts, colors or underlining, and
1080 you are using Emacs' Info mode to read Info files, the third, sixth 1066 you are using Emacs' Info mode to read Info files, the third, sixth
1081 and ninth menu items have a @samp{*} that stands out, either in color 1067 and ninth menu items have a @samp{*} that stands out, either in color
1082 or in some other attribute, such as underline; this makes it easy to 1068 or in some other attribute, such as underline; this makes it easy to
1093 1079
1094 @kindex M-n @r{(Info mode)} 1080 @kindex M-n @r{(Info mode)}
1095 @findex clone-buffer 1081 @findex clone-buffer
1096 @cindex multiple Info buffers 1082 @cindex multiple Info buffers
1097 If you are reading Info in Emacs, you can select a new independent 1083 If you are reading Info in Emacs, you can select a new independent
1098 Info buffer in the same window by typing @kbd{M-n}. The new buffer 1084 Info buffer in a new Emacs window by typing @kbd{M-n}. The new buffer
1099 starts out as an exact copy of the old one, but you will be able to 1085 starts out as an exact copy of the old one, but you will be able to
1100 move independently between nodes in the two buffers. (In Info mode, 1086 move independently between nodes in the two buffers. (In Info mode,
1101 @kbd{M-n} runs the Emacs command @code{clone-buffer}.) 1087 @kbd{M-n} runs the Emacs command @code{clone-buffer}.)
1102 1088
1103 In Emacs Info, you can also produce new Info buffers by giving a 1089 In Emacs Info, you can also produce new Info buffers by giving a
1114 @node Emacs Info Variables, , Create Info buffer, Advanced 1100 @node Emacs Info Variables, , Create Info buffer, Advanced
1115 @comment node-name, next, previous, up 1101 @comment node-name, next, previous, up
1116 @section Emacs Info-mode Variables 1102 @section Emacs Info-mode Variables
1117 1103
1118 The following variables may modify the behavior of Info-mode in Emacs; 1104 The following variables may modify the behavior of Info-mode in Emacs;
1119 you may wish to set one or several of these variables interactively, or 1105 you may wish to set one or several of these variables interactively,
1120 in your @file{~/.emacs} init file. @xref{Examining, Examining and Setting 1106 or in your init file. @xref{Examining, Examining and Setting
1121 Variables, Examining and Setting Variables, emacs, The GNU Emacs 1107 Variables, Examining and Setting Variables, emacs, The GNU Emacs
1122 Manual}. The stand-alone Info reader program has its own set of 1108 Manual}. The stand-alone Info reader program has its own set of
1123 variables, described in @ref{Variables,, Manipulating Variables, 1109 variables, described in @ref{Variables,, Manipulating Variables,
1124 info-stnd, GNU Info}. 1110 info-stnd, GNU Info}.
1125 1111