[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] excluding whole trees on export when subtrees have "select" tags pre

From: Eric S Fraga
Subject: [O] excluding whole trees on export when subtrees have "select" tags present
Date: Mon, 09 Jan 2017 09:48:08 +0000

Hello all,

In this very minimal example,

#+begin_src org
  ,#+select_tags: wanted
  ,* headline                                                   :notwanted:
  some text
  ,** subhead                                                     :wanted:
  more text

exporting exports the whole tree under /headline/.  I can see why but it
is arguably the wrong thing to do.  If /notwanted/ hasn't been selected,
I would have assumed that all the contents under that headline would be
ignored during export.

My problem is that I want to export a document where certain headlines
(but not all) are included *and* within these, some subheadlines are
also included but not all.  I would be specifying one or two tags for
selection depending on the specific export case.

I can achieve what I want by commenting and uncommenting headlines but
this is very clumsy and error-prone for my use case.

I guess I simply want to confirm that the above noted behaviour is
indeed what is expected from org.  If so, I will find a work-around.


Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]