emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: mutually exclusive tags


From: Bernt Hansen
Subject: [Orgmode] Re: mutually exclusive tags
Date: Wed, 26 Mar 2008 16:50:41 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Richard G Riley <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]