From mboxrd@z Thu Jan 1 00:00:00 1970 From: cberry@tajo.ucsd.edu Subject: Re: Selectively export RESULTS Date: Wed, 29 Feb 2012 12:24:22 -0800 Message-ID: <8762epz8uh.fsf@tajo.ucsd.edu> References: <87ty2aw7ps.fsf@tajo.ucsd.edu> <87ty29eg8n.fsf@tajo.ucsd.edu> <87boohbmch.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2q5B-00076l-Ej for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 15:25:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2q4l-0006kO-4F for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 15:25:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:39068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2q4k-0006jg-TH for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 15:24:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S2q4g-0008Rx-Um for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 21:24:34 +0100 Received: from tajo.ucsd.edu ([137.110.122.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 21:24:34 +0100 Received: from cberry by tajo.ucsd.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 21:24:34 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Schulte writes: >>> Does this do what you want? >> >> No. >> >> When I put point under the headline and type C-c @ C-c C-e d, it prompts >> me to evaluate each of the blocks, and when I answer 'no' to each, it >> produces a document that omits the previously computed results. >> >> What I want is to grab *existing* results blocks and use them. >> >> And if at a later date some of those results blocks have changed, when I >> again put point under the headline and type C-c @ C-c C-e d, I'd like >> the newer blocks to be updated. >> >> The computations in some blocks run for many minutes, so it is >> impractical to recompute them every time I want to tweak the format of a >> document that depends on them. >> > > Hi Chuck, Thanks for your reply. > > Have you looked at the :cache header argument [1], from my understanding > of your use case it should be exactly what you are after. > Its a step in the right direction. It seems I have to set :cache yes on every block I use before I invoke it. My attempt to use a buffer-wide PROPERTY setting for cache did not pan out. With org-confirm-babel-evaluate set to t, it prompts for confirmation of each and every block/call it encounters, which is a bit tiresome. I can set this to nil, but the potential for causing mischief by unintenionally evaluating blocks whose results were OK and needed for a quick report worries me. Its pretty clear that the machinery needed to capture results is all there. If I can find time, I'll trace thru what is going on when cache yes is set and see if I can do so more directly. Chuck > Best, > > Footnotes: > [1] http://orgmode.org/manual/cache.html -- Charles C. Berry Dept of Family/Preventive Medicine cberry at ucsd edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901