[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: where does emacs-wiki end and muse begin?
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: where does emacs-wiki end and muse begin? |
Date: |
Mon, 31 Oct 2005 10:25:49 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Paul Lussier <address@hidden> writes:
> I'm slightly confused as to where muse begins and emacs-wiki ends.
>
> - Do I still need emacs-wiki installed?
No. But you might want to (require 'muse-wiki), which adds WikiName
support for Muse.
> - Do I still need to customize emacs-wiki variables, or are the now
> muse variables?
No, you don't need to customize emacs-wiki variables.
planner-option-customized does the functional equivalent of "set" now,
so there's no need to use it anymore.
By the way: if you want project-specific settings, use the :set tag in
muse-project-alist like this.
(setq muse-project-alist
`(("Diary"
("~/personal/diary"
;; other stuff
:set (variable1 value1
variable2 value2
variable3 value3))
(:base "planner-xhtml"
:path "~/personal/diary/www")))
;; other projects)
It's much like the syntax for setq.
> - What do I use to publish my planner-muse files? Is it still
> emacs-wiki-publish? That seems un-intuitive at the very least.
M-x muse-project-publish or C-c C-p.
Here's a version of your configuration snippet that should work. Note
that the :base should be planner-xhtml rather than xhtml.
; Set default planner project:
;; if at home - use this location
(if (string-match "taz" (system-name))
(setq planner-project "Diary")
;; if not at home, use this:
(setq planner-project "Planner"))
(setq muse-project-alist
`(("Diary"
("~/personal/diary"
:force-publish ("Index")
:default "WelcomePage"
:major-mode planner-mode
:visit-link planner-visit-link)
(:base "planner-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 "planner-xhtml"
;; value of `planner-publishing-directory'
:path "~/public_html/Plans"))))
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
|_] | \| |_| Jabber: mwolson_at_hcoop.net
pgpgIvpfJFN7c.pgp
Description: PGP signature