From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: [Bug] #+call does not respect :colnames argument Date: Fri, 26 Jul 2013 16:52:33 -0400 Message-ID: <20130726205233.GA72349@BigDog.local> References: <1e44d3b3697f439e425399908547d946@mail.rickster.com> <87vc3xgqa5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2p0D-00082n-0p for emacs-orgmode@gnu.org; Fri, 26 Jul 2013 16:52:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2p0A-0002V4-MX for emacs-orgmode@gnu.org; Fri, 26 Jul 2013 16:52:40 -0400 Received: from [204.62.15.78] (port=38966 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2p0A-0002Uh-JU for emacs-orgmode@gnu.org; Fri, 26 Jul 2013 16:52:38 -0400 Content-Disposition: inline In-Reply-To: <87vc3xgqa5.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode On Fri, Jul 26, 2013 at 11:53:33AM -0600, Eric Schulte wrote: > Rick Frankel 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