GNU bug report logs - #78823
[BUG] 31.0.50; org-babel-execute-src-block: Wrong type argument: integer-or-marker-p, nil

Previous Next

Package: emacs;

Reported by: Antero Mejr <mail <at> antr.me>

Date: Wed, 18 Jun 2025 03:32:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 78823 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Antero Mejr <mail <at> antr.me>
Cc: 78823 <at> debbugs.gnu.org, emacs-orgmode <at> gnu.org
Subject: Re: bug#78823: [BUG] 31.0.50;
 org-babel-execute-src-block: Wrong type argument:
 integer-or-marker-p, nil
Date: Wed, 18 Jun 2025 14:58:44 +0300
> From: Antero Mejr <mail <at> 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.




This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.