From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GNhdG1vP6WU2MgEAe85BDQ:P1 (envelope-from ) for ; Thu, 07 Mar 2024 15:29:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GNhdG1vP6WU2MgEAe85BDQ (envelope-from ) for ; Thu, 07 Mar 2024 15:29:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polytechnique.org header.s=svoboda header.b="PO/cMBbz"; 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"; dmarc=pass (policy=none) header.from=polytechnique.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709821787; 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=ZG9tix5y0L6qqj0DMsBsnVrs/CJRPEFX/ra6/6Y0nAI=; b=mAJ5VNl7/wnRF0sjrIlaeRMCGq7AfLTl2f39Ek5s9tgRTNdCBHfZgQXaMBx1bIfpAWC18E AmMmDADe2yu+Vi8t6+JKEtBgWvpkuVELFvfMOYQryeTL4r43tCB7MxW+xXoX8SyD1CN0NJ FA+B5XCI43XxZgbRXcgBKRfjelZ0Nq9jovy6/NvTmX+ZWT0lwnhx5qFYqG5uoZUng9/Vut UfXd3yvPTL1tfsPOwNQ1lNPBSApeLOmqTV6iv6xsUqBHi2GrIYMztAjbHr70WBP6w+FPEI /Z7lN3J6t2hmK2s+PK748Zbjj7UEAjNH//dnUcUVr8swidpkvQjKteaYtbKm4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=polytechnique.org header.s=svoboda header.b="PO/cMBbz"; 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"; dmarc=pass (policy=none) header.from=polytechnique.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709821787; a=rsa-sha256; cv=none; b=UdtMpJH2hbXIxKznrpc2//siikf1ZsAXd0l1osHea/yxqPFdrq6SZNIsRow7hAiMFdb+KZ 0USArE09pAdYvoqLK/qgq+G66KfMOQaSMb5zrIpg2soBjrVcW/xvOF2s6WufwyjkG6b0qW 0RXgicKOUic3Z+iUC+C1dvJN88EqdSGtqUaOQx8FE0BSj7jThN/C1qMnXvaiNU7pyIhGJQ C+0hTDQwmyjqqu7VqC4YWxS62tMH1NfWeRMkFT7YibObhFIUv/NQMblxIjw+tGZYEdgNX4 DKQLggMl4P+VgBs4xQKHxYunLwfRLAexXcWo0Is5B/Dm99/siv6ll35ooTG6Mw== 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 2D772643B6 for ; Thu, 7 Mar 2024 15:29:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riEjm-0001dA-1f; Thu, 07 Mar 2024 09:28:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riEjg-0001ca-Fy for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 09:28:41 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riEje-0005ZR-7A for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 09:28:40 -0500 Received: from mac-03220211.irisa.fr (mac-03220211.irisa.fr [131.254.21.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 53DA85612D3; Thu, 7 Mar 2024 15:28:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=polytechnique.org; s=svoboda; t=1709821714; bh=ZG9tix5y0L6qqj0DMsBsnVrs/CJRPEFX/ra6/6Y0nAI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID; b=PO/cMBbzq9CqttnI7kPjcHsfWWrIGOcfYdrT9d3znfoWkJvwuBxd1gikEBAd0c7dG nc99M2JUB0PTZQN+LPZrf22kmRnHPER0Xe3LIkREuWBqu9CHQtfMm425kQ+dHP8aZp 6m/DeyjNOcp9za8bMlCfS9z5J2CWfzpcrRwYhAUU= From: Alan Schmitt To: Ihor Radchenko Cc: emacs-orgmode Subject: Re: cannot export asynchronously because of org-fold-core--update-buffer-folds In-Reply-To: <874jdiz0ck.fsf@localhost> References: <874jdiz0ck.fsf@localhost> Date: Thu, 07 Mar 2024 15:28:33 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Thu Mar 7 15:28:34 2024 +0100 (CET)) X-Org-Mail: alan.schmitt.1995@polytechnique.org Received-SPF: pass client-ip=129.104.30.34; envelope-from=SRS0=vgR6=KN=polytechnique.org=alan.schmitt@bounces.m4x.org; helo=mx1.polytechnique.org X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -13.27 X-Spam-Score: -13.27 X-Migadu-Queue-Id: 2D772643B6 X-Migadu-Scanner: mx13.migadu.com X-TUID: BqUYgqRx9k/o --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2024-03-07 12:35, Ihor Radchenko writes: > Alan Schmitt writes: > >> I=E2=80=99m trying to export a file asynchronously to beamer/pdf, and I = have a >> strange error. Here is the contents of the *Org Export Process* buffer: >> >> Debugger entered--Lisp error: (void-function org-fold-core--update-buffe= r-folds) >> ... >> To make sure I have a reproducible export, I set >> org-export-async-init-file to a file with the following contents: >> ... >> (require 'ox-latex) >> ... >> I assume the problem is that there is a version mismatch between the org > > Yes, looks like it. If you are using custom > `org-export-async-init-file', you need to make sure that Org mode > available to that init file has the same version as the Org mode that > initiates export process. Basically, you need to set the right > load-path. Thank you, I can confirm that this fixes it. >> I=E2=80=99m using to start the export and the org in the async process, = but I do >> not understand how they would interact. In particular, I don=E2=80=99t >> understand why there is a mention of byte-compiled code in the error >> trace. > > byte-compiled code is a function passed by Org mode to the async Emacs. > That function takes care about re-creating the right Elisp environment > inside the async process. Ah, ok, I understand better now. Thanks again! Alan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAmXpzxEfHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlx92IB/sFsLaaD7uZGKTp DyH1k2WadnaMt3tqonc+z3EnyghWWtuUsCrjPv1zWIRen92D/Aga6HRui3kEjlwk s9bUnL8FWNwXg/92LjsTcQYbm5aQsJ0eli/E1h/7HVSmDixlSPl9iBpt5ZnGjxPS iADWBPzl1d8FeH+5lvM1LKO4MFpo3mLGMhC3CchzrS8EKc82q9fl9h5nZDKTMEgL zm9UKR6Bta517xf7jdi+Ll7oOMhjPyOeFq/S2KmCfvDq5ZkAjFyMluYttKbZfLKH JSt8kYmq1ntIOU9r4FJLmmxz9shKSKJ3cBCdW5nZ51sog2ULAdVOcXJoWxpJC4DL t8G5VmUw =UkgO -----END PGP SIGNATURE----- --=-=-=--