[Top][All Lists]

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

Re: [Bug-AUCTeX] TeX-style-path variable misbehaving

From: William McCallum
Subject: Re: [Bug-AUCTeX] TeX-style-path variable misbehaving
Date: Tue, 5 Jul 2005 11:51:32 -0700

On Jul 5, 2005, at 11:04 AM, Ralf Angeli wrote:

* William McCallum (2005-07-05) writes:

On Jul 5, 2005, at 9:58 AM, Ralf Angeli wrote:

Undefined? After loading a LaTeX file (that's important) it should at
least have _some_ value.


These are all the variables defined in tex-site.el. It seems that
when I do your emacs -Q thing, none of the autoloads in tex-site.el
are actually loaded. Well, maybe that's what autoload means? Wait
until you need it?

That's why I stressed (maybe not clear enough) to load a LaTeX file
before checking the value of the variable.  As soon as you open a
LaTeX file, tex.el will be loaded and `TeX-style-path' defined.

Ahh. Sorry about that, you were quite clear, I just didn't pay enough attention.

As you got a correct value after loading tex.el manually in the `emacs
-Q' case, I am assuming the same would be true in case you loaded a
LaTeX file.  That means there is probably some code in a site init
file or your user init file which prevents `TeX-style-private' or
`TeX-style-path' from being set correctly.  You could try to find
errors in your user init file by adding

(setq debug-on-error t)

as the first line to your user init file, starting Emacs with
`emacs --no-site-file --debug-init', and loading a LaTeX file.

Well, this doesn't produce anything that looks wrong to me ... no error messages, and the *Messages* buffer looks harmless, but I'll keep poking at it.




reply via email to

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