renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

Redundant evaluation of cached babel blocks #138

Closed mlt closed 4 years ago

mlt commented 9 years ago

This is the case at least with 2.5 branch. The following snipped, when placed into a post, is unnecessary evaluated again upon o-blog-publish.

#+NAME: cache_fail
#+BEGIN_SRC R :results graphics :file out2.png :exports both :cache yes
Sys.sleep(10)
plot(1:10)
#+END_SRC

#+RESULTS[6ac9511c7d21c35ce5a62b72d8be01057f552803]: cache_fail
[[file:out2.png]]

GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-02-17 on KAEL Org-mode version 8.2.10 (8.2.10-34-gc41bbc-elpa @ c:/Users/user/Dropbox/Personal/emacs/.emacs.d/elpa/org-20150309/) P.S. I'm not sure whether copy-pasting across different platforms & EOLs will result in the same SHA-1. Anyway Org properly fails to evaluate same block when hitting C-c C-c.