From: Bernt Hansen <bernt@norang.ca>
To: Richard G Riley <rileyrgdev@googlemail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: mutually exclusive tags
Date: Wed, 26 Mar 2008 16:50:41 -0400 [thread overview]
Message-ID: <871w5xgqfy.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <txmyolmdtw.fsf@richardriley.net> (Richard G. Riley's message of "Wed\, 26 Mar 2008 21\:26\:35 +0100")
Richard G Riley <rileyrgdev@googlemail.com> 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
next prev parent reply other threads:[~2008-03-26 20:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 20:26 mutually exclusive tags Richard G Riley
2008-03-26 20:50 ` Bernt Hansen [this message]
2008-03-26 22:02 ` [PATCH] doc: Add example of the global setting for " Bernt Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871w5xgqfy.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=rileyrgdev@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).