全新的繁體中文 WordPress 網站

emacs的WikiIndex解決方案

最近更新emacs(Aquamacs)和emacs-wiki,發現emacs-wiki在publish後原有的WikiIndex全亂的…在請出Google後發現原因:

[emacs-wiki-discuss] Re: [bug #14465] missing href to WikiIndex.html
From: Pascal Quesseveur
Subject: [emacs-wiki-discuss] Re: [bug #14465] missing href to WikiIndex.html
Date: Thu, 8 Sep 2005 17:26:51 +0200

>”TM” == TAKAGI Masahiro

writes:

TM> I found the href to WikiIndex.html in the footer was broken in recent
TM> versions of emacs-wiki. This problem seems to be caused by the change
TM> of (emaacs-wiki-link-href) in patch-112:

> * emacs-wiki-publish.el (emacs-wiki-link-href): Use emacs-wiki-link-url
> instead of emacs-wiki-published-name.

TM> (emacs-wiki-link-href “WikiIndex” “Index”) returns Index.

This is caused by the fact emacs-wiki-index-page doesn’t exist in the
Wiki main dir. A workaround is to create an empty index file in the Wiki
main dir. The following patch tries to correct the problem (it works
on my config).

資料來源:http://lists.gnu.org/archive/html/emacs-wiki-discuss/2005-09/msg00053.html

採用最簡單的治標之道:在wiki目錄下先建個空的WikiIndex檔案,於是解決這個問題。

發佈留言