|
Re: wiki-project: msg#00109emacs.wiki.general
> But how do I create another wiki project to switch to? In your setup files, by fiddling with the lisp variable "emacs-wiki-projects". Here's an example. It sets up three projects, with files in ~/public_html/MainProject, ~/public_html/AnotherProject, and ~/public_html/ProjectNumberThree. Wiki files within those directories are published, respectively, to ~/public_html/mainproject, ~/public_html/anotherproject, and ~/public_html/projectnumberthree. (Following Sacha, I try to keep everything, published files and source, inside my public_html so that interested web readers can compare the original source files with the published html) Anyway, lisp snippetry follows: (setq emacs-wiki-projects '( ("MainProject" . ((emacs-wiki-directories . ("~/public_html/MainProject")) (emacs-wiki-project-server-prefix . "../mainproject/") (emacs-wiki-publishing-directory . "~/public_html/mainproject"))) ("AnotherProject" . ((emacs-wiki-directories . ("~/public_html/AnotherProject")) (emacs-wiki-project-server-prefix . "../anotherproject/") (emacs-wiki-publishing-directory . "~/public_html/anotherproject"))) ("ProjectNumberThree" . ((emacs-wiki-directories . ("~/public_html/ProjectNumberThree")) (emacs-wiki-project-server-prefix . "../projectnumberthree/") (emacs-wiki-publishing-directory . "~/public_html/projectnumberthree"))) )) If you invoked that, then provided you are already in a buffer of a file within any of the three emacs-wiki-directories, hitting C-c C-v should allow you to switch to any of the three projects. C-c C-p within any of them will publish that particular projects files. tc |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | wiki-project: 00109, Raimund Kohl-Fuechsle |
|---|---|
| Next by Date: | Configuration with sub-directories: 00109, Pascal Quesseveur |
| Previous by Thread: | wiki-projecti: 00109, Raimund Kohl-Fuechsle |
| Next by Thread: | Re: wiki-project: 00109, Yamagata Yoriyuki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |