From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Bug: org-export-babel-evaluate causes everything to be exported [8.3.4 (release_8.3.4-824-ga02fe8)] Date: Fri, 20 May 2016 10:48:43 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3oXY-0004CI-6t for emacs-orgmode@gnu.org; Fri, 20 May 2016 13:48:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3oXV-0001fR-2v for emacs-orgmode@gnu.org; Fri, 20 May 2016 13:48:48 -0400 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:26957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3oXU-0001ez-R0 for emacs-orgmode@gnu.org; Fri, 20 May 2016 13:48:45 -0400 In-Reply-To: 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: Ken Mankoff Cc: emacs-org On Fri, 20 May 2016, Ken Mankoff wrote: > > On 2016-05-20 at 13:29, Charles C. Berry wrote: >> On Fri, 20 May 2016, Ken Mankoff wrote: >>>> >>>> #+BEGIN_SRC octave :exports results :cache nil >>>> "hello, world" >>>> #+END_SRC >>>> #+RESULTS: >>>> : hello, world >>>> >>>> Yes, the above appears to work. >> >> Really? I do not see the hash in your results block. > > Correct. I've never used cache, and ":cache t" doesn't work, it has to > be ":cache yes". I'll try to set this up and see if it works better w/ > caching. That may be the trick as you suggested in the other thread, and > perhaps most of the issues here are my improper use of cache (which > wasn't required before). > But I see that you said: > > I'm still trying to find a way where: > + code results do export > + code does not export > + code does not evaluate at export > + code can still be evaluated by me > So, you want `:exports results :eval never-export' and forget about `:cache yes'. And leave `org-export-babel-evaluate' at `t'. Also, see (info "(org) eval") Chuck