emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Michael Gauland <mikelygee@no8wireless.co.nz>,
	schulte eric <schulte.eric@gmail.com>
Cc: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Error exporting empty results block
Date: Sat, 29 Dec 2012 14:32:00 +0100	[thread overview]
Message-ID: <87sj6pf0hb.fsf@bzg.ath.cx> (raw)
In-Reply-To: <50D91684.6010108@no8wireless.co.nz> (Michael Gauland's message of "Tue, 25 Dec 2012 15:59:16 +1300")

Hi Michael,

Michael Gauland <mikelygee@no8wireless.co.nz> writes:

> org-escape-code-in-region produces an 'Invalid search bound (wrong side
> of point)' error when exporting a block that produces an empty wrapped
> block. For example:
>
>   #+BEGIN_SRC emacs-lisp :wrap fundamental :exports both
>   (setq x nil)
>   #+END_SRC
>
> I'm exporting an empty block because I want the side effect of executing
> the block. I have a large number of other blocks that produce non-empty
> results, and I'm using a global :wrap setting for those.
>
> Any suggestions on solving this would be appreciated.

I confirm this bug.  I cc Eric so that he can have a look
(I did have a look but the fix is not straightforward and
I'm less familiar with this part of the code than Eric.)

Thanks for reporting this,

-- 
 Bastien

      reply	other threads:[~2012-12-29 13:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-25  2:59 Error exporting empty results block Michael Gauland
2012-12-29 13:32 ` Bastien [this message]

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=87sj6pf0hb.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mikelygee@no8wireless.co.nz \
    --cc=schulte.eric@gmail.com \
    /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).