AUCTeX was tested with Emacs 21 and XEmacs 21.4.15. Older versions may work but are unsupported. Older versions of XEmacs might possibly made to work by updating the xemacs-base package through the XEmacs package system.
It must be enabled first, insert this in your .emacs file:
(setq-default TeX-master nil)
(setq TeX-parse-self t)
(setq TeX-auto-save t)
Read also the chapters about parsing and multifile documents in the manual.
TeX-save-document work?
TeX-check-path has to contain "./" somewhere.
For various reasons, AUCTeX ignores the extension when it stores information about a file, so you should use unique base names for your files. E.g. rename foo.bib to foob.bib.
If the message in the minibuffer stays "Type `C-c C-l' to display
results of compilation.", you probably have a misconfiguration in your
init file (.emacs, init.el or similar). To track this
down either search in the *Messages* buffer for an error message
or put (setq debug-on-error t) as the first line into your init
file, restart Emacs and open a LaTeX file. Emacs will complain
loudly by opening a debugging buffer as soon as an error occurs. The
information in the debugging buffer can help you find the cause of the
error in your init file.