From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff 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 07:28:50 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3ibv-0001Cl-GW for emacs-orgmode@gnu.org; Fri, 20 May 2016 07:28:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3ibt-0004gG-K0 for emacs-orgmode@gnu.org; Fri, 20 May 2016 07:28:54 -0400 Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:33206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3ibt-0004g5-Eu for emacs-orgmode@gnu.org; Fri, 20 May 2016 07:28:53 -0400 Received: by mail-qg0-x22e.google.com with SMTP id f92so58404287qgf.0 for ; Fri, 20 May 2016 04:28:53 -0700 (PDT) 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: "Charles C. Berry" Cc: emacs-org On 2016-05-20 at 07:12, Ken Mankoff wrote: > On 2016-05-19 at 23:33, Charles C. Berry wrote: >> On Thu, 19 May 2016, Ken Mankoff wrote: > > (setq org-export-babel-evaluate t) > > #+BEGIN_SRC octave :exports results :cache nil > "hello, world" > #+END_SRC > #+RESULTS: > : hello, world > > Yes, the above appears to work. But it doesn't work with sessions. Can you advise what settings to have how I can have the following code in an Org document: #+BEGIN_SRC python :results output :exports results :session foo :cache nil print("hello, world") #+END_SRC #+RESULTS: : hello, world And easily export that document without evaluating the code? Thanks, -k.