Sebastien Vauban writes: > 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). OK - now I understand it. So I should also, in addition to the bind, use a file local variable to set org-babel-use-quick-and-dirty-noweb-expansion to true. Done and working. Thanks, Rainer > > Best regards, > Seb -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982