From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Very slow execution, tangling and export with noweb and quick-and-dirty Date: Tue, 01 Sep 2015 12:25:51 +0200 Message-ID: <867foae8r4.fsf@example.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Rainer M Krug writes: > Rainer M Krug writes: >> I have a rather extensive literate programming document with several >> hundred code blocks. In two subtrees, I use :noweb. Each of these has >> one noweb block which is located onder the first level header, and >> used several times in the sub-sections of this tree. >> >> But even with the quick-and-dirty option >> >> ,---- >> | #+BIND: org-babel-use-quick-and-dirty-noweb-expansion "t" >> `---- > > Hm - I just realised that despite having this #+BIND: in the file, the > variable was not set. I set it manually now, and it is fast again. > > Shouldn't this BIND set the variable to true? IIUC, `BIND' sets the variable to the value you're giving to it at export-time only (in the temporary buffer created for the export process). Best regards, Seb -- Sebastien Vauban