That seems to fix the problem, thanks Ihor! (Probably irrelevent: The actual patch file did not work for me. Rather, > git apply 00...patch errored "the patch does not apply", with .rej files showing ? at end of each line. But copying the diffs by hand into org files worked.)
On Sun, Feb 23, 2025 at 9:17 PM Ihor Radchenko <yanta...@posteo.net> wrote: > Benjamin McMillan <mcmilla...@gmail.com> writes: > > > The org export backend is complicated compared to my debugging skills, > but > > I have been able to determin the following. > > 1) The issue happens because of poly-org. > > 2) It happens with -q and a minimal configuration (org + poly-org in > init). > > 3) It happens even exporting a minimal org file, like a heading "test" > and > > the text "a" > > 4) It only happens with org-export-in-background t > > 5) With org-export-async-debug t the error given in *Org Export Process* > is > > like: > > Invalid read syntax: "#<", 6, 407 > > ... > > Thanks for reporting! > Does the attached patch fix your problem? > > > -- > Ihor Radchenko // yantar92, > Org mode maintainer, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92> >