emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* excluding whole trees on export when subtrees have "select" tags present
@ 2017-01-09  9:48 Eric S Fraga
  2017-01-09 15:46 ` John Kitchin
       [not found] ` <b3655cb7d021410f872939e0fedfee6a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Eric S Fraga @ 2017-01-09  9:48 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

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

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-12  7:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09  9:48 excluding whole trees on export when subtrees have "select" tags present Eric S Fraga
2017-01-09 15:46 ` John Kitchin
     [not found] ` <b3655cb7d021410f872939e0fedfee6a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-09 21:49   ` Eric S Fraga
2017-01-10 14:27     ` John Kitchin
     [not found]     ` <617f560207eb41c0888a6f3c6a8df9db@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-11 15:26       ` Eric S Fraga
2017-01-11 20:26         ` Nicolas Goaziou
     [not found]         ` <af9636231a6b44598ee8e17caee8e941@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-12  6:50           ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).