Hi, Org gurus I'm using Org 9.1.9, as it comes with Emacs 27.0.50, freshly compiled from sources.
I'm having a hard time referencing a cached result when it's in a drawer (I like to wrap my results in a drawer). Before I file a bug report, I'd make sure that I am not doing something obviously stupid. Best with an example: * with drawer No cache, with drawer: #+NAME: with-drawer #+BEGIN_SRC emacs-lisp :results drawer 42 #+END_SRC #+RESULTS: with-drawer :RESULTS: 42 :END: #+NAME: check-with-drawer #+BEGIN_SRC emacs-lisp :var thing=with-drawer thing #+END_SRC #+RESULTS: check-with-drawer : 42 So far, so good * drawer and cache: Cached results in a drawer: #+NAME: cached-with-drawer #+BEGIN_SRC emacs-lisp :results drawer :cache yes 42 #+END_SRC #+RESULTS[4ba2e4b62c57298395b2f6f8d145dcc85264d192]: cached-with-drawer :RESULTS: 42 :END: #+NAME: check-cached-with-drawer #+BEGIN_SRC emacs-lisp :var thing=cached-with-drawer thing #+END_SRC #+RESULTS: check-cached-with-drawer : nil Note how the variable is nil. I tested also :cache yes _without_ a drawer, and then it works as expected. Am I doing something stupid? Thanks for any insights -- tomás
signature.asc
Description: Digital signature