emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Michael Baum <maabaum@gmail.com>
Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org
Subject: Re: How to pass a block of text to a code block as data?
Date: Mon, 11 Feb 2013 15:07:02 -0700	[thread overview]
Message-ID: <8738x25wu1.fsf@gmail.com> (raw)
In-Reply-To: <CA+G3xFgKiGfOJUtkYVtSNjXuAU2JodHhsQGT2pSYqXjQcXy4vA@mail.gmail.com> (Michael Baum's message of "Mon, 11 Feb 2013 16:49:11 -0500")

Michael Baum <maabaum@gmail.com> writes:

> Sean, that helps too, thank you. Now that you and Sebastien have gone to
> all this trouble I found the part of the manual that sort of describes
> this, but I clearly didn't understand it before. Possible needs a more
> worked-out example for the slow among us, like self.
>

Patches are welcome, especially documentation patches.

[...]
>
> NOTICE THAT while both return the result as Example text, the first simple
> prepends each line with a colon, simple Example form, and the second wraps
> the result in an Example block without altering the lines.
>
> Not sure why? Is this just a function of the number of lines of the text?
>

Yes, this is a function of the number of lines in the output text.  You
can control where this switch is made by changing the value of
org-babel-min-lines-for-block-output.

Best,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

      reply	other threads:[~2013-02-11 22:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 17:06 How to pass a block of text to a code block as data? Michael Baum
2013-02-08 20:17 ` Sebastien Vauban
2013-02-09  2:59   ` Michael Baum
2013-02-09 18:49     ` Sean O'Halpin
2013-02-11 21:49       ` Michael Baum
2013-02-11 22:07         ` Eric Schulte [this message]

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=8738x25wu1.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=maabaum@gmail.com \
    --cc=wxhgmqzgwmuf@spammotel.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).