From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Alexiev Subject: Re: [BUG] org-babel-tangle causes Date: Mon, 28 Feb 2011 00:58:02 +0000 (UTC) Message-ID: References: <87zkpha2de.fsf@gmail.com> <8039n9nswf.fsf@somewhere.org> <87zkph89b3.fsf@gmail.com> <878vx1yps1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54836 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtrRM-00049P-Bs for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 19:58:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtrRH-00047Q-GF for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 19:58:20 -0500 Received: from lo.gmane.org ([80.91.229.12]:49993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtrRH-00047G-7c for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 19:58:15 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PtrRF-0002vl-MK for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 01:58:13 +0100 Received: from 85.239.150.142 ([85.239.150.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 01:58:13 +0100 Received: from vladimir by 85.239.150.142 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 01:58:13 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I found a simple WORKAROUND. Kindly put this in the documentation of :colnames, at the end of the nil value: Please note that such "table disassembly" does not work with var indexing. As a simple workaround, put the #+tblname AFTER the hline (not before the table). For example: #+STARTUP: showeverything #+BABEL: :tangle yes | colA | colB | |------+------| #+tblname: table | a1 | b1 | | a2 | b2 | #+begin_src perl :var a=table[*,0] :var b=table[*,1] $a; $b; #+end_src If you tangle this source with C-c C-x t, you can see that the assignments are correct.