From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Exporting org-mode source Date: Thu, 08 May 2014 10:07:12 +0200 Message-ID: <86ha50k827.fsf@somewhere.org> References: <1E931AAE-1737-4705-80F2-E9672C85BCDC@agrarianresearch.org> <86zjizwdgh.fsf@somewhere.org> <94E8688E-2E2B-4FDB-A612-61FD3B671DA3@agrarianresearch.org> <39AAFCF6-69E7-470F-BE8E-93433AD8EF30@agrarianresearch.org> <4748A59A-F023-40CA-B783-D5253AC96330@agrarianresearch.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Vikas Rawal wrote: > On 04-May-2014, at 11:46 am, Han Fan wrote: >> Fletcher Charest writes: >>>=20 >>> Sorry if I misunderstood... If you create an Org source block like >>> this with nothing inside: >>>=20 >>> #+begin_src org >>>=20 >>> #+end_src >>>=20 >>> ...then, with your cursor inside, enter it with C-c ', write your >>> org tree, and validate with C-c ' again, then export... Does it do >>> what you want? >=20 > This is what works for me > > #+begin_src org :exports code > > #+end_src > > It does not work without ":exports code=E2=80=9D I don't understand that, as ":exports code" is the default for Org code blocks, as shown by: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 org-babel-default-header-args:org is a variable defined in `ob-= org.el'. =E2=94=82 Its value is ((:results . "raw silent") (:exports . "code")) =E2=94=82 =E2=94=82 Documentation: =E2=94=82 Default arguments for evaluating a org source block. =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Best regards, Seb --=20 Sebastien Vauban