help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Switching sets of variables


From: Sven Bretfeld
Subject: Re: Switching sets of variables
Date: 5 Mar 2010 01:45:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Stephen Berman <stephen.berman@gmx.net> writes:

>> Sven Bretfeld wrote:

>>> I want to have two sets of different values for the same variables and
>>> switch between these sets.

> Or just use org-gtd-file, since you already have it, e.g.:
>
> (setq org-todo-keywords
>       (cond ((string= org-gtd-file (expand-file-name "~/private.org"))
>            '((type "NEXT" "WAITING" "APPT" "DONE")))
>           ((string= org-gtd-file (expand-file-name "~/institute.org"))
>            '((type "PRESENT" "HOLIDAY" "DELEGATED" "DONE")))))

This would probably also work. Thanks. I did it in the way suggested by
Andreas. 

Greetings,

Sven




reply via email to

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