[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] multiple planners & remembering in the right one
From: |
Paul Lussier |
Subject: |
[emacs-wiki-discuss] multiple planners & remembering in the right one |
Date: |
Mon, 31 Oct 2005 08:06:50 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Hi folks,
I'm trying to get multiple planners working (using planner-muse), and
I want remember to know which "planner" I'm currently in and add my
notes accordingly to correct location.
In a nutshell, I want a "work" and a "personal" planner. I've set
everything I can think of, but can't seem to get it working
completely.
(setq muse-project-alist
`(("Diary"
("~/personal/diary"
:force-publish ("Index")
:default "WelcomePage"
:major-mode planner-mode
:visit-link planner-visit-link)
(:base "xhtml"
:path "~/personal/diary/www"))
("Planner" ;; use value of `planner-project'
("~/work/Plans" ;; where my Planner pages are located
:default "TaskPool" ;; use value of `planner-default-page'
:major-mode planner-mode
:visit-link planner-visit-link)
;; This next part is for specifying where Planner pages
;; should be published and what Muse publishing style to
;; use. In this example, we will use the XHTML publishing
;; style.
(:base "xhtml"
;; value of `planner-publishing-directory'
:path "~/public_html/Plans"))))
; Set default planner project:
;; if at home - use this location
(if (string-match "taz" (system-name))
(progn ((planner-option-customized 'planner-directory "~/personal/diary")
(planner-option-customized 'planner-publishing-directory
"~/personal/diary/www")
(setq planner-directory "~/personal/diary"
planner-publishing-directory "~/personal/diary/www"
emacs-wiki-default-project "Diary"
planner-project "Diary")))
;; if not at home, use this:
(progn ((planner-option-customized 'planner-directory "~/work/Plans")
(planner-option-customized 'planner-publishing-directory
"~/public_html/plans")
(setq planner-directory "~/work/Plans"
planner-publishing-directory "~/public_html/plans"
emacs-wiki-default-project "Planner"
planner-project "Planner"))))
When I the above (if...) set up as just a (setq...) of all the vars,
everything got set correctly, but didn't seem to work. Now, when I
use the (planner-option-customized...) form, I get the following
error:
Error in init file: Invalid function: (planner-option-customized \
(quote planner-directory) "~/personal/diary")
Any ideas?
--
Seeya,
Paul
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [emacs-wiki-discuss] multiple planners & remembering in the right one,
Paul Lussier <=