From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [BUG] :colnames not applied to #+call input Date: Sun, 30 Jun 2013 17:21:21 -0600 Message-ID: <8761wvkv0b.fsf@gmail.com> References: <3b90682f4749fc6cd9a5db0981f7f20a@mail.rickster.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtRas-0006s2-Fu for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 20:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtRar-0001Y6-Et for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 20:03:46 -0400 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:46722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtRar-0001Xy-7Y for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 20:03:45 -0400 Received: by mail-pa0-f53.google.com with SMTP id tj12so4335708pac.26 for ; Sun, 30 Jun 2013 17:03:44 -0700 (PDT) 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: Rick Frankel Cc: emacs-orgmode Rick Frankel writes: > it seems that the :colnames header is not being respected on parsing the > input > to a `#+call:' line containing arguments, but is being applied to the > output! > > For example: > > #+BEGIN_SRC org > * Identity > #+name: table > | a | b | c | > |---+---+---| > | 1 | 2 | 3 | > > #+name: identity > #+BEGIN_SRC emacs-lisp :var table=table :colnames yes > (mapcar 'identity table) > #+END_SRC Emacs Lisp handles the :colnames header argument differently than other languages, hence the "Note that the behavior of the ':colnames' header argument may differ across languages." phrase in the manual. If you remove ":colnames yes" from the emacs-lisp code block in your example everything should work fine. Best, -- Eric Schulte http://cs.unm.edu/~eschulte