* Stefan Pofahl (2005-09-05) writes:

> On 5 Sep 2005 at 10:23, Ralf Angeli wrote:
>
>> What's the problem with using the `TeX-master-file' option?
>> 
> The variable %t is changing it's value, when you change from
> master-file to buffer or region, this is a nice feature.

First, "%t" is not a variable but a placeholder used for expansion.
Second, how should AUCTeX know if you want to process the document,
the current buffer or a region?  You have to explicitely tell it to
execute the intended option.  That's why there are commands like
`TeX-command-master', `TeX-command-buffer' or `TeX-command-region'.

> The variable `TeX-active-buffer' should be the same as %t,
> but I don't know how to use it.

Maybe it helps reading the doc string of `TeX-command', especially
what it expects as its second argument.

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to