I'm running planner-version "3.41" and muse-version "3.02.92".

Calling (muse-project-publish) on my planner works alright if I do not make
use
of notes.  I then always get the following message:

                 All pages in WikiPlanner have been published.

On the other hand, whenever there is at least one note in one of my day
pages, publishing
them leads to entering into an infinite loop.  Here is the backtrace:


Debugger entered--Lisp error: (quit)
  replace-in-string("" "" "" t)
  planner-replace-regexp-in-string("" "" "" t t)
  planner-publish-note-tag(3273 #<marker at 3444 in  *muse-temp* 0x8bc7d0c>
(("anchor" . "1") ("timestamp") ("\"\"") ("link") ("\"\"") ("categories")
("\"\"")))
  apply(planner-publish-note-tag (3273 #<marker at 3444 in  *muse-temp*
0x8bc7d0c> (("anchor" . "1") ("timestamp") ("\"\"") ("link") ("\"\"")
("categories") ("\"\""))))
  muse-publish-markup-tag()
  muse-publish-markup("2006.08.31" ((1000 "\\(\\`\n+\\|\n+\\'\\)" 0 "")
(1100 "[        ]+$" 0 "") (1200 "\\`#\\([a-zA-Z-]+\\)\\s-+\\(.+\\)\n+" 0
directive) (1275 "^#\\([A-C]\\)\\([0-9]*\\)\\s-*\\([_oXDCP]\\)\\s-*\\(.+\\)"
0 task) (1280 "^\\.#[0-9]+\\s-*" 0 note) (1300 muse-tag-regexp 0 tag) (1350
"^;\\s-+\\(.+\\)" 0 comment) (1400 muse-explicit-link-regexp 0
muse-publish-mark-link) (1600 "\\(^\\|[-[       <('`\"\n]\\)\\(=[^=     
\n]\\|_[^_ 
\n]\\|\\*+[^*   \n]\\)" 2 word) (1700 "^\\(\\*+\\)\\s-+" 0 heading) (1800
"\\.\\.\\.\\." 0 enddots) (1850 "\\.\\.\\." 0 dots) (1900 "^----+" 0 rule)
(1950 "~~" 0 no-break-space) (2000 "^Footnotes:?\\s-*" 0 fn-sep) (2100
"\\[\\([1-9][0-9]*\\)\\]" 0 footnote) (2200 "^[         ]*\\([  ]-[     ]*\\|[ 
][0-9]+\\.[     ]*\\|\\([^\n    ].*?\\)?::\\(?:[        ]+\\|$\\)\\)" 0 list) 
(2300
"\\(\\([        ]*\n\\)?\\(^.*[         ]+\\(|+\\)\\(?:[ 
]\\|$\\).*\\(?:\n\\|\\'\\)\\)\\)+" 0 table) (2400 "^\\([        ]+\\).+" 0 
quote)
(2500 "\\(^\\|[         ]*\\)--\\($\\|[         ]*\\)" 0 emdash) (2600 "^[      
]*> " 0 verse)
(2700 "^\\(\\W*\\)#\\(\\S-+\\)\\s-*" 0 anchor) (2900
muse-explicit-link-regexp 0 link) (3000 muse-url-regexp 0 url) (3100
muse-wiki-interwiki-regexp 0 link) (3200 muse-wiki-wikiword-regexp 0 link)
(3200 planner-date-regexp 0 link) (3300 "''''" 0 "") (3500
"\\([^[]\\)[EMAIL PROTECTED]([-a-zA-z0-9_]+\\.\\)+[a-zA-Z0-9]+" 0 email)
(10000 "\\(\\(\n\\(?:[  ]*\n\\)*\\([    ]*\n\\)\\)\\|\\`\\s-*\\|\\s-*\\'\\)" 3
muse-html-markup-paragraph)))
  muse-publish-markup-region(1 1686 "2006.08.31" (:base "planner-html" :path
"~/muse-target/agenda"))
  muse-publish-markup-buffer("2006.08.31" (:base "planner-html" :path
"~/muse-target/agenda"))
  byte-code("..." [target backup-inhibited temp-buffer output-path style
file insert-file-contents muse-publish-markup-buffer muse-page-name t
write-file muse-style-run-hooks :final] 6)
  muse-publish-file("/home/rene/muse-source/agenda/2006.08.31.muse" (:base
"planner-html" :path "~/muse-target/agenda") "~/muse-target/agenda" nil)
  muse-project-publish-file("/home/rene/muse-source/agenda/2006.08.31.muse"
((:base "planner-html" :path "~/muse-target/agenda")) nil)
  #<compiled-function (project &optional force) "...(202)"
[--dolist-temp--28516 pair forced-files value styles project
muse-project-of-file assoc signal muse-assertion-failed (consp project) nil
muse-publish-get-style error "Cannot find a project to publish"
muse-project-save-buffers run-hook-with-args
muse-before-project-publish-hook :force-publish muse-project-file-alist
muse-project-publish-file delete t muse-after-project-publish-hook message
"All pages in %s have been published." "No pages in %s need publishing at
this time." --dolist-temp--28517 published file-alist file
muse-current-project direct list muse-project-alist keyword force] 6
("/usr/share/xemacs21/site-lisp/muse-el/muse-project.elc" . 18787) (list
(muse-read-project "Publish project: " nil t)
current-prefix-arg)>(("WikiPlanner" ("~/muse-source/agenda" :default
"WelcomePage" :force-publish ("index") :major-mode planner-mode :visit-link
planner-visit-link) (:base "planner-html" :path "~/muse-target/agenda"))
nil)
  call-interactively(muse-project-publish)

Any idea about the cause... and remedy?

--
René
-- 
View this message in context: 
http://www.nabble.com/Cannot-publish-notes-tf2220159.html#a6149854
Sent from the Planner-el-discuss forum at Nabble.com.


_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss

Reply via email to