From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Babel should not work in the subtree marked as not exported Date: Tue, 11 Mar 2014 09:27:57 -0400 Message-ID: References: <87wqg0gawq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNMj4-0008Et-U3 for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 09:28:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNMiw-0001kX-HH for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 09:28:10 -0400 Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]:64792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNMiw-0001kQ-CU for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 09:28:02 -0400 Received: by mail-ig0-f180.google.com with SMTP id hl1so11290436igb.1 for ; Tue, 11 Mar 2014 06:28:01 -0700 (PDT) In-reply-to: <87wqg0gawq.fsf@gmail.com> 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: zwz Cc: emacs-orgmode@gnu.org On 2014-03-11 at 08:47, zwz wrote: > In my setup, there is > (setq org-export-exclude-tags '("private" "exclude") > > and In my test.org: > > * test > > ** Not exported :exclude: > #+BEGIN_SRC ditaa :file test.png :cmdline -E > +--------+---+---+---+---+---+---+---+ +---+---+---+---+---+---+---+---+ > x | 0 cRED | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | > +--------+---+---+---+---+---+---+---+ +---+---+---+---+---+---+---+---+ > #+END_SRC > > ** blah blah > blah blah blah > > > When I try to export it to pdf, the test.png is still generated, > although it is not used for the pdf at all. > So I think the export procedure may be optimized for more efficiency. No, because I often have code and sections I don't want exported, but I want their side-effects active. For example, code with sessions where part is not exported, but I need that code run so code elsewhere, using the same session, is able to run and be exported. -k.