branch: externals-release/org
commit 326ca3d1393a4bb8658ae7a303446a70cf0c5729
Author: Chris Perl <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    Document "#" and "%" as valid characters in tags
    
    * doc/org-guide.org (Tags): Update description of tags to include "#"
    and "%".
    
    * doc/org-manual.org (Tags): Update description of tags to include "#"
    and "%".
    
    `org-set-tags-command' removes any forbidden characters in tags before
    setting them.  It explicitly allows "#" and "%" in addition to the
    currently documented ones, so update the documentation to match.
---
 doc/org-guide.org  |  7 ++++---
 doc/org-manual.org | 12 ++++++------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/doc/org-guide.org b/doc/org-guide.org
index 205623525f..93151c832d 100644
--- a/doc/org-guide.org
+++ b/doc/org-guide.org
@@ -886,9 +886,10 @@ mode has extensive support for tags.
 
 Every headline can contain a list of tags; they occur at the end of
 the headline.  Tags are normal words containing letters, numbers, =_=,
-and =@=.  Tags must be preceded and followed by a single colon, e.g.,
-=:work:=.  Several tags can be specified, as in =:work:urgent:=.  Tags
-by default are in bold face with the same color as the headline.
+=@=, =#=, and =%=.  Tags must be preceded and followed by a single
+colon, e.g., =:work:=.  Several tags can be specified, as in
+=:work:urgent:=.  Tags by default are in bold face with the same color
+as the headline.
 
 ** Tag inheritance
 :PROPERTIES:
diff --git a/doc/org-manual.org b/doc/org-manual.org
index e55f121669..fff7b96dc9 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -4893,12 +4893,12 @@ mode has extensive support for tags.
 #+vindex: org-tag-faces
 Every headline can contain a list of tags; they occur at the end of
 the headline.  Tags are normal words containing letters, numbers, =_=,
-and =@=.  Tags must be preceded and followed by a single colon, e.g.,
-=:work:=.  Several tags can be specified, as in =:work:urgent:=.  Tags
-by default are in bold face with the same color as the headline.  You
-may specify special faces for specific tags using the variable
-~org-tag-faces~, in much the same way as you can for TODO keywords
-(see [[*Faces for TODO keywords]]).
+=@=, =#=, and =%=.  Tags must be preceded and followed by a single
+colon, e.g., =:work:=.  Several tags can be specified, as in
+=:work:urgent:=.  Tags by default are in bold face with the same color
+as the headline.  You may specify special faces for specific tags
+using the variable ~org-tag-faces~, in much the same way as you can
+for TODO keywords (see [[*Faces for TODO keywords]]).
 
 ** Tag Inheritance
 :PROPERTIES:

Reply via email to