[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug in org-src.el?
From: |
Thorsten Jolitz |
Subject: |
Re: [O] Bug in org-src.el? |
Date: |
Tue, 12 Feb 2013 17:19:56 +0100 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) |
Bastien <address@hidden> 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