Go to the first, previous, next, last section, table of contents.


Getting help

This chapter tells you how to get help with Emacs

I'm just starting Emacs; how do I do basic editing?

Type C-h t to invoke the self-paced tutorial. Just typing C-h enters the help system.

Your system administrator may have changed C-h to act like DEL to deal with local keyboards. You can use M-x help-for-help instead to invoke help. To discover what key (if any) invokes help on your system, type M-x where-is RET help-for-help RET. This will print a comma-separated list of key sequences in the echo area. Ignore the last character in each key sequence listed. Each of the resulting key sequences invokes help.

Emacs help works best if it is invoked by a single key whose value should be stored in the variable help-char.

There is also a WWW-based tutorial for Emacs 18, much of which is also relevant for later versions of Emacs, available at

@uref{http://kufacts.cc.ukans.edu/cwis/writeups/misc/emacsguide.html}

How do I find out how to do something in Emacs?

There are several methods for finding out how to do things in Emacs.

How do I get a printed copy of the Emacs manual?

You can order a printed copy of the Emacs manual from the FSF. For details see the @uref{http://www.gnu.org/order/order.html, GNU Web site} and the file `etc/ORDERS'.

The full Texinfo source for the manual also comes in the `man' directory of the Emacs distribution, if you're daring enough to try to print out this 620-page manual yourself (see section How do I print a Texinfo file?).

If you absolutely have to print your own copy, and you don't have TeX, you can get a PostScript version from

@uref{http://www.gnu.org/manual/emacs/ps/emacs.ps.gz}

An HTML version of the manual is at

@uref{www.gnu.org/manual/emacs/index.html}

See section How do I find out how to do something in Emacs?, for how to view the manual on-line.

Where can I get documentation on Emacs Lisp?

Within Emacs, you can type C-h f to get the documentation for a function, C-h v for a variable.

For more information, obtain the Emacs Lisp Reference Manual. Details on ordering it from FSF are on the @uref{http://www.gnu.org/order/order.html, GNU Web site} and in the file `etc/ORDERS'.

The Emacs Lisp Reference Manual is also available on-line, in Info format. Texinfo source for the manual (along with pregenerated Info files) is available at

@uref{ftp://ftp.gnu.org/pub/gnu/emacs/elisp-manual-21-2.6.tar.gz}

and all mirrors of `ftp.gnu.org' (for a list, see section Where can I get other up-to-date GNU stuff?). See section How do I install a piece of Texinfo documentation?, if you want to install the Info files, or section How do I print a Texinfo file?, if you want to use the Texinfo source to print the manual yourself.

An HTML version of the Emacs Lisp Reference Manual is available at

@uref{http://www.gnu.org/manual/elisp-manual-21-2.6/elisp.html}

How do I install a piece of Texinfo documentation?

First, you must turn the Texinfo files into Info files. You may do this using the stand-alone `makeinfo' program, available as part of the latest Texinfo package at

@uref{ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.0.tar.gz}

and all mirrors of `ftp.gnu.org' (for a list, see section Where can I get other up-to-date GNU stuff?).

For information about the Texinfo format, read the Texinfo manual which comes with the Texinfo package. This manual also comes installed in Info format, so you can read it on-line; type C-h i m texinfo RET.

Alternatively, you could use the Emacs command M-x texinfo-format-buffer, after visiting the Texinfo source file of the manual you want to convert.

Neither texinfo-format-buffer nor `makeinfo' installs the resulting Info files in Emacs's Info tree. To install Info files, perform these steps:

  1. Move the files to the `info' directory in the installed Emacs distribution. See section What are `etc/SERVICE', `src/config.h', and `lisp/default.el'?, if you don't know where that is.
  2. Run the install-info command, which is part of the Texinfo distribution, to update the main Info directory menu, like this:
     install-info --info-dir=dir-path dir-path/file
    
    where dir-path is the full path to the directory where you copied the produced Info file(s), and file is the name of the Info file you produced and want to install. If you don't have the install-info command installed, you can edit the file `info/dir' in the installed Emacs distribution, and add a line for the top level node in the Info package that you are installing. Follow the examples already in this file. The format is:
    * Topic: (relative-pathname).  Short description of topic.
    

If you want to install Info files and you don't have the necessary privileges, you have several options:

How do I print a Texinfo file?

You can't get nicely printed output from Info files; you must still have the original Texinfo source file for the manual you want to print.

Assuming you have TeX installed on your system, follow these steps:

  1. Make sure the first line of the Texinfo file looks like this:
    \input texinfo
    
    You may need to change `texinfo' to the full pathname of the `texinfo.tex' file, which comes with Emacs as `man/texinfo.tex' (or copy or link it into the current directory).
  2. Type texi2dvi texinfo-source, where texinfo-source is the name of the Texinfo source file for which you want to produce a printed copy. The `texi2dvi' script is part of the GNU Texinfo distribution (see section How do I install a piece of Texinfo documentation?).
  3. Print the DVI file `texinfo-source.dvi' in the normal way for printing DVI files at your site. For example, if you have a PostScript printer, run the dvips program to print the DVI file on that printer.

To get more general instructions, retrieve the latest Texinfo package (see section How do I install a piece of Texinfo documentation?).

Can I view Info files without using Emacs?

Yes. Here are some alternative programs:

What informational files are available for Emacs?

This isn't a frequently asked question, but it should be! A variety of informational files about Emacs and relevant aspects of the GNU project are available for you to read.

The following files are available in the `etc' directory of the Emacs distribution (see section What are `etc/SERVICE', `src/config.h', and `lisp/default.el'?, if you're not sure where that is).

`COPYING'
Emacs General Public License
`DISTRIB'
Emacs Availability Information, including the popular "Free Software Foundation Order Form"
`FTP'
How to get GNU Software by Internet FTP or by UUCP
`GNU'
The GNU Manifesto
`INTERVIEW'
Richard Stallman discusses his public-domain UNIX-compatible software system with BYTE editors
`LPF'
Why you should join the League for Programming Freedom
`MACHINES'
Status of Emacs on Various Machines and Systems
`MAILINGLISTS'
GNU Project Electronic Mailing Lists
`NEWS'
Emacs news, a history of recent user-visible changes
`SERVICE'
GNU Service Directory
`SUN-SUPPORT'
including "Using Emacstool with GNU Emacs"

Latest versions of the above files also available at

@uref{ftp://ftp.gnu.org/pub/gnu/GNUinfo/}

More GNU information, including back issues of the GNU's Bulletin, are at

@uref{http://www.gnu.org/bulletins/bulletins.html} and

@uref{http://www.cs.pdx.edu/~trent/gnu/gnu.html}

Where can I get help in installing Emacs?

See section How do I install Emacs?, for some basic installation hints, and see section What should I do if I have trouble building Emacs?, or section Why does linking Emacs with -lX11 fail?, if you have problems with the installation.

The file `etc/SERVICE' (see section What are `etc/SERVICE', `src/config.h', and `lisp/default.el'?, if you're not sure where that is) lists companies and individuals willing to sell you help in installing or using Emacs. An up-to-date version this file is available on `ftp.gnu.org' (see section What informational files are available for Emacs?).

Where can I get the latest version of this FAQ?

The Emacs FAQ is available in several ways:


Go to the first, previous, next, last section, table of contents.