emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>, eschulte@cs.unm.edu
Subject: Re: Preventing RESULTS from being formatted as org table [ob-awk]
Date: Sun, 12 Jun 2016 09:29:08 -1000	[thread overview]
Message-ID: <m260tep5ob.fsf@tsdye.com> (raw)
In-Reply-To: <CAFyQvY3raDUjfCVLFs=mETaf4ys+25kpWUYsQdOme+OZ8Pih-w@mail.gmail.com>

Aloha Kaushal,

Kaushal Modi writes:

> On Sun, Jun 12, 2016 at 2:22 PM Thomas S. Dye <tsd@tsdye.com> wrote:
>
>     Aloha Kaushal,
>
>     There are four classes of :results header arguments. :results replace
>     refers to how the results are handled. :results verbatim refers to the
>     type of result returned.
>
>
> Hi Thomas,
>
> Yes, I learned that from the org info manual. But it is still confusing because
> in the "Type" subsection in "(org) results" info node, it says:
>
>> The following options are mutually exclusive and specify what type of
> results the code block will return. By default, results are inserted as
> either a table or scalar depending on their value.
>
> So what determines if the results should be table formatted or kept verbatim
> (scalar)?
> --

I think I'm correct to say that by default a single value result is
output as a scalar, and everything else is converted to an Org mode
table.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2016-06-12 19:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12  6:46 Preventing RESULTS from being formatted as org table [ob-awk] Kaushal Modi
2016-06-12  6:59 ` Kaushal Modi
2016-06-12  7:05   ` Kaushal Modi
2016-06-12 16:30     ` Kaushal Modi
2016-06-12 18:22       ` Thomas S. Dye
2016-06-12 18:41         ` Kaushal Modi
2016-06-12 19:29           ` Thomas S. Dye [this message]
2016-06-12 21:02             ` Charles C. Berry
2016-06-13 14:12               ` Kaushal Modi

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=m260tep5ob.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eschulte@cs.unm.edu \
    --cc=kaushal.modi@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).