From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: :colnames behavior Date: Fri, 05 Dec 2014 12:34:58 -0500 Message-ID: <87ppbyt2yl.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwmt-0001qD-Ne for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 12:35:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xwwml-0001a4-Tt for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 12:35:27 -0500 Received: from plane.gmane.org ([80.91.229.3]:51338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwml-0001Yw-OB for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 12:35:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xwwmg-0007cp-CN for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 18:35:14 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Dec 2014 18:35:14 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Dec 2014 18:35:14 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org In this example, setting :colnames to no produces column names in the evaluated result - setting it to yes (or defaulting to nil) takes out the column names. That seems to be the opposite of what is intended - it also contradicts the manual[fn:1] afaict. --8<---------------cut here---------------start------------->8--- #+name: foo | a | b | |---+---| | 1 | 1 | | 2 | 2 | | 3 | 3 | #+BEGIN_SRC elisp :var tbl=foo :results drawer :colnames no (orgtbl-to-tsv tbl nil) #+END_SRC #+RESULTS: :RESULTS: a b 1 1 2 2 3 3 :END: --8<---------------cut here---------------end--------------->8--- Org-mode version 8.3beta (release_8.3beta-613-g40a5b7) Footnotes: [fn:1] (info "(org) colnames") -- Nick