emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug in org-src.el?
Date: Tue, 12 Feb 2013 17:19:56 +0100	[thread overview]
Message-ID: <87y5et5wsz.fsf@gmail.com> (raw)
In-Reply-To: 87y5euhp9r.fsf@bzg.ath.cx

Bastien <bzg@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

  reply	other threads:[~2013-02-12 16:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 14:55 Bug in org-src.el? Thorsten Jolitz
2013-02-11 14:45 ` Bastien
2013-02-12 16:19   ` Thorsten Jolitz [this message]
2013-02-12 16:49     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5et5wsz.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).