> > (I don't
> > actually get a dialog box on Windows, just a query in the echo area.)
>
> You should get one with CVS Emacs in case you use the menu entry for
> "Set Master File" or for previewing a region.
actually, even for the menu invocations on CVS emacs, I don't get a dialog
box, just a query in the echo area. Maybe the emacs build on crasseux.com
was compiled with a preference against this?
> > 1. On Emacs 21.3 (precompiled binary), the dialog doesn't appear at
all,like
> > you mention. Even when TeX-master is set to nil (query), running
> > TeX-command-region from the menubar doesn't result in a query.
> > (AUCTeX assumes the master file to be `This file'.)
>
> Even when no _region_.tex file existed before? Strange.
yeah. I even made sure that (i) both local and global values of
TeX-master were nil, and (ii) the buffer/file in question didn't even
have any \begin{document} or \end{document} that AUCTeX might take a
cue from. When I invoke TeX-command-region from the menu, AUCTeX still
assumes the master file to be that file, and then latex obviously
complains.
What's even more strange, under the same situation as above, when I
use C-c C-r, then AUCTeX asks for a master file, but ignores my answer
and goes ahead with the command. Of course, latex still complains
about a missing \begin{document}, and when I check the _region_.tex
file, there's no mention of the master file I specified, it looks like
AUCTeX disregards my input for the master file.
To reproduce this, use a self-contained latex file (like the example
you'd given earlier on this thread), create a new latex file that is
not self-contained, mark aregion in it and then do C-C C-r. When
AUCTeX queries for a master file, give the other (self-contained) file
as answer. See if AUCTeX actually uses that answer.
This looks like a more serious bug in TeX-command-region. It doesn't
seem like an emacs issue, because input does seem to be reaching the
function that needs it (unlike in the freezing problem); it's just
that AUCTeX seems to go ahead with the `This file' option regardless.
Rajneesh.
_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex