From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Org-babel `:hlines yes` no longer working for python Date: Sat, 26 Jun 2010 09:20:04 -0500 Message-ID: <87k4pl27vv.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=34407 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSWEd-000864-QA for emacs-orgmode@gnu.org; Sat, 26 Jun 2010 10:19:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSWEc-0004VS-J3 for emacs-orgmode@gnu.org; Sat, 26 Jun 2010 10:19:55 -0400 Received: from li28-75.members.linode.com ([75.127.72.75]:44916) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSWEc-0004VI-G5 for emacs-orgmode@gnu.org; Sat, 26 Jun 2010 10:19:54 -0400 Received: from grumps (localhost [127.0.0.1]) by li28-75.members.linode.com (Postfix) with ESMTP id 2BC31C797 for ; Sat, 26 Jun 2010 14:19:53 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 "", line 6, in File "", 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