I use the following capture code for making notes.
(setq org-capture-templates '((
"n" ; key
"Add a note to abc.org file " ; description
entry ; type
(file+headline "p.abc.org" "logg") ; target
"* %^{Logg} :NOTE: %(org-set-tags) \n%?" ; template
:prepend t ; properties
:empty-lines 1 ; propertiesc
)))
The template line consists of two sources of tags to the note. (1) I want all notes to be tagged with ":NOTE:", therefor this tag is written directly into the target line. (2) in addition I want to chose tags from my tags list by means of the function org-set-tags
.
If I chose the tag :FAMILY:
from my tagg list, the note heading end up looking like this:
* Note about something :NOTE: :FAMILY:
In this case only :FAMILY: is behaving as a tag (shown in bold in the headline). How can I change the target line so that the heading line will look like this: ?
* Note about something :NOTE:FAMILY:
where the two tags are collected into the single group :NOTE:FAMILY: and both function as tags?
It does not help to remove the space between :NOTE:
and %(org-set-tags)
in the target file, because the org-set-tags function insert spaces befor entering the tags you chose from you tags list.