Andreas Hock <[email protected]> writes:

Hi Andreas,

> When I now create a new *.tex-File per C-x C-f, AUCTeX starts up as
> expected.  But when I then run C-c C-c to compile the document, AUCTeX
> defaults to "View" instead of "LaTeX" (though the buffer has been
> modified). It also does not ask to save the newly created document.
> When I manually choose "LaTeX" it then tries to run latex on a
> non-existent file.
>
> I expect to be asked to save the (not yet created) file and then being
> offered to "LaTeX" it - I'm pretty sure that's how AUCTeX 11.86 always
> behaved. (?)
>
> Manually saving the file (C-x C-s) fixes everything, and AUCTeX then
> correctly recommends "LaTeX" when the file is modified again.
>
> So my questions are:
>
> 1) Is this a configuration error on my part?

No.

> 2) Is this behaviour new in AUCTeX 11.87, or have I just not noticed
> it until now?

I think, you just haven't noticed it until now.
I've committed a fix for that problem just now.

  927b058 * tex-buf.el (TeX-check-files): Handle buffers that haven't been 
saved yet.

Bye,
Tassilo


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

Reply via email to