>From 5d151cf4c5ddf779469e3bf860a0de85b3b771d8 Mon Sep 17 00:00:00 2001 From: Nick Dokos Date: Mon, 11 Apr 2016 15:23:12 -0400 Subject: [PATCH] Fix the paragraph on tag groups as regular expressions. Reword the paragraph and fix the regexps to include the requisite @ signs. --- doc/org.texi | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index f935692..eb416d6 100644 --- a/doc/org.texi +++ b/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 make the tags mutually exclusive. -Furthermore; The members of a @emph{group tag} can also be regular -expression, creating the possibility of more dynamic and rule-based -tag-structure. The regular expressions in the group must be marked up within address@hidden @}. Example use, to expand on the example given above: +Furthermore, the members of a @emph{group tag} can also be regular +expressions, creating the possibility of a more dynamic and rule-based +tag structure. The regular expressions in the group must be specified +within @{ @}. Here is an expanded example: @example -#+TAGS: [ Vision : @address@hidden@} ] -#+TAGS: [ Goal : @address@hidden@} ] -#+TAGS: [ AOF : @address@hidden@} ] -#+TAGS: [ Project : @address@hidden@} ] +#+TAGS: [ Vision : @{V@@@address@hidden ] +#+TAGS: [ Goal : @{G@@@address@hidden ] +#+TAGS: [ AOF : @{AOF@@@address@hidden ] +#+TAGS: [ Project : @{P@@@address@hidden ] @end example Searching for the tag @samp{Project} will now list all tags also including -regular expression matches for @samp{P@@.+}. Similar for tag-searches on address@hidden, @samp{Goal} and @samp{AOF}. This can be good for example if -tags for a certain project is tagged with a common project-identifier, -i.e. @samp{P@@2014_OrgTags}. +regular expression matches for @samp{P@@@.+}, and similarly for tag searches on address@hidden, @samp{Goal} and @samp{AOF}. For example, this would work well +for a project tagged with a common project-identifier, e.g. @samp{P@@2014_OrgTags}. @kindex C-c C-x q @vindex org-group-tags -- 2.7.0