From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: [ANN] Convert Org-mode file to Source-code file Date: Thu, 20 Jun 2013 18:17:12 +0000 (UTC) Message-ID: References: <87wqppbpmk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjQP-0000bh-Eu for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 14:17:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpjQL-0005Hd-Ju for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 14:17:37 -0400 Received: from plane.gmane.org ([80.91.229.3]:44398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpjQL-0005HU-Bt for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 14:17:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UpjQI-0008UC-FK for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 20:17:30 +0200 Received: from 169.228.154.201 ([169.228.154.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jun 2013 20:17:30 +0200 Received: from ccberry by 169.228.154.201 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jun 2013 20:17:30 +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 Thorsten Jolitz gmail.com> writes: > > Hi List, > > it is now possible to convert existing Org-mode files with source-blocks into > machine-executable source-code files, using the following function from > `outorg.el': > > #+begin_src emacs-lisp > (defun outorg-convert-org-file-to-source-code > (&optional mode infile outfile BATCH) With this buffer ,---- | | | * head1 | | abc | | | #+NAME: test-src | #+BEGIN_SRC R | ls() | #+END_SRC `---- it fails with Debugger entered--Lisp error: (void-variable outorg-code-buffer-beg-of-subtree-marker) (set-marker outorg-code-buffer-beg-of-subtree-marker nil) outorg-reset-global-vars() outorg-copy-edits-and-exit() ... in the backtrace. The tmp buffer looks right, though ,---- | | | ## * head1 | | ## abc | | | ## #+NAME: test-src | ls() `---- HTH, Chuck