Bug 189488 - Incorrect activation of AUCTeX
Summary: Incorrect activation of AUCTeX
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs-auctex
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ed Hill
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-20 14:12 UTC by Leslie Saper
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-04-21 18:01:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Leslie Saper 2006-04-20 14:12:29 UTC
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 <dak> and Ralf Angeli
<angeli.de>), "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):

emacs-auctex-11.82-1.fc4.noarch.rpm

How reproducible:
Every time

Steps to Reproduce:
1. Start emacs and open a .tex file
2. issue the LISP command (unload-feature 'tex-site)
  
Actual results:
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"

Expected results:
AUCTeX should be de-activated without error

Additional info:

Comment 1 Ed Hill 2006-04-20 19:06:52 UTC
Hi Leslie, sorry I overlooked that item in the release notes (I've never 
actually needed to unload auctex!).  Anyway, according to the release 
notes:

  http://www.gnu.org/software/auctex/manual/html_node/Changes.html

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.


Comment 2 Leslie Saper 2006-04-20 19:21:57 UTC
Putting (load "auctex.el" nil t t) into this file instead of (require 'tex-site)
should do it.  Thanks!

Comment 3 Ed Hill 2006-04-21 18:01:33 UTC
Builds for FC-4, FC-5, and devel with this fix have succeeded and will 
be available soon.


Note You need to log in before you can comment on or make changes to this bug.