From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qNk/B+6B6GWumgAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Mar 2024 15:47:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qNk/B+6B6GWumgAAqHPOHw (envelope-from ) for ; Wed, 06 Mar 2024 15:47:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polytechnique.org header.s=svoboda header.b=HVFEsBfi; 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=1709736430; h=from:from:sender:sender: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:dkim-signature; bh=tAx12+iZq2FGzaiE3zKlv0QqjgUup5dbt7+iMDLi83I=; b=U9BMYHpeomh9XBKxobumwe1mgh9xFZTUZrjNIkviVOTvKSB3KWFT4TPBQwEjNPzfkW1qsS yZnCYXQkuSJa9fC/VIBDoZiyT0M5So14Q4u7n8KhfhzcMGezyEic4/dUK/QmlUk0qRt+eA VMavAp5XapGXGxvBUMwH5FK54YLzH17CL7E3WFYp5L4lmTJOLUoDKZ+jMTuml4AmQP/Ipt KGszTTk0qmzi2Gbbub8MrIiWXMlAUcI00uH20vg1d9CgkuJQZHYLnFlxAebTxuIbwxjfNE 044d5WucldPI482feOPLxdTHqhZaqhxnbI4+WZu82cP6LnKefRlI6vZbh8Pv1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=polytechnique.org header.s=svoboda header.b=HVFEsBfi; 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=1709736430; a=rsa-sha256; cv=none; b=RzuSsVkSIO9JOVdeXKEr+II2ALlgU3bsD60cKnk+D/WoEMo6Uh5j+3E9wT+SwsXRqt0yHO G2W1KBQfxmJB24dhLKesD6oWii1eUrdnuZlr2e+AN6i2WNRZbKIFnVXvnphnevFzvr0MU1 RYnmvjGEZZ9x53v8roSJPDiKefoYnrpyvSS+PIpuS8yXRqklydFfBwfSsUj3OnVt2lDqLB PwsCFh/J/423C1QDKHAyd8LUsuDIZB4TXX3ABZazoeuNt8lp0RQZYVmGYn0LewersxLa7l T1a72owda7NzmfRLd5oZ3SUsEnSe6KbKh7Vqu2yRoPpCUqol3FjSU26D7FRe2w== 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 9BB0374B9C for ; Wed, 6 Mar 2024 15:47:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhsWG-000143-TF; Wed, 06 Mar 2024 09:45:20 -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 1rhsWE-0000zY-Sq for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 09:45:18 -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 1rhsWA-0002ke-R7 for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 09:45:18 -0500 Received: from TM.local (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 8B6D856123A for ; Wed, 6 Mar 2024 15:45:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=polytechnique.org; s=svoboda; t=1709736309; bh=Zvnk02r9zF8j2qhBJsr9IdtUYLZxGCfiDB1Vi1qRVHE=; h=From:To:Subject:Date:Message-ID; b=HVFEsBfiHedYNduvYu3OE194+wQbF9uP5e5xV4ytxH1kHgoYkI8siuyAgZRuzwjtT jgyjhravJh6uwGoQELj3u0SAhgP14tWmIs7OqZcseEKXMeTdTOAM/p4WcqdtB9B6Gs Iy0ZgrmyERbq35rV6fmihXlbNYcTK2qmeKY03PBw= From: Alan Schmitt To: "emacs-orgmode" Subject: cannot export asynchronously because of org-fold-core--update-buffer-folds Date: Wed, 06 Mar 2024 15:45:08 +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 (Wed Mar 6 15:45:09 2024 +0100 (CET)) X-Org-Mail: alan.schmitt.1995@polytechnique.org Received-SPF: pass client-ip=129.104.30.34; envelope-from=SRS0=dFbk=KM=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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.91 X-Spam-Score: -9.91 X-Migadu-Queue-Id: 9BB0374B9C X-TUID: sV74vAUrrujj --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I=E2=80=99m trying to export a file asynchronously to beamer/pdf, and I hav= e a strange error. Here is the contents of the *Org Export Process* buffer: Debugger entered--Lisp error: (void-function org-fold-core--update-buffer-f= olds) org-fold-core--update-buffer-folds() #f(compiled-function () #)() funcall(#f(compiled-function () #)) (progn nil (progn (setq kill-emacs-hook nil) (setq org-babel-confirm-eval= uate-answer-no t)) (require 'ox) (funcall '#f(compiled-function () #)) (restore-buffer-modified-p nil) (print (let ((outp= ut (org-export-as 'beamer nil nil nil '(:output-file "slides.tex")))) (let = ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set= -buffer temp-buffer) (unwind-protect (progn (insert output) (if ... nil ...= ) (let ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))= )) (or (condition-case nil (progn (funcall 'org-latex-compile "slides.tex")= ) (error nil)) "slides.tex")))) (unwind-protect (progn nil (progn (setq kill-emacs-hook nil) (setq org-ba= bel-confirm-evaluate-answer-no t)) (require 'ox) (funcall '#f(compiled-func= tion () #)) (restore-buffer-modified-p nil) (p= rint (let ((output (org-export-as 'beamer nil nil nil '...))) (let ((temp-b= uffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer = temp-buffer) (unwind-protect (progn ... ... ...) (and ... ...)))) (or (cond= ition-case nil (progn (funcall ... "slides.tex")) (error nil)) "slides.tex"= )))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn nil = (progn (setq kill-emacs-hook nil) (setq org-babel-confirm-evaluate-answer-n= o t)) (require 'ox) (funcall '#f(compiled-function () #)) (restore-buffer-modified-p nil) (print (let ((output (org-expor= t-as ... nil nil nil ...))) (let ((temp-buffer ...)) (save-current-buffer (= set-buffer temp-buffer) (unwind-protect ... ...))) (or (condition-case nil = (progn ...) (error nil)) "slides.tex")))) (and (buffer-name temp-buffer) (k= ill-buffer temp-buffer)))) (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buff= er (set-buffer temp-buffer) (unwind-protect (progn nil (progn (setq kill-em= acs-hook nil) (setq org-babel-confirm-evaluate-answer-no t)) (require 'ox) = (funcall '#f(compiled-function () #)) (restore= -buffer-modified-p nil) (print (let ((output ...)) (let (...) (save-current= -buffer ... ...)) (or (condition-case nil ... ...) "slides.tex")))) (and (b= uffer-name temp-buffer) (kill-buffer temp-buffer))))) load-with-code-conversion("/private/var/folders/p6/3p2365qn1dx08q33rqwnr2= hh00..." "/private/var/folders/p6/3p2365qn1dx08q33rqwnr2hh00..." nil t) command-line-1(("-l" "/Users/schmitta/work/skeletons/research/talks/Effe.= .." "-l" "/var/folders/p6/3p2365qn1dx08q33rqwnr2hh0000gn/T/o...")) command-line() normal-top-level() To make sure I have a reproducible export, I set org-export-async-init-file to a file with the following contents: ;;; export-init.el --- description -*- lexical-binding: t; -*- ;;; Commentary: ;;; Code: (setq-default indent-tabs-mode nil) (setq debug-on-error t) (require 'ox-latex) (add-to-list 'org-latex-classes '("my-beamer" "\\documentclass\[presentation,aspectratio=3D169\]\{beamer\} [NO-DEFAULT-PACKAGES]" ("\\section\{%s\}" . "\\section*\{%s\}") ("\\subsection\{%s\}" . "\\subsection*\{%s\}") ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}"))) (require 'ox-beamer) (setq org-latex-listings 'minted) (setq org-latex-pdf-process '("latexmk -pdflatex=3D'%latex --shell-escape -8bit' -pdf -quiet %f")) (setq org-export-async-debug t) (provide 'export-init) ;;; export-init.el ends here I assume the problem is that there is a version mismatch between the org 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. If it matters, the emacs with which I=E2=80=99m initializing the export wit= h is started with the --init-directory option. How can I track where this error comes from? Thanks, Alan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAmXogXQfHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlxwSHB/0fafsgTxAeOVZV RyJB/eVd8fGCpyqAdLVywEUb3/PC/qZUO2Wz9EwuY7kXDCF941DRHvtYJDUOTC2n 6CYI+hkQYJlLD7ccEgBIVGCNZxutY2AzvyvL0DZMxtw152uccBmbREumHIihs6Vt rCCOUD3/N+YJABIZTVVnBmanVNUNkQ5AOuhk5UtDxjJUeoPDYe6pRM/TyGOF+cU+ o+AnO7wpAsXyUB1PW91IdSPOf43VWBVN2yDrk+5Pr3G2BAlUFygGiFxbultRuBuQ BCA60HOvBCu0cL3QwZHCSHRRukgD+KQqA6Mc7m2nQZx5crgOVyeFMMvMIciCKMEH o/JH4FDm =oEW/ -----END PGP SIGNATURE----- --=-=-=--