* 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 _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
