Fix the paragraph on tag groups as regular expressions.
Reword the paragraph and fix the regexps to include the requisite @ signs.
This commit is contained in:
parent
1581da82be
commit
16ad80fe34
23
doc/org.texi
23
doc/org.texi
|
@ -5200,23 +5200,22 @@ When setting @code{org-tag-alist} you can use @code{:startgroup} &
|
||||||
@code{:endgroup} instead of @code{:startgrouptag} & @code{:endgrouptag} to
|
@code{:endgroup} instead of @code{:startgrouptag} & @code{:endgrouptag} to
|
||||||
make the tags mutually exclusive.
|
make the tags mutually exclusive.
|
||||||
|
|
||||||
Furthermore; The members of a @emph{group tag} can also be regular
|
Furthermore, the members of a @emph{group tag} can also be regular
|
||||||
expression, creating the possibility of more dynamic and rule-based
|
expressions, creating the possibility of a more dynamic and rule-based
|
||||||
tag-structure. The regular expressions in the group must be marked up within
|
tag structure. The regular expressions in the group must be specified
|
||||||
@{ @}. Example use, to expand on the example given above:
|
within @{ @}. Here is an expanded example:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
#+TAGS: [ Vision : @{V@.+@} ]
|
#+TAGS: [ Vision : @{V@@@.+@} ]
|
||||||
#+TAGS: [ Goal : @{G@.+@} ]
|
#+TAGS: [ Goal : @{G@@@.+@} ]
|
||||||
#+TAGS: [ AOF : @{AOF@.+@} ]
|
#+TAGS: [ AOF : @{AOF@@@.+@} ]
|
||||||
#+TAGS: [ Project : @{P@.+@} ]
|
#+TAGS: [ Project : @{P@@@.+@} ]
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Searching for the tag @samp{Project} will now list all tags also including
|
Searching for the tag @samp{Project} will now list all tags also including
|
||||||
regular expression matches for @samp{P@@.+}. Similar for tag-searches on
|
regular expression matches for @samp{P@@@.+}, and similarly for tag searches on
|
||||||
@samp{Vision}, @samp{Goal} and @samp{AOF}. This can be good for example if
|
@samp{Vision}, @samp{Goal} and @samp{AOF}. For example, this would work well
|
||||||
tags for a certain project is tagged with a common project-identifier,
|
for a project tagged with a common project-identifier, e.g. @samp{P@@2014_OrgTags}.
|
||||||
i.e. @samp{P@@2014_OrgTags}.
|
|
||||||
|
|
||||||
@kindex C-c C-x q
|
@kindex C-c C-x q
|
||||||
@vindex org-group-tags
|
@vindex org-group-tags
|
||||||
|
|
Loading…
Reference in New Issue