[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] AUCTeX 11.87 does not ask to save before compiling
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] AUCTeX 11.87 does not ask to save before compiling |
Date: |
Mon, 09 Sep 2013 16:53:22 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Andreas Hock <address@hidden> 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