bug-auctex
[Top][All Lists]
Advanced

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

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


From: David Kastrup
Subject: Re: [Bug-AUCTeX] Re: 11.82; TeX-master not used after TeX-next-error
Date: Sun, 19 Feb 2006 22:31:23 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * David Kastrup (2006-02-19) writes:
>
>> Ralf Angeli <address@hidden> writes:
>>
>>> * David Kastrup (2006-02-15) writes:
>>>
>>>> Maybe TeX-next-error should instead try to work with (and set locally
>>>> if necessary) TeX-command-buffer?  That seems unambiguous and should
>>>> do the trick in most cases.
>>>
>>> For one thing, it won't work with region files.
>>
>> Uh, why?
>
> Because `TeX-command-buffer' will point to the original file and not
> to the region file after e.g. LaTeX was run with `C-c C-r'.
> `(TeX-active-master)', however, will return the region file.

Uh, so what?  You can always use
(with-current-buffer TeX-command-buffer (TeX-active-master))
in case you need the master.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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