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

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

[emacs-wiki-discuss] planner-muse: setup trouble, mismatched muse versio


From: Gerd Flaig
Subject: [emacs-wiki-discuss] planner-muse: setup trouble, mismatched muse version?
Date: Sun, 11 Dec 2005 15:39:53 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Hi,

while trying to setup planner-muse, I get errors like the following
when publishing:

   WelcomePage: Error occured: (void-function muse-insert-markup)
   
   ((insert-file-contents file)
    (muse-publish-markup-buffer
     (muse-page-name file)
     style)
    (let
        ((backup-inhibited t))
      (write-file output-path))
    (muse-style-run-hooks :final style file output-path target))

I have looked at the code and found

   (if (fboundp 'muse-insert-markup)
       (defalias 'planner-insert-markup 'muse-insert-markup)
     (defsubst planner-insert-markup (&rest args)
       (apply 'insert args)))

in planner-publish.el, which is the only reference to
muse-insert-markup in planner-muse apart from planner-authz, which I
don't use. Evaluating (fboundp 'muse-insert-markup) yields nil.

Muse itself does not contain the string muse-insert-markup in any .el
file. When I evaluate (planner-insert-markup "test"), the text "test"
is inserted in the current buffer as expected. When I evaluate
(muse-publish-this-file "planner-html""/tmp"), the error shown above
occurs.

Now I'm confused and don't know how to continue debugging this. Hints
would be greatly appreciated.

The relevant .emacs portions are:

   ;; muse
   (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
   (require 'muse-project)
   
   (setq muse-project-alist
         '(("training" ; pages related to training
         ("~/wrk/training/" :default "index")
         (:base "html" :path "~/public_html/training/")
         ;;(:base "pdf" :path "~/public_html/training/pdf/")
         )
        ("Planner"
         ("~/plans" :default "index" :major-mode planner-mode
          :visit-link planner-visit-link)
         (:base "planner-html" :path "~/public_html/plans/"))))
   
   ;; Planner
   (require 'planner)
   (require 'planner-bbdb)
   (require 'planner-lisp)
   (require 'planner-psvn)
   (require 'planner-publish)
   (require 'planner-xtla)
   (setq planner-project "Planner")

ii  muse-el        3.02.02-1      Author and publish projects using Wiki-like 
ii  planner-muse-e 3.30.arch.95-1 personal information manager for Emacs (Muse

planner-muse-el has been generated via 'dpkg-buildpackage -rfakeroot
-uc -us -b' from
address@hidden/planner-muse--peter--1.0--patch-15
because www.mwolson.org gives me connection refused. The muse-el
package is the latest one from Debian sid.

     Goodbyte, Gerd.
-- 
The last thing one knows in constructing a work is what to put first.
                -- Blaise Pascal





reply via email to

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