all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org-babel `:hlines yes` no longer working for python
@ 2010-06-26 14:20 Christopher Allan Webber
  2010-06-26 17:08 ` Eric Schulte
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher Allan Webber @ 2010-06-26 14:20 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

I was going through the tutorial and testing the :hlines yes feature as
described in the info manual.  Unfortunately, the example given no
longer seems to work for python:

#+tblname: many-cols
| a | b | c |
|---+---+---|
| d | e | f |
|---+---+---|
| g | h | i |

#+source: echo-table
#+begin_src python :var tab=many-cols :hlines yes
  return tab
#+end_src

#+results: echo-table
| a | b | c |
| d | e | f |
| g | h | i |

In the buffer *Org-Babel Error Output* I see:

Traceback (most recent call last):
  File "<stdin>", line 6, in <module>
  File "<stdin>", line 3, in main
NameError: global name 'hline' is not defined

In emacs-lisp this still seems to work though.  But I also see that in
emacs lisp hlines are represented by the hline symbol.  I'm guessing
that the python equivalent was trying to do the same thing, but no hline
variable exists in python?

Thanks!
 - cwebb

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-06-28 18:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-26 14:20 Org-babel `:hlines yes` no longer working for python Christopher Allan Webber
2010-06-26 17:08 ` Eric Schulte
2010-06-26 20:12   ` Christopher Allan Webber
2010-06-26 20:45     ` Eric Schulte
2010-06-27  1:59       ` Christopher Allan Webber
2010-06-27 23:43         ` Eric Schulte
2010-06-28 17:53           ` Christopher Allan Webber
2010-06-28 18:17             ` Eric Schulte
2010-06-28 18:58               ` Christopher Allan Webber

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.