From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Preventing RESULTS from being formatted as org table [ob-awk] Date: Sun, 12 Jun 2016 09:29:08 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCB4d-0000OT-Gl for emacs-orgmode@gnu.org; Sun, 12 Jun 2016 15:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCB4Z-0005mQ-As for emacs-orgmode@gnu.org; Sun, 12 Jun 2016 15:29:30 -0400 Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:33285) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1bCB4Z-0005mA-3N for emacs-orgmode@gnu.org; Sun, 12 Jun 2016 15:29:27 -0400 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Kaushal Modi Cc: emacs-org list , eschulte@cs.unm.edu Aloha Kaushal, Kaushal Modi writes: > On Sun, Jun 12, 2016 at 2:22 PM Thomas S. Dye 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