[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Commas in org source blocks

From: Eric Schulte
Subject: Re: [Orgmode] Commas in org source blocks
Date: Tue, 25 Jan 2011 12:36:05 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Jeff Horn <address@hidden> writes:

> The manual doesn't make explicit mention of org as a Babel source
> language. Well, it isn't listed in the supported languages, and an
> "org mode org source block" site search via Google didn't turn up the
> info I'm looking for.

There is support for Org code blocks, evaluation will generally result
in returning a modified (possibly exported) version of the code block

> Basically, I tried using example blocks for a table I wrote, but noted
> that the key commands for org tables didn't work in the indirect
> buffer. Of course, I switched the example block to a source block, and
> specified "org" as the language.
> After editing in the indirect buffer, there are commas prepended to
> each line in the orignal buffer. These are not in the indirect buffer.
> Is this the intended behavior? See screenshot for reference.
>     http://cl.ly/4C7P

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.

Best -- Eric


reply via email to

[Prev in Thread] Current Thread [Next in Thread]