This chapter describes some other commands which select a different node.
first-node
) ¶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.
last-node
) ¶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.
global-next-node
) ¶Move forward through the node structure. If the node that you are currently viewing has a menu, select the first menu item. Otherwise, if this node has a ‘Next’ pointer, follow it. If there is no menu and no ‘Next’ pointer, then follow ‘Up’ pointers until there is a ‘Next’ pointer, and then follow it.
global-prev-node
) ¶Move backward through the 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-next-node
and
global-prev-node
while simply scrolling through the file with
SPC and DEL (see scroll-behavior).
goto-node
) ¶Read the name of a node and select it. If the desired node resides in some other file, you must type the node as it appears in that Info file, and include the name of the other file. For example,
g(emacs)Buffers
finds the node ‘Buffers’ in the Info file emacs.
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.
goto-invocation
) ¶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
‘O’. For example, if you are reading the Emacs manual and want to
see the command-line options of the texi2any
program, type g
(texinfo) RET and then O texi2any RET. If you don’t
know what Info file documents the command, or if invoking ‘O’
doesn’t display the right node, go to the ‘(dir)’ node (using the
‘d’ command) and invoke ‘O’ from there.
menu-sequence
) ¶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.
view-file
) ¶Read the name of a file and selects the entire file. The command
C-x C-f filename
is equivalent to typing
g(filename)*
list-visited-nodes
) ¶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-visited-node
) ¶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.
M-x man
¶Read the name of a man page to load and display. This uses the man
command on your system to retrieve the contents of the requested man page.
See also --raw-escapes.