> From: Antero Mejr <m...@antr.me>
> Date: Wed, 18 Jun 2025 03:31:17 +0000
> 
> When exporting this Org buffer with org-html-export-to-html:
> 
> #+begin_src emacs-lisp :exports results
>   (org-table-convert-region
>    (point)
>    (+ (point) (cadr (insert-file-contents "my-table.csv"))))
> #+end_src
> 
> The export operation fails with a type error:
> 
> org-babel-execute-src-block: Wrong type argument: integer-or-marker-p, nil
> 
> The expected behavior is that the converted table will be inserted into
> the document and exported by the backend.
> 
> While trying to debug this, I noticed that when
> org-babel-execute-src-block is executed with the cursor inside the
> #+begin_src block, the snippet runs and inserts the text content as
> expected. However, when org-babel-execute-src-block is run with the
> cursor just before the #+begin_src block, the same type error occurs.
> That was also unexpected.

Thanks, but please report this to the Org developers first.

Reply via email to