[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] feature request: re-compute cache without evaluation
From: |
Henning Redestig |
Subject: |
Re: [O] feature request: re-compute cache without evaluation |
Date: |
Thu, 12 Apr 2012 16:50:46 +0200 |
ah, this was easy, thanks!
2012/4/12 Eric Schulte <address@hidden>:
> Henning Redestig <address@hidden> writes:
>
>> Hi,
>>
>> I write many source blocks that take a fairly long time to execute
>> (several minutes). Sometimes I find myself wanting to do cosmetic
>> changes to the code, that I know (for sure) do not change the output,
>> after the first evaluation. Unfortunately, after having made these
>> changes the cache obviously does not match the code anymore and I have
>> to re-evaluate to update the cache. I know it goes against the strict
>> 'reproducible research' idea but still I would like to be able to
>> re-compute the cache without actually evaluating the block as it is
>> not efficient to re-evaluate for the sole purpose of updating the
>> cache.
>>
>> What do you think?
>
> Press C-c C-v a (org-babel-sha1-hash) in the code block, then manually
> replace the original hash with the hash returned by that function.
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte/
--
/Henning