emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error during PDF export but the PDF file is exported
@ 2021-10-29 12:43 Pascal Quesseveur
  0 siblings, 0 replies; only message in thread
From: Pascal Quesseveur @ 2021-10-29 12:43 UTC (permalink / raw)
  To: emacs-orgmode


I use Emacs 27.1 on Windows and Org 9.3.

From time to time I work on files mounted from a remote host which is
late compared to my pc.  Then I encounter errors when producing files
from Org:

File xxx wasn't produced

But the file is produced and is up-to-date. The error message comes
from org-compile-file. In that function the test is to compare the
date at the start of function with the date of the produced file. I
don't know if it's still the case in recent versions, but I think it
could be changed. For example, instead of using the date at the start
of the function, we could use the date of the file if it already

(time (if (file-exists-p output)
            (file-attribute-modification-time (file-attributes output))
          '(0 0 0 0)))

Pascal Quesseveur

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-29 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 12:43 Error during PDF export but the PDF file is exported Pascal Quesseveur

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).