[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Very slow execution, tangling and export with noweb and quick-an
From: |
Rainer M Krug |
Subject: |
Re: [O] Very slow execution, tangling and export with noweb and quick-and-dirty |
Date: |
Tue, 01 Sep 2015 13:24:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
Sebastien Vauban <address@hidden> writes:
> Rainer M Krug <address@hidden> writes:
>> Rainer M Krug <address@hidden> 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: address@hidden
Skype: RMkrug
PGP: 0x0F52F982
signature.asc
Description: PGP signature