From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Alexiev Subject: Re: [BUG] org-babel-tangle causes "Wrong type argument: sequencep, hline" Date: Sun, 27 Feb 2011 23:21:55 +0000 (UTC) Message-ID: References: <87zkpha2de.fsf@gmail.com> <8039n9nswf.fsf@somewhere.org> <87zkph89b3.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=48164 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtpwT-000524-3Y for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 18:22:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtpwM-0000B3-P2 for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 18:22:20 -0500 Received: from lo.gmane.org ([80.91.229.12]:53831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtpwM-0000Ao-Fd for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 18:22:14 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PtpwH-0005oz-9I for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 00:22:09 +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 00:22:09 +0100 Received: from vladimir by 85.239.150.142 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 00:22:09 +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 > The hline was assumed to be a list (as normal rows are) by the indexing > code, so I just inserted a quick check to ensure that hlines are left > alone. So Eric, you're handing this arg as per documentation (info) * :hlines: `no' (default) Strips horizontal lines from the input table. But you've missed handling this arg: * :colnames `nil' (default) If an input table looks like it has column names (because its second row is an hline), then the column names will be removed from the table before processing I think that org-babel-ref-index-list should receive the stripped table, i.e. these elements should have been removed: ("search" "replace") hline I think the fix is somewhere in org-babel-disassemble-tables, not in functions it calls (downstream from it). But in my debugging it always returned (nil nil nil)?