emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] 'Args out of range' when exporting with reboxes
Date: Tue, 08 Apr 2014 10:45:32 +0200	[thread overview]
Message-ID: <87d2gs1a6r.fsf@gmail.com> (raw)


Hi List,

I like to use rebox2 and put boxes in emails and source-file
comment-sections, but when I use outorg on such an message-mode or elisp
buffer and try to export it, I always get 'Args out of range' errors:

 ,,--------------------------------------------------------
 ,| org-element--parse-objects: Args out of range: 315, 316
 ,`--------------------------------------------------------

I have to add commas in front to make export work, but this does not
look that nice anymore in the original buffer.

E.g. evaluating the following block in outorg works only after adding
the commas to the rebox above, and the output does not look that great
either.

#+begin_src emacs-lisp :results value replace
 (org-export-as 'ascii) 
#+end_src

#+results:
			   _________________

				  697

			    Thorsten Jolitz
			   _________________


Table of Contents
_________________

1 --text follows this line--


1 --text follows this line--
============================

  Hi List,

  I like to use rebox2 and put boxes like this in emails or source-file
  comment-sections, but when I use outorg on such an message-mode or
  elisp buffer and try to export it, I always get 'Args out of range'
  errors:

  ,,-------------------------------------------------------- ,|
  org-element--parse-objects: Args out of range: 315, 316
  ,`--------------------------------------------------------

  I have to add commas in front to make export work, but this does not
  look nice anymore in the original buffer.

  E.g. evaluating this block in outorg works only after adding the
  commas to the rebox above, and the output does not look that great
  either.

  ,----
  | (org-export-as 'ascii)
  `----

  -- cheers, Thorsten

-- 
cheers,
Thorsten

             reply	other threads:[~2014-04-08  8:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08  8:45 Thorsten Jolitz [this message]
2014-04-08 17:02 ` [BUG] 'Args out of range' when exporting with reboxes Nicolas Goaziou
2014-04-08 17:22   ` Thorsten Jolitz

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=87d2gs1a6r.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).