From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: feature request: re-compute cache without evaluation Date: Thu, 12 Apr 2012 08:12:03 -0400 Message-ID: <87zkahb0k3.fsf@gmx.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIKww-0000JC-Nx for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 10:24:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIKwq-0003Yn-IT for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 10:24:38 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:59467) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SIKwq-0003Y0-B3 for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 10:24:32 -0400 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: Henning Redestig Cc: emacs-orgmode@gnu.org Henning Redestig 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/