From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Problem with noweb-ref property Date: Tue, 03 Jan 2012 11:07:53 +0100 Message-ID: <87y5tpm746.fsf@med.uni-goettingen.de> References: <87wr9frwa7.fsf@gmx.com> <87obum70ae.fsf@med.uni-goettingen.de> <87k45ac6q4.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1Hz-00011j-6Y for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:08:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1Hu-0006d6-RJ for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:08:15 -0500 Received: from lo.gmane.org ([80.91.229.12]:53455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1Hu-0006d1-GE for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:08:10 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ri1Hs-0007Sg-BG for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 11:08:08 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 11:08:08 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 11:08:08 +0100 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: emacs-orgmode@gnu.org Eric Schulte writes: >>>> >>>> However correct performance is more important than fast performance. >>>> I've just pushed up a patch which fixes the bug you've described, and >>>> hopefully doesn't slow down the tangling process too significantly. >>>> >> >> Hi Eric, >> >> unfortunately, for me it does result in a considerably slow down. >> (Well, I did not bisect this time but still suspect the commit you >> mention in this thread.) >> >> As a test case you can still use >> http://pastebin.com/c42jS1Be >> from my last post on this matter and expand the first source block. >> >> Sorry to ask again: Would it be possible to speed things up again or to >> make the :noweb-ref feature optional? >> > > Hi Andreas, > > I've just pushed up a new variable to the git repository. To enable the > faster regexp-based method of noweb expansion (which is not able to > resolve noweb-ref header arguments inherited from sub-tree or file-wide > properties) put the following in your config. > > (setq *org-babel-use-quick-and-dirty-noweb-expansion* t) > > Best, > Hi Eric, thanks for this quick-and-dirty fix ;-) Works great! Cheers, Andreas