[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] more than one wiki directory?
From: |
Volker Dormeyer |
Subject: |
Re: [emacs-wiki-discuss] more than one wiki directory? |
Date: |
Wed, 7 Jan 2004 00:33:57 +0100 |
User-agent: |
Mutt/1.5.4i |
Hello Raimund,
From: Raimund Kohl-Fuechsle <address@hidden>
Date: Tue, Jan 06, 2004 at 11:47:19PM +0100
Subject: [emacs-wiki-discuss] more than one wiki directory?
> I have a very similar problem ... I wonder if there is a way to have
> more than just one directory to use the wiki machine. In my /user/home
> (Debian woody) I have a directory called /Wiki. If I open a file in
> that directory it is a wiki file. If I add a subdirectory within /Wiki
> and open a file there it is NOT a wiki file. I have to call M-x
> emacs-wiki-mode manualy to put me back in wiki-mode ... and that I have
> to do with each new file I create.
you can add the additional subdirectories to the emacs-wiki-directories
varible. They will be recognized, then.
> What I have in mind is to have several projects ... each single project
> in one directory, to not get confused when browsing through the files
> with dired.
Another way is to use real projects like the following:
(setq emacs-wiki-projects
'(("default" . ((emacs-wiki-directories . ("~/priv/Wiki/WorkPage"))
(emacs-wiki-publishing-directory
. "~/priv/WebWiki/WorkPage")
(emacs-wiki-major-mode . planner-mode)))
("homepage" . ((emacs-wiki-directories . ("~/priv/Wiki/HomePage"))
(emacs-wiki-publishing-directory
. "~/priv/WebWiki/HomePage")))
))
You can switch between the defined projects by using C-c C-v. More than one
directory can bee added to the emacs-wiki-directories variable here, too.
> Did I overlook something? Is this just a stupid question? How do I get
> along with that? I googled around, but couldn't find some infos about
> it.
Hope this helps.
Regards
Volker