From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2CmaO53se2EoLAEAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 14:44:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wK9JN53se2F6MwAA1q6Kng (envelope-from ) for ; Fri, 29 Oct 2021 12:44:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 547A229BE3 for ; Fri, 29 Oct 2021 14:44:13 +0200 (CEST) Received: from localhost ([::1]:33374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgREx-0003Hg-8f for larch@yhetil.org; Fri, 29 Oct 2021 08:44:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgREQ-0003Gb-QY for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 08:43:39 -0400 Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]:5759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgREO-0001eO-5h for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 08:43:38 -0400 Received: from dagon (unknown [88.165.6.12]) (Authenticated sender: pascal.quesseveur@free.fr) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 2E03C13F7F0 for ; Fri, 29 Oct 2021 14:43:30 +0200 (CEST) From: Pascal Quesseveur To: emacs-orgmode@gnu.org Subject: Error during PDF export but the PDF file is exported Organization: Les Enchantements de Miraldra User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) X-Attribution: PQsr Date: Fri, 29 Oct 2021 14:43:30 +0200 Message-ID: <82sfwkknm5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: softfail client-ip=2a01:e0c:1:1599::12; envelope-from=pquessev@gmail.com; helo=smtp3-g21.free.fr X-Spam_score_int: 34 X-Spam_score: 3.4 X-Spam_bar: +++ X-Spam_report: (3.4 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL=1.999, SPOOF_GMAIL_MID=0.725 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: pquessev@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635511453; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=XZ2Z4RhM05ijWhNTyKli5ubH+sJtdAMfA2TqJQjtRsM=; b=dXiwSMp86/JaxItP80vFGO8DY0t+HCjBUS7tq+VEpZgWjm6eMnwrg0BAkNZgQ9r5bCxvUG 53Uqh2sDrlD95DokmwV6KPusZGSOwDVOQMIwewWQ/sZVMx0OFTUOZXCMJDEvxrtU+6jahN NmD7RJTnypyFctO3HR8BWN9cVinn8V3oHHLCeLZ68LqxYaCHpwpwBDMe38eCJRc2JGg7Ex 6VL0ikycgsOrOPylAGbwZNExRziKT2ibGnyPx+OXeg/g7OhsPcc1ex1NiB2a6QpXf5euc+ rbfRQ5BuTf4Sczhscj3lmJCmzLs+u4zNp6rvKgT+yqsW9WDjEm+2nDXXatKJ8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635511453; a=rsa-sha256; cv=none; b=kVRtAAtnH6dg5NgjxGUenAFMxmZOCCcbETRueRZwapzuGNqJSjEw0ItMgBMC/psbw5i/Hj iExSD/Mcb2yyjb4/vVBAZid0QdE7jgr76P5R2eOfUVBc/sKPkfL92kabXuYLctBYiYbA8I 4imtoC35k1dOWbbBDN3DB0vnUfzo2oT8xuxhQMYoCmeFtnIteBIQCUOZxLynb0O1aBiXlj yZF5ok+VWbi39z+zfcnTDJTmb1knZXjbOeqOuKJF7XNWcfcE2ZsvSlKe0JEPjhENIPWpDr 7iKvvvYSqcEQbe2EH6AMffVm7O+3XYXk1lTt3FzpJQhyA5sageKoIqLrX5xvhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.32 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 547A229BE3 X-Spam-Score: -2.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: ggGjc+0aAgBU 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