[Top][All Lists]

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

Re: [Bug-AUCTeX] Re: preview-1.257; Preview and local variable TeX-maste

From: David Kastrup
Subject: Re: [Bug-AUCTeX] Re: preview-1.257; Preview and local variable TeX-master
Date: Sat, 11 Jun 2005 13:45:33 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * David Kastrup (2005-06-11) writes:
>> 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.
> I'd vote for setting it to t because _region_.tex is self-contained.

After thinking this over, I agree.  If _region_.tex becomes a mapped
window, this is either through a nosy user or because of a bug.  Being
an internal buffer, we should not bother about its user interface
semantics.  Setting TeX-master to t seems like the most natural thing
in this context.

>> 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?
> That's what my patch does. (c;

Well, should be just t, I think.  Sorry for not realizing this earlier.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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