[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Wiki Links not working and empty index file

From: Shuang Wu
Subject: [emacs-wiki-discuss] Wiki Links not working and empty index file
Date: Wed, 06 Oct 2004 18:42:08 -0700
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

Hi, guys,
I have been trying to use emacs-wiki for a while, but stuck with this weird problem. No matter what I do, wiki links are replaced by my email address when publishing the page. It seems like they are not recognized as wiki link. Meanwhile the WikiIndex page is blank, which kind of confirm my suspicion. What could the problem be?
  Here is my setting in .emacs
(require 'emacs-wiki)
(require 'emacs-wiki-menu)
(add-hook 'emacs-wiki-mode-hook
                  (lambda ()
                        (define-key emacs-wiki-mode-map (kbd "C-c C-h") 
(define-key emacs-wiki-mode-map (kbd "C-c C-c") 'emacs-wiki-preview-source)
                        (add-hook 'after-save-hook 'emacs-wiki-auto-publish nil 

(setq emacs-wiki-default-page "HomePage"
          emacs-wiki-home-page emacs-wiki-default-page
          emacs-wiki-publishing-transforms '(("HomePage" . "index"))
          emacs-wiki-index-page "WikiIndex"
          emacs-wiki-maintainer "mailto:address@hidden";
          emacs-wiki-charset-default "utf-8"
          emacs-wiki-directory '("~/Wiki")
          emacs-wiki-publishing-directory "~/www.export"

          emacs-wiki-inline-relative-to 'emacs-wiki-publishing-directory
          emacs-wiki-pretty-changelogs t

(defun emacs-wiki-preview-source ()
  (find-file (emacs-wiki-published-file)))

(defun emacs-wiki-preview-html ()
  (browse-url (emacs-wiki-published-file)))

;Automatically publish files upon saving
(defun emacs-wiki-auto-publish ()
  (when (derived-mode-p 'emacs-wiki-mode)
    (unless emacs-wiki-publishing-p
      (let ((emacs-wiki-publishing-p t)
            (emacs-wiki-after-wiki-publish-hook nil))

(setq emacs-wiki-projects
      `(("default" . ((emacs-wiki-directories . ("~/WiKi"))))))

And this is a sample wiki page I wrote:
#title Shuang Wu's Homepage
#style global.css
* Research
* Interests
** GnuLinux
* Misc
- [[Links]]

Now both "GnuLinux" and "Links" are not working. Please give me some hints here. I really appreciate it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]