This chapter tells you how to get help with Emacs
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}
There are several methods for finding out how to do things in Emacs.
Info-goto-emacs-command-node) prompts
for the name of a command, and then attempts to find the section in the
Emacs manual where that command is described.
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.
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}
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:
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/filewhere 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:
Info-goto-node command (invoked by
pressing g in Info mode) by typing the name of the file in
parentheses. This goes to the node named "Top" in that file. For
example, to view a Info file named `info-file' in your home
directory, you can type this:
C-h i g (~/info-file) RET
Info-default-directory-list. For example, to use a private Info
directory which is a subdirectory of your home directory named `Info',
you could put this in your `.emacs' file:
(setq Info-default-directory-list
(cons "~/Info" Info-default-directory-list))
You will need a top-level Info file named `dir' in this directory
which has everything the system `dir' file has in it, except it should
list only entries for Info files in that directory. You might not need
it if all files in this directory were referenced by other `dir'
files. The node lists from all `dir' files in
Info-default-directory-list are merged by the Info system.
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:
\input texinfoYou 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).
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?).
Yes. Here are some alternative programs:
info, a stand-alone version of the Info program, comes as part of
the Texinfo package. See section How do I install a piece of Texinfo documentation?, for
details.
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).
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}
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?).
The Emacs FAQ is available in several ways:
?GNU Emacs Frequently Asked Questions?rc:mIn Gnus, you should type C-u C-x C-s from the `*Summary*' buffer or C-u SPC from the `*Newsgroup*' buffer to view all articles in a newsgroup. If the FAQ articles have expired and have been deleted from your news spool, it might (or might not) do some good to complain to your news administrator, because the most recent FAQ should not expire for a while.
send usenet/news.answers/GNU-Emacs-FAQ/diffs send usenet/news.answers/GNU-Emacs-FAQ/part1 send usenet/news.answers/GNU-Emacs-FAQ/part2 send usenet/news.answers/GNU-Emacs-FAQ/part3 send usenet/news.answers/GNU-Emacs-FAQ/part4 send usenet/news.answers/GNU-Emacs-FAQ/part5For more information, send email to @email{mail-server@rtfm.mit.edu} with "help" and "index" in the body on separate lines.
Go to the first, previous, next, last section, table of contents.