[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Switching sets of variables
From: |
Sven Bretfeld |
Subject: |
Switching sets of variables |
Date: |
4 Mar 2010 01:19:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
Hi to all
I want to have two sets of different values for the same variables and
switch between these sets.
For example:
,----First set: org-mode settings for my private context
|
| (defvar org-gtd-file "~/private.org")
| (setq org-todo-keywords '((type "NEXT" "WAITING" "APPT" "DONE")))
| (setq org-tag-alist '(("OFFICE" . ?o)
| ("HOME" . ?h)
| ("READING" . ?r)
| ("SHOPPING" . ?s)))
`----
,----Second set: org-mode settings for office organization
|
| (defvar org-gtd-file "~/institute.org")
| (setq org-todo-keywords '((type "PRESENT" "HOLIDAY" "DELEGATED" "DONE")))
| (setq org-tag-alist '(("ANNE" . ?a)
| ("MARY" . ?m)
| ("JOE" . ?j)
| ("FRED" . ?f)))
|
`----
I want to have a function that switches between these sets. How could
that be done?
Thanks for help,
Sven
- Switching sets of variables,
Sven Bretfeld <=