I have a TeX file containing these few lines at the end:
%%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End:
The TeX document only consists of that file, so I want it to be the master file. When I compile it with errors, trying to debug with C-c ` opens an empty buffer on top of the compilation log buffer. I think that the top buffer should be the current file.
A dired on the top buffer however shows that it is in the non-existent folder
/folder/of/my/tex/Tex Live 2012/.
I have tried changing the Tex-Master variable to the absolute path of the TeX file, but the problem stays the same.
How can I have my TeX file as the top buffer in the debugging window?