Ralf Angeli <[EMAIL PROTECTED]> writes: > * David Kastrup (2005-06-10) writes: > >> I think this behavior must be relatively new, then. I can't >> remember seeing it before. > > The behavior is present in AUCTeX 11.50 but not in 11.14. The > reason is that 11.14 sets a master based on the following test in > `TeX-master-file'. > > ;; Is this a master file? > ((and TeX-header-end (re-search-forward TeX-header-end 10000 t)) > (setq TeX-master my-name)) > > According to the change log I removed the test on 2004-05-02 because > it yields incorrect results.
Things like that make me wonder whether I am actually using the software myself. Maybe I have enough _region_.tex files flying around to never notice the effect. Now _region_.tex should likely have the file as master from which it cut out pre- and postamble. At least it appears like any dumped format for preview-latex should likely be taken from the master file. I am not sure whether TeX-master actually has an influence on that: maybe setting TeX-master unconditionally to t in _region_.tex would actually not be a problem: after all, _region_.tex is intended to be compilable on its own. But maybe users would appreciate it if TeX-home-buffer from the region file (however they got there) would take them to the master after all. Don't we have some variable now for overriding the master query with a fixed setting? How about let-ting it to (or TeX-master t) when we create the region file? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
