all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Switching sets of variables
@ 2010-03-04  0:19 Sven Bretfeld
  2010-03-04  7:19 ` Andreas Röhler
  0 siblings, 1 reply; 6+ messages in thread
From: Sven Bretfeld @ 2010-03-04  0:19 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.2244.1267661988.14305.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-05-04 18:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-04  0:19 Switching sets of variables Sven Bretfeld
2010-03-04  7:19 ` Andreas Röhler
2010-03-04  9:47   ` Stephen Berman
2010-03-05  0:45     ` Sven Bretfeld
     [not found] <mailman.2244.1267661988.14305.help-gnu-emacs@gnu.org>
2010-03-04  1:11 ` Barry Margolin
2010-05-04 18:59   ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.