On 2013-11-12 01:16, Jarmo Hurri wrote: > Eric Schulte writes: > > There are two paces to specify header arguments in a call line, the > arguments in the [] are applied to the input-table function, *not* to > the call line, so they change the inputs. The trailing header > arguments are applied to the call line. > > So there is an implicit post-processing function that takes the result > of the called block as input, and hline pruning is applied in this > function? > > I put on the table a suggestion that the default behaviour of #+CALL > w.r.t. the handling of hlines is changed from removing hlines in output > to not removing them. I am suggesting this partly because I don't > understand why the default behaviour is as it is now, and secondly > because the current behavious differs from the way hlines are handled > in > other block evaluations: This behavior is controlled globally by the value of `org-babel-default-header-args'. This is overriden by the value of `org-babel-default-header-args:{lang}' and of course, the setting on individual source blocks and call lines. As you can see from the below output, the default is =:hlines no=. Note that in versions of org-mode prior to commit 6857d139 of 2013-09-28 (below), this was overridden in the setting of `org-babel-default-header-args:emacs-lisp, so this may be why you are seeing and "inconsistency" between the call line and the emacs-lisp source block. If you want hlines to be included by default, you can modify the value of `org-babel-default-header-args'. I have attached an org file i have been working on to see the results of various settings of =colnames= and =hlines= on table evaluation in various languages, you may find it useful. rick ------ commit 6857d139e1b5ea5c235e3555dbe15aeab227aaef Author: Eric Schulte Date: Sat Sep 28 06:37:54 2013 -0600 set default emacs-lisp header args to nil The difference between elisp and every other language was causing confusion, so simpler just to set these to nil. * lisp/ob-emacs-lisp.el (org-babel-default-header-args:emacs-lisp): Set to nil. 1 file changed, 1 insertion(+), 2 deletions(-) lisp/ob-emacs-lisp.el | 3 +-- Modified lisp/ob-emacs-lisp.el diff --git a/lisp/ob-emacs-lisp.el b/lisp/ob-emacs-lisp.el index 886645d..4505129 100644 --- a/lisp/ob-emacs-lisp.el +++ b/lisp/ob-emacs-lisp.el @@ -28,8 +28,7 @@ ;;; Code: (require 'ob) -(defvar org-babel-default-header-args:emacs-lisp - '((:hlines . "yes") (:colnames . "no")) +(defvar org-babel-default-header-args:emacs-lisp nil "Default arguments for evaluating an emacs-lisp source block.") (declare-function orgtbl-to-generic "org-table" (table params))