aboutsummaryrefslogtreecommitdiff
path: root/test/org-select-tags.org
blob: ca41a48b2c4947678ec2add6e78942a8030180fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#+select_tags: yes no
#+exclude_tags: no

In a document containing one or more trees containing a tag
listed in SELECT_TAGS, only those trees and their ancestor nodes will appear;
this text and any other text preceding the first headline
won't appear for such documents.

* Will appear because it is the ancestor of something tagged "yes"
** Will appear                                                           :yes:
*** Will appear since the entire subtree of something selected will appear
**** Will appear
*** Will not appear since this has tagged with something in EXCLUDE-TAGS :no:
** Will not appear since it's not an ancestor of listed in SELECT-TAGS
** Will appear because it is the ancestor of something listed in SELECT-TAGS
*** Will not appear because it has an EXCLUDE-TAG, but since "no" is also listed as a SELECT-TAG, it will force its parent to appear :no:
* Will not appear