[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Possible "bugs" in emacs-wiki 2.69
From: |
Li Xianxiang |
Subject: |
[emacs-wiki-discuss] Possible "bugs" in emacs-wiki 2.69 |
Date: |
Thu, 28 Apr 2005 12:39:54 +0800 |
hello,
I am writing to report two possible bugs in the emacs-wiki 2.69. I use
GNU Emacs 21.3.21FC3 and the latest version of emacs-wiki-journal.
(1) A XHTML validation bug
If a page I want to publish is like this:
* First level heading
<!--2005-04-27-->
The text...
and I enter "C-c C-p" to publish it, you will find in the HTML source
that before the "The text...", there is a "</p>" and no "<p>" before it.
This will cause a "not strictly valid XHTML" warning when you validate
this page through W3C. You can take a look at my homepage to see what it
is like:
http://lixx.ipchina.org/blog/WelcomePage.html#categorylinux3
The problem may be in the line 511 of emacs-wiki-publish.el file, in the
function of "emacs-wiki-publishing-markup".
(2) A possible "emacs-wiki-edit-link-at-point" bug
I have two projects in my web. The settings of my emacs-wiki are
like this:
(setq emacs-wiki-projects
`(("Webpage" .
((emacs-wiki-directories . ("~/Wiki/webpage"))
(emacs-wiki-project-server-prefix . "../webpage/")
(emacs-wiki-publishing-directory . "~/publish/webpage")))
("Blog" .
((emacs-wiki-directories . ("~/Wiki/blog"))
(emacs-wiki-project-server-prefix . "../blog/")
(emacs-wiki-publishing-directory . "~/publish/blog")))))
(emacs-wiki-update-project-interwikis)
So I can refer to the pages in the other project like this
Blog#CategoryLinux. Sometimes I want to edit this link through "C-c C-
e", in the command buffer, I "Blog#CategoryLinux" to link and
"CategoryLinux" to text. However, I find emacs-wiki translate this link
to its physical directory "/home/lixx/Wiki/blog/CategoryLinux". When I
publish this page, this link is "http://lixx.ipchina.org/home/lixx/...",
apparently wrong.
This problem may be circumvented by using emacs-wiki-interwiki-names to
refer to other projects. I actually use this function to add some
external link. But I still wonder how this happens. So I use Edebug to
debug the file emacs-wiki.el and find the problem may occure in the
function "emacs-wiki-wiki-link-target". I have little knowledge in
Elisp, so I don't know how to fix these two possible "bugs".
Xianxiang Li
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [emacs-wiki-discuss] Possible "bugs" in emacs-wiki 2.69,
Li Xianxiang <=