emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Commas in org source blocks
Date: Tue, 25 Jan 2011 15:39:53 -0500	[thread overview]
Message-ID: <AANLkTikNh8BoP_cZM0MDrPFSVKVnfLP4QLZ=EKGT55CS@mail.gmail.com> (raw)
In-Reply-To: <8739og6aje.fsf@gmail.com>

On Tue, Jan 25, 2011 at 2:36 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
> 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, this is the intended behavior.  The commas protect your enclosing
> 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!

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

  reply	other threads:[~2011-01-25 20:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 18:52 Commas in org source blocks Jeff Horn
2011-01-25 19:36 ` Eric Schulte
2011-01-25 20:39   ` Jeff Horn [this message]
2011-01-25 21:32     ` Eric Schulte
2011-01-25 22:00       ` Jeff Horn
2011-01-26  1:48         ` Eric Schulte
2011-01-26  2:21           ` Jeff Horn

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='AANLkTikNh8BoP_cZM0MDrPFSVKVnfLP4QLZ=EKGT55CS@mail.gmail.com' \
    --to=jrhorn424@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /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).