bug-auctex
[Top][All Lists]
Advanced

[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 10:40:50 -0700


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

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


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


Does on your desktop machine the approach with `emacs -Q' I mentioned earlier work? Maybe this time you might try it without the typo I had
in the original version.  The following lines should be correct:

(setq TeX-style-private '("foo"))
(load "auctex.el" nil t t)


Yes, I tried that, without the typo (which I noticed the first time).
Same result as before ... TeX-style-path was undefined.


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

(setq debug-on-error t)

to the lines shown above and try again.

Same result ... no errors were reported. The minibuffer shows the correct tex-site.el being loaded ("Loading /path/to/tex-site.el (source) ... done"). I tried

M-x load-file /path/to/tex-site.el

and still it was not defined. I noticed TeX-style-path is defined in tex.el so I tried

M-x load-file /path/to/tex.el

and TeX-style-path was now defined, with the foo in the expected place.

Then I repeated your experiment to find out which TeX-* variables were defined after loading tex-site.el: here they are

Possible completions are:
TeX-auto-global               TeX-data-directory
TeX-lisp-directory           TeX-mode-alist
TeX-modes               TeX-style-private

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?


Do you check the value of `TeX-style-path' with `C-h v TeX-style-path
RET'?

Yes. This gives "no match".


--
Ralf






reply via email to

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