David Belohrad <da...@belohrad.ch> writes: > Hi Christinan, > thanks for hint. That one i've tested as first. doing > > (setq org-use-tag-inheritance "^[@#]") >
That should probably be (setq org-use-tag-inheritance "^[^@#]") (i.e. anything *not* starting with @ or #). Untested. Nick > surprisingly, it does not do the expected stuff and all @xxx tags are > still exported to the branches, where they are not supposed to be. > > At the same time I've tested this: > > (setq org-tags-exclude-from-inheritance '( > "@Adrian" "@LiShu" "@Martin")) > > and this one perfectly does the job when org-use-tag-inheritance is set > to true. Trouble with this one is, that @ is basically followed by a > name, and with every new name I have to for the moment manually add an > item into exclude .... > > .d. > > > > Christian Moe <m...@christianmoe.com> writes: > >> Hi, >> >> Try setting org-use-tag-inheritance to "^[@#]" >> >> Yours, >> Christian >> >> David Belohrad writes: >> >>> Could someone help me to construct the expression such, that all tags >>> starting with @ or # will be excluded from inheritance? >>> >>> many thanks >>> >>> .d. > > -- Nick