Re: [O] Bug: python babel does not support hlines as mentioned in docs

2012-10-30 Thread Eric Schulte
Lennart Fricke writes: > It is not exactly a missing value. The list looks like > ((v,v),None,(v,v)). v for value. > Missing values are rather like ((v,v),(None,None),(v,v)). > At the moment i can not think of a use case of controlling this translation. > But i have to dig deeper in the translati

Re: [O] Bug: python babel does not support hlines as mentioned in docs

2012-10-30 Thread Lennart Fricke
It is not exactly a missing value. The list looks like ((v,v),None,(v,v)). v for value. Missing values are rather like ((v,v),(None,None),(v,v)). At the moment i can not think of a use case of controlling this translation. But i have to dig deeper in the translation process of the nested list to

Re: [O] Bug: python babel does not support hlines as mentioned in docs

2012-10-30 Thread Eric Schulte
Perhaps it would be better to provide two customization variables, e.g., ;; -*- emacs-lisp -*- (defcustom org-babel-python-hline-to "None" "Replace hlines in incoming tables with this when translating to python.") (defcustom org-babel-python-None-to "'hline" "Replace 'None

Re: [O] Bug: python babel does not support hlines as mentioned in docs

2012-10-29 Thread Lennart Fricke
This patch makes None being treated as hline again. Best regards Lennart Fricke diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 71adf73..a1f834f 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -123,7 +123,11 @@ specifying a variable of the same value." "Convert RESULTS into

[O] Bug: python babel does not support hlines as mentioned in docs [7.9.2 (release_7.9.2-499-ga29de0 @ /home/lennart/.emacs.d/site-lisp/org/lisp/)]

2012-10-29 Thread Lennart Fricke
Hello, The following block exits with error: orgtbl-format-line: Wrong type argument: sequencep, None #+TBLNAME: many-cols | a | b | c | |---+---+---| | d | e | f | |---+---+---| | g | h | i | #+NAME: echo-table #+BEGIN_SRC python :var tab=many-cols :hlines yes return tab #+END_SRC I