emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Henning Redestig <henning.red@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: feature request: re-compute cache without evaluation
Date: Thu, 12 Apr 2012 08:12:03 -0400	[thread overview]
Message-ID: <87zkahb0k3.fsf@gmx.com> (raw)
In-Reply-To: CAO8D54xjKGUqjXtU9R2PG-qcyN2v5HpsBx5yKE7y9H99CBAfkg@mail.gmail.com

Henning Redestig <henning.red@googlemail.com> 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/

  reply	other threads:[~2012-04-12 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12  8:49 feature request: re-compute cache without evaluation Henning Redestig
2012-04-12 12:12 ` Eric Schulte [this message]
2012-04-12 14:50   ` Henning Redestig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkahb0k3.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=henning.red@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).