From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [babel] #+call-line removes hlines and headings ? Date: Sun, 29 Jan 2012 11:42:08 +0100 Message-ID: <87ipju6b9b.fsf@med.uni-goettingen.de> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrSDY-0004SW-EB for emacs-orgmode@gnu.org; Sun, 29 Jan 2012 05:42:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrSDX-0006OT-1w for emacs-orgmode@gnu.org; Sun, 29 Jan 2012 05:42:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:50226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrSDW-0006OP-Ru for emacs-orgmode@gnu.org; Sun, 29 Jan 2012 05:42:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RrSDT-0008Jh-4t for emacs-orgmode@gnu.org; Sun, 29 Jan 2012 11:42:35 +0100 Received: from vpn-2217.gwdg.de ([134.76.2.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jan 2012 11:42:35 +0100 Received: from andreas.leha by vpn-2217.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jan 2012 11:42:35 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Marc-Oliver Ihm writes: > Hello ! > > Generally enjoying babel very much, I have stumbled across a behaviour, that I do not quite understand: > As it seems, a #+call in babel removes hlines from the results. > > Here is an example: > > #+call: foo() > | 3 | 4 | > #+name: foo > #+begin_src emacs-lisp > '((1 2) hline (3 4)) > #+end_src > > #+results: foo > | 1 | 2 | > |---+---| > | 3 | 4 | > > > The #+begin_src-line does what I would expect; however, when it is called through a #+call-line the hline > and the heading are removed. > > Is this the intended behaviour, a bug or am I missing something obvious ? > > Thanx a lot for any help ! > > with kind regards, Marc-Oliver Ihm Hi Marc-Oliver, it works with #+call: foo() :colnames yes The more surprising part for me is, that it works on the block itself without. Best, Andreas