emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Planner Feature : Publishing Calendars


From: Christian Clercin
Subject: [emacs-wiki-discuss] Planner Feature : Publishing Calendars
Date: Sat, 11 Mar 2006 19:37:02 +0100
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

question about the snippet (6.8.1) for publishing calendars in day pages .
I put the example code in my .xemacs/init.el file

     (require 'planner-calendar)
     (eval-after-load "muse-publish"
       '(progn
          (add-hook 'muse-before-publish-hook
                    'planner-calendar-insert-calendar-maybe nil t)
          (add-hook 'muse-after-publish-hook
                    'planner-calendar-create-today-link t t)
          (add-hook 'muse-after-publish-hook
                    'planner-calendar-move-calendar-to-top-of-page-maybe
                    t t)))

After un exit I came back in Xemacs whith my plan file, did change to
publish again.
At the moment of C-c C-P ing the pages, I got that error :
=================== Text of error ========================
Debugger entered--Lisp error: (search-failed "<table
class=\"month-calendar\"")
  search-forward("<table class=\"month-calendar\"")
  planner-calendar-move-calendar-to-top-of-page-maybe()
  run-hooks(planner-calendar-move-calendar-to-top-of-page-maybe)
  muse-publish-markup-buffer("2006.03.21" (:base "planner-xhtml" :path
"~/public_html/Plans"))
  muse-publish-file("/home/clercin/Plans/2006.03.21.muse" (:base
"planner-xhtml" :path "~/public_html/Plans") "~/public_html/Plans" nil)
  muse-project-publish-file("/home/clercin/Plans/2006.03.21.muse"
((:base "planner-xhtml" :path "~/public_html/Plans")) nil)
  #<compiled-function (project &optional force) "...(216)" [pair
forced-files value muse-publishing-styles styles project
muse-project-of-file assoc signal muse-assertion-failed (consp project)
nil 1 completing-read "Publish with style: " t muse-project-save-buffers
run-hook-with-args muse-before-project-publish-hook :force-publish
muse-project-file-alist muse-project-publish-file delete
muse-after-project-publish-hook message "All pages in %s have been
published." "No pages in %s need publishing at this time."
--dolist-temp--3807 --dolist-temp--3808 published file-alist file
muse-current-project direct list muse-project-alist keyword force] 7
("/usr/share/xemacs/site-lisp/muse/muse-project.elc" . 15276) (list
(muse-read-project "Publish project: " nil t)
current-prefix-arg)>(("WikiPlan" ("~/Plans" :default "TaskPool"
:major-mode planner-mode :visit-link planner-visit-link) (:base
"planner-xhtml" :path "~/public_html/Plans")) nil)
  call-interactively(muse-project-publish)
================================================================

the files planner-calendar.{el, elc} are there.

Where does my error stand ? Thanks.
-- 
CLERCIN Christian
SCAC Antenne Douala - CAMEROUN
Projet Cométes
BP 4012 Tél. (237) 981.45.45





reply via email to

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