From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: excluding whole trees on export when subtrees have "select" tags present Date: Mon, 09 Jan 2017 09:48:08 +0000 Message-ID: <878tqkmunb.fsf@ucl.ac.uk> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQWo8-0000vr-2y for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 05:04:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQWo3-0006hd-2y for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 05:04:04 -0500 Received: from mail-db5eur01on0111.outbound.protection.outlook.com ([104.47.2.111]:60096 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQWo2-0006hH-NN for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 05:03:59 -0500 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello all, In this very minimal example, #+begin_src org ,#+select_tags: wanted ,* headline :notwanted: some text ,** subhead :wanted: more text #+end_src 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. Thanks, eric =2D-=20 Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWHNcWAAKCRDIkZPY//z2 fUBNAJ9rFxu9E5N2u6EKPki/l+nz1WwjggCePCEpX2kHGCNpI+YRD/yf57BR3Mg= =SEZc -----END PGP SIGNATURE----- --=-=-=--