[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Emacs23 won't load tex-site.el

From: Ralf Angeli
Subject: Re: [AUCTeX] Emacs23 won't load tex-site.el
Date: Thu, 27 Dec 2007 23:38:25 +0100

* Haines Brown (2007-12-27) writes:

>> > I'm running auctex 11.83-6, which is the sable version under debian
>> > etch. I suppose you mean that emacs23 needs a newer version than that.   
>> No, this should be fine.  By the way, are you sure you mean emacs23
>> and not emacs22?  emacs23 isn't even in sid.  (Emacs 23 is not
>> released yet.)
> OK, I'm getting the feeling that auctex would normally load by calling
> /usr/share/emacsNN/site-lisp/tex-site.el rather than having a "(require
> 'tex-site) line in ~./emacs. This line I may have thoughtlessly
> carried over from some Medieval version of emacs.

What do you mean by "calling /usr/..."?  Just use
(load "auctex.el" nil t t)
as the documentation suggests.

> The default stable version of emacs for debian etch is emacs21. I
> compiled and installed the emacs-unicode-2 from CVS, which is
> emacs23. I did this to get xft support. 

I guess this explains why the AUCTeX installed via the Debian package
is not available.  The AUCTeX package installs AUCTeX only for
(certain) Emacsen provided by Debian.  It does not see your manually
installed Emacs.  If you want AUCTeX for that you could install AUCTeX
manually as well.

> I've now put /user/share/emacs21/site-lisp into my emacs23 paths so
> that it has access to a copy of tex-site.el, and then reloaded emacs23
> without error, but have not tested whether emacs23 can borrow use of
> the emacs21 file in this way to create a dvi file from a .tex source. 

Such a setup is a rather ugly hack.  I guess, sooner or later it will
bite you.

>> I'd rather get rid of the cruft you have lying around in your home
>> directory and which interferes with the Debian package.
> OK, but what "cruft". I've got a lot of it.

That's what I feared.

> Do you mean starting out
> with an .emacs file with nothing in it? Or do you mean emptying
> ~/elisp of anything not required by AUCTeX?

I thought of deleting old AUCTeX files in your ~/elisp directory.  If
you don't need the other stuff, removing it as well might be even

> I assume that if ~/.emacs
> is cleaned out, it does not matter what cruft might be found in
> ~/elisp, for it won't be seen.

Unless something or someone changed load-path somewhere else to
include the directory.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]