From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: :exports ignored when org-export-babel-evaluate is nil Date: Sun, 3 Jul 2016 09:54:21 -0700 Message-ID: References: <1467385057.1832.31.camel@gladbachcity.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkf6-00051E-8x for emacs-orgmode@gnu.org; Sun, 03 Jul 2016 12:54:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJkf2-0006Be-Mk for emacs-orgmode@gnu.org; Sun, 03 Jul 2016 12:54:27 -0400 Received: from iport-acv6-out.ucsd.edu ([132.239.0.13]:12038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkf2-0006BZ-E1 for emacs-orgmode@gnu.org; Sun, 03 Jul 2016 12:54:24 -0400 In-Reply-To: <1467385057.1832.31.camel@gladbachcity.de> 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: Christian Heinrich Cc: emacs-orgmode@gnu.org On Fri, 1 Jul 2016, Christian Heinrich wrote: > Hello, > > I built org-mode from the master branch. I set org-export-babel- > evaluate to nil in my init.el as my org-files contain lots of src- > blocks that take ages to execute. > > I realized that since commit ec615b192d703a0201ceefd46897e4636ff00a38, > the export behavior has changed. Since then, the ":exports" seems to > get ignored if said variable is set to nil and always exports the code > as well, even when ":exports" is set to "results". If org-export-babel- > evaluate is set to true, everything works fine. > > Is this a bug or is there a new way to prevent org-mode from executing > my blocks before the export? > Not `a new way', but use `:eval never-export'. Probably you want to set this as a buffer-wide property or even system-wide. See (info "(org) eval") (info "(org) Header arguments in Org mode properties") (info "(org) System-wide header arguments") Chuck