From: "Ulrich J. Herter" <ujh@posteo.de>
To: emacs-orgmode@gnu.org
Subject: Re: code blocks: update cache hash on export
Date: Wed, 19 Oct 2016 12:59:32 +0200 [thread overview]
Message-ID: <1476874772.2671.4.camel@posteo.de> (raw)
In-Reply-To: <alpine.OSX.2.20.1610180848030.605@charles-berrys-macbook.local>
One more thing:
Am Dienstag, den 18.10.2016, 09:01 -0700 schrieb Charles C. Berry:
> Is there a function to get the hash of a #+CALL:-block? C-c C-v a
> > ()
> > doesn't work there.
> >
>
> `org-babel-current-result-hash' does this. It is not interactive, so
> if
> you want to query the value interactively, you need
>
> M-: (org-babel-current-result-hash)
M-: (org-babel-current-result-hash) returns the hash from the previous
run. What I would need is the new hash which would be inserted after a
new run.
On source block I can get the new hash with M-x org-babel-sha1-hash or
C-c C-c a, but this isn't working on CALL lines. Is there a function
that could do that?
Thanks
Ulrich
prev parent reply other threads:[~2016-10-19 10:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 12:00 code blocks: update cache hash on export Ulrich J. Herter
2016-10-18 16:01 ` Charles C. Berry
2016-10-19 7:33 ` Ulrich J. Herter
2016-10-19 10:59 ` Ulrich J. Herter [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=1476874772.2671.4.camel@posteo.de \
--to=ujh@posteo.de \
--cc=emacs-orgmode@gnu.org \
/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).