Previous: printing Up: ../info.html Next: arg
Some Advanced INFO Commands ("G", "S", "1" - "5", and "^R"). If you know a node's name, you can go there by typing "G", the name, and a CR. Thus, "GTop<CR>" would go to the node called Top in this file (its directory node). "GExpert<CR>" would come back. Unlike M, G does not allow the use of abbreviations, and does not let you give even the Space, Caret and Dot commands while you are typing the argument in. To go to a node in another file, you can include the filename in the node name by putting it at the front, in parentheses. Thus, "G(DIR)Top<CR>" would go to the INFO Directory node, which is node Top in the file DIR (which is short for <INFO>DIR.INFO). The node name "*" specifies the whole file. So you can look at all of the current file by typing "G*<CR>" or all of any other file with "G(<file>)<CR>". The "S" command allows you to search a whole file for a string. It will switch to the next node if and when that is necessary. You type "S" followed by the string to search for, terminated by a CR. To search for the same string again, just "S" followed by a CR will do. The file's nodes will be scanned in the order they are in in the file, which has no necessary relationship to the order that they may be in in the tree structure of menus and next's. But normally the two orders will not be far different. In any case, you can always do a "B" to find out what node you have reached, if the header isn't visible (this can happen, because "S" puts your cursor at the occurrence of the string, not at the beginning of the node). If you grudge the system each character of type-in it requires, you might like to use the commands "1", "2", "3", "4", and "5". They are short for the "M" command together with an argument. "1" goes through the first item in the current node's Menu; "2" goes through the second item, etc. Note that numbers larger than 5 are not allowed. If the item you want is that far down, you are better off using an abbreviation for its name than counting. The INFO command "" enters a recursive editing level for you to edit the text of the current node. To get back to INFO, you must give a command to exit. This command is C-M-Z unless your init file redefines it. If you have changed the text of the node, then when you visit a node in a different file INFO will offer to save this file. This is because INFO just uses C-X C-V to access files. You can also save the file explicitly by using the C-X C-S command or equivalent while you are still inside the recursive edit.