Bastien <b...@altern.org> writes: Hi Bastien,
> Yes, I've seen this error too sometimes and it was not easy > to fix when I tried to. > > Can you share the minimal code block to reproduce? ,------------------------------------------ | * org-src.el bug MWE | | #+begin_src picolisp :results output html | (+ 3 5) | #+end_src | | #+results: | #+BEGIN_HTML | #+END_HTML `------------------------------------------ ,---------------------------------------------------------------------- | executing Picolisp code block... | executing Picolisp source code block | Wrote /tmp/babel-81734R/input-817F22 | org-escape-code-in-region: Invalid search bound (wrong side of point) `---------------------------------------------------------------------- I discovered this with a much more complicated code block, but with some (not really successfull) debugging I found out that the problem is simply an empty result string, i.e. this happens when 'results' is '""'. So its easy to reproduce with any expression that doesn't produce output. -- cheers, Thorsten