Description of problem:
Fedora activates AUCTeX by creating a file auctex-init.el within site-start.d .
This file contains the LISP command (require 'tex-site) . However according to
AUCTeX's maintainers (David Kastrup <email@example.com> and Ralf Angeli
<firstname.lastname@example.org>), "AUCTeX's documentation clearly states that AUCTeX
should be activated by loading auctex.el, not by requiring tex-site (which is
what Fedora's auctex-init.el does)."
A consequence of Fedora's type of activation is that AUCTeX cannot be
deactivated. (According to the documentation, deactivation should be
accomplished by issuing the LISP command (unload-feature 'tex-site) .)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start emacs and open a .tex file
2. issue the LISP command (unload-feature 'tex-site)
AUCTeX is not deactivated and the following error message occurs:
error: "Loaded libraries
(\"/usr/share/emacs/site-lisp/site-start.d/auctex-init.el\") depend on tex-site"
AUCTeX should be de-activated without error
Hi Leslie, sorry I overlooked that item in the release notes (I've never
actually needed to unload auctex!). Anyway, according to the release
the file should contain (load "auctex.el" nil t t) instead of
(require 'tex-site). If that one change fixes things for you (and please
tell me if it isn't), then I'll update the package ASAP.
Putting (load "auctex.el" nil t t) into this file instead of (require 'tex-site)
should do it. Thanks!
Builds for FC-4, FC-5, and devel with this fix have succeeded and will
be available soon.