From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: 6.29c export latex bug? Date: Mon, 10 Aug 2009 20:21:40 -0400 Message-ID: <15967.1249950100@alphaville.usa.hp.com> References: <871vnj743l.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Maf95-0003h6-PL for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 20:23:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Maf8z-0003cn-R0 for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 20:23:18 -0400 Received: from [199.232.76.173] (port=49979 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Maf8z-0003ck-P4 for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 20:23:13 -0400 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:35720) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Maf8z-00051P-CZ for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 20:23:13 -0400 In-Reply-To: Message from zwz of "Mon, 10 Aug 2009 23:26:22 +0200." <871vnj743l.fsf@gmail.com> 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: zwz Cc: emacs-orgmode@gnu.org zwz wrote: > Here is the content of my org file: > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > * Test > > > | | A | B | > > > |-----+---+---| > > > | com | 1 | 2 | > > > | org | 3 | 4 | > > > > > > Some math formulae: > > > > > > y =3D x_1^2 + x_2^2 > > > > > > y^2 =3D 2x^2 + 1 > > > > > > z_2 =3D x_1 + x_2 + 2 (y_1 + y_2 + r) > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > Then I press C-c C-e l, I get the debug back-trace: > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > replace-regexp-in-string("||" "|" nil) > org-export-latex-tables(t) > I can reproduce this. I also tried with a different table and I can verify zwz's subsequent finding that a non-empty, non-headline line above the table fixes it. I looked at the org-export-latex-tables code, but since I couldn't come up with something obvious, I did a git bisect and got this: 31ceed47ffd3070418dd34316fef8869d2434c26 is first bad commit commit 31ceed47ffd3070418dd34316fef8869d2434c26 Author: Carsten Dominik Date: Tue Jun 30 07:24:57 2009 +0200 New minor mode org-indent-mode This mode implements outline indentation similar to clean view, but in a dynamic and virtual way, at display time. HTH, Nick PS. Note that org-indent-mode is *not* enabled. I get an error when I try to enable it, but that's another story.