Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 10: The Emacs Help System and Configuration System

Previous HourNext Hour

Sections in this Hour:

 

Getting Extra Help Using the Info System


Long before the World Wide Web was invented, the info system was invented. It is a hyperlinked information system, intended to replace ordinary manual pages. It works much like the Web, with the important difference that the document can be read sequentially like a book.

If you press C-h i (info), you are taken to a whole new world of information. If you use a new Linux distribution, you can find info pages for most of the programs on your machine. Otherwise you can at least find information about Emacs. In Figure 10.6 shows one of the info pages.

Figure 10.6
An example of an info page.

Each info page is built up from the following parts:

Note - Not all info pages contain all these links; this depends solely on whether the link is meaningful or not. A link to the previous page has, of course, no meaning at the first page of a document.


Traveling the Info Pages

To get around in a single info page, use the arrow keys. Following links is done by either clicking the middle mouse button over them or moving point to the location and pressing Enter.

The info browser has a Back function similar to Web browsers. Press l to get back to the info page that you visited before this one.

Unfortunately, the info browser has no Forward function. In addition to using the links at the top, you can access the previous and next pages at the same level by pressing p and n and the up link by pressing u. Furthermore, the topmost info page (the one you arrive at when you enter the info system for the first time) is available by pressing d.

Searching the Info Pages

The ordinary search mechanism described in Hour 7, "Searching for Text in a Buffer," is still available in the info pages but, as always, applies only to the current buffer. Furthermore, there's a command for searching in a document, which is bound to s. When you press s Emacs asks you for a search string. To continue the search, press s again and, when Emacs asks you what you want to search for, simply press Enter; this makes Emacs continue the current search. You can also press , (comma) to continue the search, but that is one more key binding to remember.

Caution - The search command works only with documents, not with the whole hierarchy of info pages.


Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 10: The Emacs Help System and Configuration System

Previous HourNext Hour

Sections in this Hour: