emacs-orgmode
[Top][All Lists]
Advanced

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

[O] :colnames behavior


From: Nick Dokos
Subject: [O] :colnames behavior
Date: Fri, 05 Dec 2014 12:34:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

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





reply via email to

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