bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] Re: 11.82; TeX-master not used after TeX-next-error


From: Ralf Angeli
Subject: [Bug-AUCTeX] Re: 11.82; TeX-master not used after TeX-next-error
Date: Wed, 15 Feb 2006 10:40:18 +0100

* Ralf Angeli (2006-02-14) writes:

> Thanks for the testcase.  I can see the problem.  We can probably
> solve this by preventing `TeX-master' from being set to a string in
> case it is t already.  I'll look a bit deeper into this ...

I think it makes sense to override local settings of `TeX-master' in
any case.  This way `TeX-next-error' will find every relevant file
even if an input file erroneously specifies something else as master
file.

That means we have to fix `TeX-master-file'.  In case the value of the
`extension' argument is t, it should not blindly append ".tex" but try
to figure out if the file actually exists.  So if it does not find a
file ending with ".tex" it could loop through `TeX-file-extensions' in
order to find an existing file.  This, however, is error-prone.  Which
file should be returned e.g. if there is both a .dtx file and a .sty
file with the same basename?  With the current default value of
`TeX-file-extensions' .sty would be preferred.

-- 
Ralf





reply via email to

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