* :colnames behavior
@ 2014-12-05 17:34 Nick Dokos
0 siblings, 0 replies; only message in thread
From: Nick Dokos @ 2014-12-05 17:34 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-05 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05 17:34 :colnames behavior Nick Dokos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.