Subject: bug#34082: tex-buffer fails when buffer not saved

From: Colin Baxter <[email-masked]>
Date: Thu, 12 Aug 2021 07:48:45 +0100

>>>>> Lars Ingebrigtsen <[email-masked]> writes:

    > Colin Baxter <[email-masked]> writes:
    >> emacs -Q <RET> M-x calendar <RET> M-x cal-tex-cursor-day <RET>
    >> M-x tex-buffer <RET>
    ---> Buffer is not associated with any file
    >> M-x tex-print <RET>
    ---> No appropriate ‘.dvi’ file could be found
    >> 
    >> However, if the buffer 'calendar.tex' is saved to a file then we
    >> can proceed using M-x tex-compile <RET>, etc.

    > This should now be fixed in Emacs 28.

Yes, I can confirm this. Thank you.

Best wishes,