Richard Riley <rile...@googlemail.com> writes: Hi, Richard, nice solution. > > btw, when entering a tag "-" is illegal?
yes, underscore should be used. 1. from the manual: Tags are normal words containing letters, numbers, `_', and `@'. 2. from the source ;-) org-set-tags in org.el tags (org-re "[^[:alnum:]_@#%]+")) (line 12959) and few lines (12950) up + or - are used in the search, see section "Match syntax" under "Matching tags and properties" in the manual. Hope that explains. Giovanni