[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Emacs enters a dead loop when publishing plan pages
From: |
赵雷 |
Subject: |
[emacs-wiki-discuss] Emacs enters a dead loop when publishing plan pages. |
Date: |
Thu, 2 Mar 2006 15:25:17 +0800 |
Hi there,
I just updated my planner and portaged my emacs-wiki to muse.
I meet a problem here. When publishing the planner pages, it seems
that emacs enters a dead loop, and I must use "Ctrl+g" to end it, with
nothing published.
Part of my muse-config file:
(unless (assoc "my-site-html" muse-publishing-styles)
(muse-derive-style "my-site-html" "html"
:header "~/webs/muse/header.html"
:footer "~/webs/muse/footer.html")
(muse-derive-style "my-planner-html" "planner-html"
~~~~~~~~~~~~~~~~~
:header "~/plans/muse/header.html"
:footer "~/plans/muse/footer.html"))
If I use "html" instead of "planner-html" , everything goes well but
of course, the pages are published without planner styles (task goes
without special tags around)
Part of my configuration is as follows:
##############################
# file .emacs
(require 'muse-config)
(require 'planner-config)
##############################
# file muse-config
;; Add to load path
(add-to-list 'load-path "~/emacs/site-lisp/muse/lisp")
;; Initialize
(require 'outline) ; I like outline-style faces
(require 'muse) ; load generic module
(require 'muse-colors) ; load coloring/font-lock module
(require 'muse-mode) ; load authoring mode
(require 'muse-blosxom) ; load blosxom module
(require 'muse-docbook) ; load DocBook publishing style
(require 'muse-html) ; load (X)HTML publishing style
(require 'muse-texinfo) ; load Info/PDF publishing styles
(require 'muse-wiki) ; load Wiki support
(require 'muse-xml) ; load experimental XML support
;;; Projects
(unless (assoc "my-site-html" muse-publishing-styles)
(muse-derive-style "my-site-html" "html"
:header "~/webs/muse/header.html"
:footer "~/webs/muse/footer.html")
(muse-derive-style "my-planner-html" "planner-html"
:header "~/plans/muse/header.html"
:footer "~/plans/muse/footer.html"))
(setq muse-project-alist
'(
("Website"
("~/website/"
:default "default")
(:base "my-site-html"
:path "~/public_html/website"))
("Plans"
("~/plans"
:default "TaskPool"
:major-mode planner-mode
:visit-link planner-visit-link)
(:base "my-planner-html"
:path "~/public_html/plans"))
))
;; ...
;; ...
(provide 'muse-config)
##############################
# file planner-config.el
(add-to-list 'load-path "~/emacs/site-lisp/planner")
(add-to-list 'load-path "~/emacs/site-lisp/planner/contrib")
(require 'planner)
(require 'planner-id)
(require 'planner-calendar)
(require 'planner-schedule)
(require 'planner-notes-index)
;; ...
;; ...
(provide 'planner-config)
#################################################
I first doubted if there is a cycle calling or something. So I tried
to put planner things to muse-config. But it doesn't work either.
Any suggestions?
Best Regards,
Zhao Lei
- [emacs-wiki-discuss] Emacs enters a dead loop when publishing plan pages.,
赵雷 <=