Node: Advanced, Next: , Up: Expert Info



Advanced Info Commands

Here are some more Info commands that make it easier to move around.

g goes to a node by name

If you know a node's name, you can go there by typing g, the name, and <RET>. Thus, gTop<RET> would go to the node called Top in this file. (This is equivalent to t, see Help-Int.) gAdvanced<RET> would come back here. g in Emacs runs the command Info-goto-node.

Unlike m, g does not allow the use of abbreviations. But it does allow completion, so you can type <TAB> to complete a partial node name.

To go to a node in another file, you can include the file name in the node name by putting it at the front, in parentheses. Thus, g(dir)Top<RET> would go to the Info Directory node, which is the node Top in the Info file dir. Likewise, g(emacs)Top<RET> goes to the top node of the Emacs manual.

The node name * specifies the whole file. So you can look at all of the current file by typing g*<RET> or all of any other file with g(filename)<RET>.

1 - 9 choose a menu subtopic by its number

If you begrudge each character of type-in which your system requires, you might like to use the commands 1, 2, 3, 4, ..., 9. They are short for the m command together with a name of a menu subtopic. 1 goes through the first item in the current node's menu; 2 goes through the second item, etc. In the stand-alone reader, 0 goes through the last menu item; this is so you need not count how many entries are there. In Emacs, the digit keys run the command Info-nth-menu-item.

If your display supports multiple fonts, and you are using Emacs' Info mode to read Info files, the * for the fifth menu item stands out, either in color or in some other attribute, such as underline, and so is the * for the ninth item; this makes it easy to see at a glance which number to use for an item.

Some terminals don't support colors or underlining. If you need to actually count items, it is better to use m instead, and specify the name, or use <TAB> to quickly move between menu items.

e makes Info document editable

The Info command e changes from Info mode to an ordinary Emacs editing mode, so that you can edit the text of the current node. Type C-c C-c to switch back to Info. The e command is allowed only if the variable Info-enable-edit is non-nil.

The e command only works in Emacs, where it runs the command Info-edit. The stand-alone Info reader doesn't allow you to edit the Info file, so typing e there goes to the end of the current node.