wiki-projects.el --- manage wiki projects
This code allows you to switch between different wiki projects. Every project is associated with a list of wiki directories, a publishing directory and publishing rules.
Customize `wiki-projects' to set them up. The default setup includes a public and a private project. The public project uses the ~/Wiki directory and publishes HTML files into the ~/WebWiki? directory. The private project uses the ~/Wiki and the ~/Notes directories and it disables publishing.
If you do not customize `wiki-projects' , the public project will take the default values from the variables `wiki-pub-directory', `wiki-directories' and `wiki-pub-rules'. Once you customize `wiki-projects', switching to a project will overwrite any values stored in those three variables.
As I used plain WikiMode before, what I did to define a little extra wiki project for temporary pages from the EmacsWiki is the following code in my .emacs file:
(load "wiki-projects")
(add-to-list 'wiki-projects
`("EmacsWiki" (,(expand-file-name"~/EmacsWiki/")) nil nil))
Don't mode me
Unfortunately this introduces "modes" -- if you want to treat a certain file as a wiki page, you have to be sure to be using the correct project. Maybe I should make publishing directory and publishing rules buffer local variables. If you need this, send me some FeedBack. One unresolved issue with that is what to do with pages that are part of several projects.
SiteMap / AllPages / Out / kensanata@gmail.com / Last change: 2001-05-22