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
  2022-10-16 10:35 ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Pascal Quesseveur @ 2021-10-29 12:43 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

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
exists

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


-- 
Pascal Quesseveur
pquessev@gmail.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-21  8:51 UTC | newest]

Thread overview: 7+ messages (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
2022-10-16 10:35 ` Ihor Radchenko
     [not found]   ` <821qr6n7ue.fsf@gmail.com>
     [not found]     ` <871qr6r7op.fsf@localhost>
     [not found]       ` <82zgdsno6w.fsf@gmail.com>
2022-10-19 10:21         ` Ihor Radchenko
2022-10-19 17:24           ` Pascal Quesseveur
2022-10-20  5:12             ` Ihor Radchenko
     [not found]               ` <98da3e0e-21d1-d342-ae20-5bd9887b668f@gmail.com>
2022-10-21  3:29                 ` Ihor Radchenko
2022-10-21  8:05                   ` Pascal Quesseveur

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).