From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [BUG] 'Args out of range' when exporting with reboxes Date: Tue, 08 Apr 2014 19:22:20 +0200 Message-ID: <8738hnybw3.fsf@gmail.com> References: <87d2gs1a6r.fsf@gmail.com> <87r457vjoc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXZhz-0001bt-1W for emacs-orgmode@gnu.org; Tue, 08 Apr 2014 13:21:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXZhr-0006LJ-8z for emacs-orgmode@gnu.org; Tue, 08 Apr 2014 13:21:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:54558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXZhr-0006L2-1x for emacs-orgmode@gnu.org; Tue, 08 Apr 2014 13:21:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WXZhp-0003bO-IM for emacs-orgmode@gnu.org; Tue, 08 Apr 2014 19:21:05 +0200 Received: from g231233202.adsl.alicedsl.de ([92.231.233.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Apr 2014 19:21:05 +0200 Received: from tjolitz by g231233202.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Apr 2014 19:21:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Thorsten Jolitz writes: > >> 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: > > The following line > > | org-element--parse-objects: Args out of range: 315, 316 > > is a table row in Org syntax, so it will not be exported as you expect > it to. However, it shouldn't return an error. I fixed it. > > Thank you for your report. #+begin_src emacs-lisp (call-interactively 'org-version) #+end_src #+results: : Org-mode version 8.2.5h (release_8.2.5h-890-gdfcfca @ /usr/share/emacs/24.3/lisp/org/lisp/) ,---------------------- | lets see what happens `---------------------- ,---------- | several | important | lines | here `---------- #+begin_src emacs-lisp :results value replace (org-export-as 'ascii) #+end_src #+results: _________________ Thorsten Jolitz _________________ 1 --text follows this line-- ============================ Nicolas Goaziou writes: > Hello, Thorsten Jolitz writes: > 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: The >following line | org-element--parse-objects: Args out of range: 315, >316 is a table row in Org syntax, so it will not be exported as you >expect it to. However, it shouldn't return an error. I fixed it. >Thank you for your report. ,---- | (call-interactively 'org-version) `---- ,---------------------- lets see what happens `---------------------- ,---------- several important lines here `---------- ,---- | (org-export-as 'ascii) `---- [...] -- cheers, Thorsten Almost perfect. I think the missing "|" of the reboxes in the export spoil the looks a bit, but at least they signal a difference to the exported code or example blocks, otherwise everything would look the same. Thanks for fixing. -- cheers, Thorsten