emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] :colnames not applied to #+call input


From: Eric Schulte
Subject: Re: [O] [BUG] :colnames not applied to #+call input
Date: Sun, 30 Jun 2013 17:21:21 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Rick Frankel <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]