G'day all,
I finally got the motivation to work out why auctex wasn't being loaded
properly, now that all of my machines don't load it properly.
If I didn't do anything, and just loaded a .tex file, then things were
font-locked nicely, but pressing tab would just insert a tab.
If I said "(require 'latex)" or "(require 'tex) (require
'latex)", then I
would get: "Symbol's value as variable is void: TeX-auto-global"
Eventually, I found out that I could open up each of tex-site.el, tex.el,
and latex.el in turn in /usr/share/xemacs21/xemacs-packages/lisp/auctex/,
and then evaluate the whole buffer. Running (load-library "tex-site") etc
in turn gave me the Symbol void: TeX-auto-global error again.
I was able to get around it by providing paths explicitly:
(load-library "/usr/share/xemacs21/xemacs-packages/lisp/auctex/tex-site.el")
(load-library "/usr/share/xemacs21/xemacs-packages/lisp/auctex/tex.elc")
(load-library "/usr/share/xemacs21/xemacs-packages/lisp/auctex/latex.elc")
If I neglect tex-site, then it falls down again.
OK, so I now have a method that works for two different distributions of
Linux -- debian and SuSE, with just path changes. But this is obviously
not The Right Thing -- what exactly is missing from the default xemacs
configuration? And how do I best fix it?
The versions are:
XEmacs 21.5 (beta18) "chestnut" (+CVS-20041021) [Lucid] (i386-suse-linux, Mule)
of Tue Mar 22 2005 on mozart
(SuSE, 9.3)
and
XEmacs 21.4 (patch 17) "Jumbo Shrimp" [Lucid] (i386-debian-linux) of Sat May 28
2005 on penell
(Debian unstable, very up-to-date).
Thanks.
--
TimC
All science is either physics or stamp collecting.
-- Ernest Rutherford