Mark Barton <mbarto...@gmail.com> writes:
> On Aug 2, 2022, at 6:58 AM, Darren Syzling <dsyzl...@gmail.com> wrote: > > If I execute the code in the editor the org-mode table appears in the > results. If I export to html or pdf I get the error: > org-babel-insert-result: Wrong type argument: markerp, nil. > > I also am experiencing this error. > Org mode version 9.5.4 (release_9.5.4-17-g6e991f @ > /Applications/Emacs.app/Contents/Resources/lisp/org/) > GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.5.0, NS appkit-2113.50 > Version 12.4 (Build 21F79)) of 2022-08-01 > > In order to export the pdf, I evaluated the following to disable having the > export execute the src blocks and just manually > ran them to have the updated results inserted into the org file. > (setq org-export-use-babel nil) > > The last time I exported that document successfully was 2022-05-10. > Note that a bug was recently found in Emacs 29 relating to byte compilation which was generating this error. Apparently it also causes problems with backwards compatibility of *.elc files. Not sure if it has been fixed in Emacs master yet, but my recommendation would be to do a git pull for Emacs, followed by a make extraclean, ./autogent.sh, ./configure and make and then a rebuild of any additional packages you have installed.