emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Henning Redestig <henning.red@googlemail.com>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: feature request: re-compute cache without evaluation
Date: Thu, 12 Apr 2012 16:50:46 +0200	[thread overview]
Message-ID: <CAO8D54ykLq-HUM6qCSZgapOrtMF63znf4p+1j-0SM9U_Qjz9SQ@mail.gmail.com> (raw)
In-Reply-To: <87zkahb0k3.fsf@gmx.com>

ah, this was easy, thanks!

2012/4/12 Eric Schulte <eric.schulte@gmx.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/



-- 
/Henning

      reply	other threads:[~2012-04-12 14:51 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
2012-04-12 14:50   ` Henning Redestig [this message]

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=CAO8D54ykLq-HUM6qCSZgapOrtMF63znf4p+1j-0SM9U_Qjz9SQ@mail.gmail.com \
    --to=henning.red@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.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).