From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8L+9I/yz6WVJBAAAqHPOHw:P1 (envelope-from ) for ; Thu, 07 Mar 2024 13:33:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8L+9I/yz6WVJBAAAqHPOHw (envelope-from ) for ; Thu, 07 Mar 2024 13:33:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SyzX4cDD; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709814780; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LedG0Phes3fcbDMEmv0JFMwm0oZJ/2vEhcQCpXcqp5M=; b=mo4B+YQRYc4324/I/AAc4MWu2F6v+/J1x/WEZJI2SHTX3bxkFxXhaeIVAzENeFRC9wyGmU Lpi8PjeJBazUtOIktOVfn+7c8zc+dTZ5MIoa3t7NfwV3fNZoa3M22x/folJr6w/EUw93A4 FP3QDoV2Cf6ka7bE2PQRkuCJCzDt7PG9jIuhZxI7Rldo0vFUeTsV9HqMhVPPMGRmZTjiCD vofT+Rmu1qs9PCbxzRJZ/Pj8RJEfj8QStbLeT5M8mc7afMnInGnQvyIMT1p+r88/lOy8gB v8GtHJ3pZTOvIRvRoE5aDz3sg+Z1UapZcNT05ZNkmnK+pyTiPlDiQx5aDmfbvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709814780; a=rsa-sha256; cv=none; b=KkiCrpGjGSrxG5RFEN/ROA3faCgvijBdwkxc00yO5w8CtaZAWpanv0ERbZJCZawTmHrZnV /7zYKYtmdfdVFv70tiryr3JLM6+GmnX2GCrH1y5jwE5I+cXH14tNZJG9OeusICWxxq3RBt WEBlDPB3ClIboXnQKKKotW/0vS9PDTilDgcvjazci7O89kfBZqZzvBWJJfcsG9EN3xhoXR nLfzpukg3ftdQdr3xnTHPc4buWpmDMD6bRyK4/2UOZOMq6+XbEyqpHqoL0MG8NjHrSPcLo CckgH9hxnbXQxz/tLZFklyYUrMGWI7PPzyeyzZamccbi2UBtYJZru+uE6Xpf4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SyzX4cDD; 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=posteo.net 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 40FCC3C2EB for ; Thu, 7 Mar 2024 13:33:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riCuh-0008C6-Qz; Thu, 07 Mar 2024 07:31:57 -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 1riCtw-0007vG-Ma for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 07:31:09 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riCts-0005XD-KF for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 07:31:08 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 142F2240028 for ; Thu, 7 Mar 2024 13:31:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709814662; bh=LedG0Phes3fcbDMEmv0JFMwm0oZJ/2vEhcQCpXcqp5M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=SyzX4cDDCdAen223mR870E0PG5dr3pjbn3lAbMe0ND1xTbaTwxcmv8DLtapbvSvx7 mfyIEUjCHxHR8wTX12zouwZh+t2AA9PNKJHU5ibRN/j9hxu8mY/pQBKtogqo12ZVon aVBKOKpS31VAT8lR0rNALpRM1RWpUyGilxxdZk4w0f/APQfFiZaq4xcR4H7Kr7tBC9 HP/KPZVb+zBf8rEvJVNlNgRAa6JyMEYQNJBecF9FjhMUYqF3Zj79P5bYNl4lsED/3I KgXw4BXdunNUETkbKoBzO0i9E12WucfcpmUgGXpvXc9q5KIUJcdE+buuprtOMUHeyN FuS4KBae/HKIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tr7v92SGcz6ty9; Thu, 7 Mar 2024 13:31:00 +0100 (CET) From: Ihor Radchenko To: Alan Schmitt Cc: emacs-orgmode Subject: Re: cannot export asynchronously because of org-fold-core--update-buffer-folds In-Reply-To: References: Date: Thu, 07 Mar 2024 12:35:07 +0000 Message-ID: <874jdiz0ck.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: -7.18 X-Spam-Score: -7.18 X-Migadu-Queue-Id: 40FCC3C2EB X-Migadu-Scanner: mx11.migadu.com X-TUID: 6M+PcxEsKbFc Alan Schmitt writes: > I=E2=80=99m trying to export a file asynchronously to beamer/pdf, and I h= ave a > strange error. Here is the contents of the *Org Export Process* buffer: > > Debugger entered--Lisp error: (void-function org-fold-core--update-buffer= -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. > I=E2=80=99m using to start the export and the org in the async process, b= ut 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. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at