From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: exporting documents w/ babel results w/o evaluating babel blocks Date: Fri, 20 May 2016 13:06:44 -0400 Message-ID: References: <878addc2b6b14ce99e907921f0985d24@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87a8jkoec6.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3nsz-0003lZ-I0 for emacs-orgmode@gnu.org; Fri, 20 May 2016 13:06:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3nst-0004i9-I7 for emacs-orgmode@gnu.org; Fri, 20 May 2016 13:06:52 -0400 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:32994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3nst-0004i4-DP for emacs-orgmode@gnu.org; Fri, 20 May 2016 13:06:47 -0400 Received: by mail-qk0-x22e.google.com with SMTP id n63so70168523qkf.0 for ; Fri, 20 May 2016 10:06:47 -0700 (PDT) In-reply-to: <87a8jkoec6.fsf@ucl.ac.uk> 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" To: Eric S Fraga Cc: "emacs-orgmode@gnu.org" Hi Eric, On 2016-05-20 at 12:59, Eric S Fraga wrote: > When I export, org asks whether to evaluate the code block and I > respond with no. The existing results block is therefore exported but > not changed. If I say yes, a new results block is generated and > exported (and I can tell because it is different to what was there > before). > > I have org-export-babel-evaluate set to t but also > org-confirm-babel-evaluate to t. Thanks for clarifying your workflow. That seems to work for a small example. But what would you do if you had a manuscript with 100 code blocks in it? And in general you're exporting it a lot without changing anything in code, just editing the non-code text. But occasionally you want to modify a code block (and its results) too? In the above scenario, I used to edit the code, and =C-c C-c= it manually to get the updates into the results. When I exported the document (C-e l l), it would export in ~1 second (even a >100 page document) and not prompt me about executing code blocks. -k