This section details the numerous Info commands which select a new node to view in the current window.
The most basic node commands are ‘n’, ‘p’, ‘u’, and ‘l’. Note that the commands to select nodes are mapped differently when ‘--vi-keys’ is in effect; these keybindings are designated below as “vi-like operation”.
When you are viewing a node, the top line of the node contains some Info pointers which describe where the next, previous, and up nodes are. Info uses this line to move about the node structure of the file when you use the following commands:
Select the ‘Next’ node.
The NEXT key is known as the PgDn key on some keyboards.
Select the ‘Prev’ node.
The PREVIOUS key is known as the PgUp key on some keyboards.
Select the ‘Up’ node.
You can easily select a node that you have already viewed in this window by using the ‘l’ command—this name stands for “last”, and actually moves backwards through the history of visited nodes for this window. This is handy when you followed a reference to another node, possibly to read about a related issue, and would like then to resume reading at the same place where you started the excursion.
Each node where you press ‘l’ is discarded from the history. Thus, by the time you get to the first node you visited in a window, the entire history of that window is discarded.
Pop the most recently selected node in this window from the node history.
Two additional commands make it easy to select the most commonly selected nodes; they are ‘t’ and ‘d’.
Select the node ‘Top’ in the current Info file.
Select the directory node (i.e., the node ‘(dir)’).
Here are some other commands which immediately result in the selection of a different node in the current window:
Selects the first node which appears in this file. This node is most often ‘Top’, but it does not have to be. With a numeric argument N, select the Nth node (the first node is node 1). An argument of zero is the same as the argument of 1.
Select the last node which appears in this file. With a numeric argument N, select the Nth node (the first node is node 1). An argument of zero is the same as no argument, i.e., it selects the last node.
Move forward or down through node structure. If the node that you are currently viewing has a ‘Next’ pointer, that node is selected. Otherwise, if this node has a menu, the first menu item is selected. If there is no ‘Next’ and no menu, the same process is tried with the ‘Up’ node of this node.
Move backward or up through node structure. If the node that you are currently viewing has a ‘Prev’ pointer, that node is selected. Otherwise, if the node has an ‘Up’ pointer, that node is selected, and if it has a menu, the last item in the menu is selected.
You can get the same behavior as
global-prev-node while simply scrolling through the file with
SPC and DEL (see scroll-behavior).
Read the name of a node and select it. While reading the node name, completion (see completion) is only done for the nodes which reside in one of the Info files that were loaded in the current Info session; if the desired node resides in some other file, you must type the node exactly as it appears in that Info file, and you must include the Info file of the other file. For example,
finds the node ‘Buffers’ in the Info file emacs.
Read the name of a program and look for a node in the current Info file which describes the invocation and the command-line options for that program. The default program name is derived from the name of the current Info file. This command does the same as the ‘--show-options’ command-line option (see --show-options), but it also allows to specify the program name; this is important for those manuals which describe several programs.
If you need to find the Invocation node of a program that is documented
in another Info file, you need to visit that file before invoking
‘I’. For example, if you are reading the Emacs manual and want to
see the command-line options of the
makeinfo program, type g
(texinfo) RET and then I makeinfo RET. If you don’t
know what Info file documents the command, or if invoking ‘I’
doesn’t display the right node, go to the ‘(dir)’ node (using the
‘d’ command) and invoke ‘I’ from there.
Read a sequence of menu entries and follow it. Info prompts for a sequence of menu items separated by commas. (Since commas are not allowed in a node name, they are a natural choice for a delimiter in a list of menu items.) Info then looks up the first item in the menu of the node ‘(dir)’ (if the ‘(dir)’ node cannot be found, Info uses ‘Top’). If such an entry is found, Info goes to the node it points to and looks up the second item in the menu of that node, etc. In other words, you can specify a complete path which descends through the menu hierarchy of a particular Info file starting at the ‘(dir)’ node. This has the same effect as if you typed the menu item sequence on Info’s command line, see Info command-line arguments processing. For example,
G Texinfo,Overview,Reporting Bugs RET
displays the node ‘Reporting Bugs’ in the Texinfo manual. (You don’t actually need to type the menu items in their full length, or in their exact letter-case. However, if you do type the menu items exactly, Info will find it faster.)
If any of the menu items you type are not found, Info stops at the last entry it did find and reports an error.
Read the name of a file and selects the entire file. The command
C-x C-f filename
is equivalent to typing
Make a window containing a menu of all of the currently visited nodes. This window becomes the selected window, and you may use the standard Info commands within it.
Select a node which has been previously visited in a visible window. This is similar to ‘C-x C-b’ followed by ‘m’, but no window is created.
Read the name of a man page to load and display. This uses the
command on your system to retrieve the contents of the requested man page.
See also see --raw-escapes.