[Top][All Lists]

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

[Bug-AUCTeX] Value of variable "tex-master" is vulnerabel

From: Stefan Pofahl
Subject: [Bug-AUCTeX] Value of variable "tex-master" is vulnerabel
Date: Sun, 10 Jul 2011 22:12:05 +0200


I have a strange phenomenon:
The value of the variable "TeX-master" for my subdocuments is lost.
I'm working under MS-WIN XP.
Int the init.el I specified:
(setq TeX-parse-self t)             ; Enable parse on load.
(setq TeX-auto-save t)              ; Enable parse on save.
(setq-default TeX-master t)         ; Don't query for master file.
Every new file is Master.
(setq TeX-save-query nil)           ; Don't ask, save! - If the
variable TeX-save-query is non-nil,
                                                ; AUCTEX will query
before saving each file.

In the subdocuments I have added the location of the master, e.g.:
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "C:\\home\\foo\\tex\\main"
%%% End:

Hence, it should work and the creasy thing is, it worked with the same settings
on another machine with the same OS.

I also tried to remove the entry and add the entry again via "C-c _"
but this did no cure the problem.

I also tried the commands "reset buffer" "reset auctex", but that does
not change anything.

If I tell AucTeX via "M-x" what the value of "TeX-master" is and it
works until I close
"xemacs" (I'm confident, that it is not x_emacs issue, I did not had
these problems

I safed the keybord macro:

M-x set-variable RET
TeX-master RET
"C:\\home\\foo\\tex\\main" RET

in a seperate lisp-file and now I can load the library and can execute the macro
if needed (and it is necessary to do that over and over again).

Is it a known problem? Up to now I have not found an explanation for
that in the net.



Stefan Pofahl c/o C.Despland
Av. des 4 Marronniers 8
1400 Yverdon-les-bains

reply via email to

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