From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YC6+K4DeS2MqrgAAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 12:35:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MA6bK4DeS2OQAgEAauVa8A (envelope-from ) for ; Sun, 16 Oct 2022 12:35:44 +0200 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 5B9E17360 for ; Sun, 16 Oct 2022 12:35:44 +0200 (CEST) Received: from localhost ([::1]:40800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok0zf-0006Jw-Fe for larch@yhetil.org; Sun, 16 Oct 2022 06:35:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok0z4-0006Jn-UY for emacs-orgmode@gnu.org; Sun, 16 Oct 2022 06:35:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok0z2-0007Xt-RM for emacs-orgmode@gnu.org; Sun, 16 Oct 2022 06:35:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A49AB240101 for ; Sun, 16 Oct 2022 12:35:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665916502; bh=0uq2WzyCXwktJucSGHpiNQWp2QOk82TiFj9jQEQwXtU=; h=From:To:Cc:Subject:Date:From; b=oHDJgZeIM4IlU0YlrQAfC4IJrWCs0XKofAaZtrqX35oEvzkW35PzLy/GyvnckNlCN T8WbAdwyOMSVhEWBevQhRJmUIhGTu+r/M7/szXDul8ixn3zfHstohmsQhkxM9YHEUM m/hOQzVNIXoUTOXK6bDQ2CDCzxqdLL2eeONj/1CItqjY/bXAFkjquAnz+bsEWKvC8l 9b7hKI8FU8SdpdjLOBu7idC1Jjf2StIimsRcVSUkdnVHJ36nFIcAV7yZRm4FOeAHZE TfDrE3hCaIZwRu6h4pEOJKQDiaWE/y6ltm01Q0gG5dfpwas8JJFLQ7uLYtH7/myE2x N43aC2+HmiaaA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MqxMn1r1Xz6tnV; Sun, 16 Oct 2022 12:35:00 +0200 (CEST) From: Ihor Radchenko To: pquessev@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: Error during PDF export but the PDF file is exported In-Reply-To: <82sfwkknm5.fsf@gmail.com> References: <82sfwkknm5.fsf@gmail.com> Date: Sun, 16 Oct 2022 10:35:49 +0000 Message-ID: <87y1tgnji2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665916544; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7/QCDlmMWIk5hGqBq1curoPIoZGi9NYST3/Kb+BgPic=; b=FgLLiGDvCy9A49ej1yWJL3ZI3ncZHkaECYbobCNjlZ7bnXLvKobGsrF9N6iWBQwWU75wr2 gJnXdbmxf7Pm9jG7jp7MmO1xzGhKcNlTKC54DVxYRfGvG0KdAm9IKBVBvcDLoPR4ldik87 lJaQ+UsDe+4KdkMXdwsh9+m3IUmaHOq5wxLvJEuI+msf7tTjnJffzRHKVPsKAkhc+QRgyM XL+okKRM78igP+lYgywCQ9P0UdOnp8Puko0lcV9Lkm312J317jGgUytBKDobZYrspzJXwN 9LLRMgBNnqS4n33VDFrKLZQUKFQoB1HV3TKpfmmKyT/mzH/5uZrv7Sduq4Axkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665916544; a=rsa-sha256; cv=none; b=FG2od7HMnh+oZabGURLvvIz37mA3bDYSlyhmx/QHrgPkSr5kjCQ9I01gQAMS5xMs0OFfRE Qt1N2PD0ifnFQ2pmDhj6HA02OI7K6ESu6xl3AdEAwe/jz1BW/D73/c5klC78V2i+N8KDvy ERfE0muQ1hylS1UE5aPZMX0AEi3Rzh+Brxqy/qabUSvF2MAyzSDz6l5tHXnXjlT+jnqem/ mt0fxlM6TIdZMJWFUL4zvO93kVwNdBre9zXkq0rO38hxSaKHW11FuNByvlK+jEyD/1lVM0 Gaduq4LiUAW0Em78zvX0D/B3V9VSQjB3i3u/+F2bCKrZWaYQ7VymzBTvyp8hMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oHDJgZeI; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oHDJgZeI; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5B9E17360 X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0R3Fkd+XAkBq Pascal Quesseveur writes: > 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))) Confirmed. Sorry for the late reply. This kind of use-case is indeed not considered by our code. However, your suggestion will only provide a partial fix - when an older file already exists in the remote folder. May be there a way to get time on remote server? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at