reopen #350515

thanks

With:

ii  planner-el               3.41-1            personal information manager for 
Emacs
ii  emacs-snapshot-gtk       20060623-1        The GNU Emacs editor (with GTK+ 
2.x support)

This bug keeps happening, but I actually have found its root.

The problem is present when the user hasn't loaded the planner
'planner-publish file and has a setup as suggested in the docs:

(setq muse-project-alist
      '(("PlansWiki"
         ("~/my/Plans"
          :default "TaskPool" 
          :major-mode planner-mode
          :visit-link planner-visit-link)
         (:base "planner-xhtml"
                :path "~/my/Plans/Exported"))))

Then the style parameter will be planner-xthml when
muse-style-run-hooks is called:

(defun muse-style-run-hooks (keyword style &rest args)
  (let (handled)
    (while (and style (not handled))
      (setq style (muse-style style))
      (let ((func (muse-get-keyword keyword style t)))
        (if func
            (if (apply func args)
                (setq handled t))))
      (unless handled
        (setq style (muse-style-element :base style))))
    handled))

and muse-style 'planner-xhtml is nil, causing the function to loop
forever: style <- planner-xhtml ; handled <- false ; style <- nil;
func <- nil; handled <- false ; style <- planner-xthml; loop

Regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to