Richard G Riley <[EMAIL PROTECTED]> writes:

> Could someone show me an example of mutually exclusive tag setting in
> elisp please? There is an example of non exclusive ones in the manual:
>
>      (setq org-tag-alist '(("@work" . ?w) ("@home" . ?h) ("laptop"
>      . ?l)))
>
> But how to do it for
>
>      #+TAGS: { @work(w)  @home(h)  @tennisclub(t) }  laptop(l)  pc(p)
> ?

@work, @home, @errand are exclusive below.

admin, org, notaproject, newtask are not.

(setq org-tag-alist '((:startgroup . nil) ("@work" . ?w) ("@home" . ?h) 
("@errand" . ?e) (:endgroup . nil) 
                      ("admin" . ?a) ("org" . ?o) ("notaproject" . ?n) 
("newtask" . ?x)))

HTH,
Bernt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to