On Thu 12 Oct 2023 at 15:29, Ihor Radchenko <yanta...@posteo.net> wrote:
> > I recommend trying to shrink the problematic file to the smallest possible. > Then, try with emacs -Q. If cannot reproduce, you can use > https://github.com/Malabarba/elisp-bug-hunter to bisect the config > quickly. Thanks Ihor! I found out that there was (likely) an encoding issue on one of the source block. I had something like: :PROPERTIES: :ID: some-id :END: #+being_src emacs-lisp And trying to evaluate (org-babel-get-src-block-info 'no-eval) at the beginning of the source block was returning nil (as if I were outside of it). Just adding a newline manually removed the issue, so I guessed there was some special character there (which is weird, but I cannot be sure of my copy pasting). Sorry for the noise and thanks for your suggestions, they were useful in debugging my issue. Best, Andrea