Red Hat Bugzilla – Bug 201957
Autoload Instructions for the emacs-auctex package
Last modified: 2007-11-30 17:11:40 EST
Description of problem:
In the package emacs-auctex-11.83 the README file says:
The installation routine tries to make the modes provided by AUCTeX
the default for all supported file types. If this does not happen in
your case, add
(load "auctex.el" nil t t)
but auctex.el is not part of the package. I think it would be a good idea
to say (something like) somewhere:
Add the following to your .emacs file to autoload auctex:
(setq load-path (append load-path '("/usr/share/emacs/site-lisp/auctex")))
(autoload 'TeX-load-hack "/usr/share/emacs/site-lisp/tex-site")
so that the file don't have to be permanently/manually loaded.
Also I still don't know how to autoload the preview part.
Nick *** Emacs Mode for GDB ***
I'm confused by your report - if you install the emacs-auctex package from FE,
you shouldn't need to add anything to your .emacs at all - it should just work.
Are you just pointing out a documentation problem in the README file, or are you
also having a problem getting auctex and preview to work?
I was trying to use it with Emacs 22 that I've checked out from Savannah which
doesn't have /usr/share/emacs/site-lisp in it's load-path. Sorry for the
Hi Nick - OK, no problem, thanks for closing the bug.
You've probably found the files already, but if you look in
/usr/share/emacs/site-lisp/site-start.d there are the startup files for auctex
I also suspect you may need to re-byte compile the files - I am not sure that
the lisp interpreter in emacs maintains binary compatibility for compiled lisp
files between versions.