emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [Bug] #+call does not respect :colnames argument


From: Rick Frankel
Subject: Re: [O] [Bug] #+call does not respect :colnames argument
Date: Fri, 26 Jul 2013 16:52:33 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jul 26, 2013 at 11:53:33AM -0600, Eric Schulte wrote:
> Rick Frankel <address@hidden> writes:
> 
> > I have debugged why the :colnames argument is not respected as to
> > removing the header from a table var.

> Thanks for taking the time to find the root of this problem.  I believe
> I've fixed this by change the `org-babel-merge-params' function so that
> when the value of a variable is update, then colname-names and
> rowname-names values saved for that variable are removed.
> 
> In my local tests the attached patch fixes this issue.  If it works for
> you as well then I'll apply it.

Works for me. Thanx, this will simplify a lot of code (e.g., the
example dot-from-tables that was floating around last week)

Aside... It's difficult for me to follow the code, so can you explain
the why the different results between:

#+call: emacs-echo(table=with-hline2) :colnames yes

#+results:
| B | C | D |
|---+---+---|
| 3 | 4 | 5 |
| 6 | 7 | 8 |

and

#+call: emacs-echo(table=with-hline2)[:colnames yes]

#+results:
| B | C | D |


thanx again,
rick



reply via email to

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