From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Commas in org source blocks Date: Tue, 25 Jan 2011 14:32:58 -0700 Message-ID: <87sjwg4pm1.fsf@gmail.com> References: <8739og6aje.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=34080 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhqpU-0000xf-H7 for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 16:53:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhqpT-0002xO-93 for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 16:53:36 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:52842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhqpS-0002xI-VL for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 16:53:35 -0500 Received: by iyj17 with SMTP id 17so6700622iyj.0 for ; Tue, 25 Jan 2011 13:53:34 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jeff Horn Cc: Org-mode ml Jeff Horn writes: > On Tue, Jan 25, 2011 at 2:36 PM, Eric Schulte wr= ote: >> There is support for Org code blocks, evaluation will generally result >> in returning a modified (possibly exported) version of the code block >> body. > > OK. When I evaluated the block, I got an error about "no function" > being defined for org export. I might need to require babel in my init > file to get it to trigger the autoloads. Could there be another issue? > yes, you will need to add org-mode to you list of supported languages along the directions in http://orgmode.org/manual/Languages.html I'll update the manual to reflect org-mode as a valid language. > >> Yes, this is the intended behavior. =C2=A0The commas protect your enclos= ing >> source file from markup embedded in the org code block, otherwise a >> top-level headline in the body of a code block could break outline >> folding for the containing org file. > > Thanks. I haven't used babel much until recently, so thanks for your > patience and helpful response!