From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SO3FNs/YUGP/PAAAbAwnHQ (envelope-from ) for ; Thu, 20 Oct 2022 07:12:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UDjcNs/YUGMHAgEA9RJhRA (envelope-from ) for ; Thu, 20 Oct 2022 07:12:47 +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 AB01745D4D for ; Thu, 20 Oct 2022 07:12:47 +0200 (CEST) Received: from localhost ([::1]:51738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olNrK-0006o3-J5 for larch@yhetil.org; Thu, 20 Oct 2022 01:12:46 -0400 Received: from [::1] (port=44034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olNrK-0005ao-FZ for larch@yhetil.org; Thu, 20 Oct 2022 01:12:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olNqn-0005aU-36 for emacs-orgmode@gnu.org; Thu, 20 Oct 2022 01:12:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olNqk-0004nJ-Jl for emacs-orgmode@gnu.org; Thu, 20 Oct 2022 01:12:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5FD6B240101 for ; Thu, 20 Oct 2022 07:12:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666242723; bh=HnW8Nn/KUf8oUHHSkLZMQTxUiMwMo/tKf0g2d+9e2jo=; h=From:To:Cc:Subject:Date:From; b=j00DYgbhJ4Js+/wA6qpLK+o8I7SgRPScC88eP1TPD2srDQNa8XwtQnL5TbhLvAvdZ TpHLZTHF/F8DZV3BtxPP+TliohoFgl8+Ttq9q/Zucub2bD1AmFyaoZJfm+evn/md5f qWOfH1tK5y8An9mcBtt12YdO3A0XEIviEeGr0NBuZACrHpjUzOMEQFSx2s0l37Jea7 dClY+ljiBoRr8ICwLsJmONYVU63Tq8XxNby/CX8FpHljiILWo/wMmq/JYhmKCkoUwu 4J4+4vVaxs9UD28xOpe+mqQ6JRotG9M8DRBoiaovQ3Pkmh6y0lHtpdq4N+AbCKDV+z 606fklqpDXypQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MtG184JZ1z6tnL; Thu, 20 Oct 2022 07:11:56 +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: <82lepbohfc.fsf@gmail.com> References: <82sfwkknm5.fsf@gmail.com> <87y1tgnji2.fsf@localhost> <821qr6n7ue.fsf@gmail.com> <871qr6r7op.fsf@localhost> <82zgdsno6w.fsf@gmail.com> <87a65sazch.fsf@localhost> <82lepbohfc.fsf@gmail.com> Date: Thu, 20 Oct 2022 05:12:39 +0000 Message-ID: <871qr39iyg.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=1666242767; 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=Wl9bjkJYRFZ9R7BiKjXtUvpYVK6ROth+eTRD1p0KofU=; b=HvUYot8x3RJYpthuCk0XB45R/AwycSpsp2HBCw9JuU7trIecs3J2xjxSGgdws+eo+h1Vpa 81zNx+q+vNwzH8VAP8MKnosOmdCozZXON/ECYTxnQ3P3jN68GYSc8uNSGRWtUZcqmXfpRl SqelD9TjWVRHfC2ufX9qTlmg6tNwD2IgCulTHZ9lNbqDllQfQQybt7N5jxtTnI6CEQg+0a qX9Nb8vC/E1HeQJSCF/9qjMII9lToSNvDTKG17Moq6EQi0MiX8tIKWh9fHt7uW45EsN9gW cbO1dX81X7WUps1li8sQAdJzfG/h57+uqy2DE/FAJhsRqkTnQJJiLivGbtKx2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666242767; a=rsa-sha256; cv=none; b=KHDJjxcpQzrr2OdGfUBXjnC+Bj3TPQIUND+98WbB12nt56dKS4xCtlM98mhwSufOP5eg2A 2v2f2Ru9cV4siW7DJ1EFWuKLiFEEXhYvOxUn4SRBi3zduPmstjixTgZRRVfjQvtcayk9Ik duSZT449TEvCGNkWc78wLoB0OzpBqZseraUevAQdq3qL2QQbmIjVcw6gI4GecLEyy23pJk 9xx6Y5z6EPXjq0iikIlhMHIx/mAriTQicEX8XTTgQ25LGQPsMd7bb2Z+ftLLVk+frrtjIT j7b6nW+8z33bkt+7vfK1EcT5TbXQAbwKFY2gmSct1rLgwv+ght1K4DnERMZA2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=j00DYgbh; 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.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=j00DYgbh; 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: AB01745D4D X-Spam-Score: -3.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZatwS700nFRr Pascal Quesseveur writes: >>"IR" == Ihor Radchenko writes: > > IR> I think that creating a temporary file locally is excessive. > > Perhaps, but I couldn't find another way. I think we are miscommunication. What I wanted to say is that `current-time' is good enough if we export to local file. The whole route with creating temporary file and getting its attributes is only needed in remote directory. > IR> You could guard the logic behind `file-remote-p'. > > FMU file-remote-p works onnly when there is a handler on path for > operation file-remote-p, which is not true in the general > case. Otherwise that function returns nil. If file-remote-p does not work, I doubt that we can export to that directory at all. > OTOH it is possible to reserve the creation of a temporary file only > when the file is not already present. It is also an option. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at