From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: export to latex broken Date: Tue, 1 Mar 2011 03:49:17 -0800 Message-ID: <20110301034917.4ba7d994@bhishma.homelinux.net> References: <871v2rgk2h.fsf@gmail.com> <20110301033559.36839bd7@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37392 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuO4z-0003nl-Lh for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 06:49:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuO4y-0002fw-AK for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 06:49:25 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:63093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuO4y-0002fY-6R for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 06:49:24 -0500 Received: by gxk2 with SMTP id 2so2461381gxk.0 for ; Tue, 01 Mar 2011 03:49:23 -0800 (PST) In-Reply-To: <20110301033559.36839bd7@bhishma.homelinux.net> 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: org-mode mailing list Hi, On Tue, 1 Mar 2011 03:35:59 -0800 Suvayu Ali wrote: > However after I sent my previous email I noticed a separate bug was > introduced in a commit somewhere between the previous commit I > mentioned and > > commit d3432917ed8f95af0ce76127e632052fc7430439 > Merge: 82ac473 6489346 > Author: Carsten Dominik > Date: Tue Feb 22 21:44:46 2011 +0100 > > Merge branch 'master' of orgmode.org:org-mode > > All babel source blocks are quoted inside a verbatim environment when > exported to latex. I haven't narrowed down the commit yet though. I think I found the commit. This is the first time I used bisect, so might be wrong. This is the output after git bisecting. 563994842d44f049c98ef0dcf7be94006ce1d9ee is the first bad commit commit 563994842d44f049c98ef0dcf7be94006ce1d9ee Author: Eric Schulte Date: Sun Feb 27 11:01:56 2011 -0700 ob-exp: better caching on export - calling org-babel-process-params on the parameters before the hash is calculated - calculating the hash before the noweb references are expanded * lisp/ob-exp.el (org-babel-exp-src-block): When block will eventually be evaluated, pre-calculate the hash before noweb expansion, and expand the parameters before hash calculation. (org-babel-exp-do-export): Pass pre-calculated hash through to `org-babel-exp-results'. (org-babel-exp-results): Compare pre-calculated hash to results hash. :040000 040000 aec4ecc417ed47e5c6366aac8f58c5309883b6ba 5a12d34f528ae400514d109f7783cf40ec7ee0a4 M lisp Hope this helps. -- Suvayu Open source is the future. It sets us free.