Hi Michael and other planners,

> maybe it is the same problem some other people (incl. me) discovered?
> IIRC we all use XEmacs.

Probably so, never tested with emacs. From the other threads, I hear that it is hard to produce a back-trace when this happened, I hope my previous back-trace would be useful.

>As a quick hack you can try to manipulate the last (insert ...) in >planner-publish-markup-note in the file planner-publish.el: (insert >"\n\n</content>\n</not>\n")))) After byte compiling and reloading I can >publish to html. The generated html is corrupt, but better than nothing.

Thanks, it works, and is certainly better then nothing. Only the *Notes sections are corrupt, each start with a visible <note anchor="11" timestamp="13:46" link="" categories=""> and terminate with a </not>. Nearly all my Plan & Day pages are published this way, however some of them resist. For instance, 2006.11.23.muse has just:

----
* Tasks


* Diary


* Notes

.#1 This is a dummy test note

And this is its body
---

however, muse-project-publish-this-file or muse-publish-this-file the warning/ back-trace. Now I'll try to figure out what is common in the problematic files (strange characters due UTF-8 enconding mistakes, file terminations, etc).

-- cumhur


(1) (muse/warning) An error occurred while publishing 2006.11.23: 
(end-of-buffer)

Set debug-on-error to `t' if you would like a backtrace.


Debugger entered--Lisp error: (end-of-buffer)
  delete-char(1)
  muse-publish-verse-tag(142 #<marker at 142 in  *muse-temp* 0xa9cdbbc>)
planner-publish-diary-section-tag(79 #<marker at 142 in *muse-temp* 0xa9cdbbc>) apply(planner-publish-diary-section-tag (79 #<marker at 142 in *muse-temp* 0xa9cdbbc>))
  muse-publish-markup-tag()
muse-publish-markup("2006.11.23" ((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) (3200 planner-date-regexp 0 link) (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 88 "2006.11.23" ("planner-xhtml" :base "planner-xhtml" :path "~/html/public_html/wiki")) muse-publish-markup-buffer("2006.11.23" ("planner-xhtml" :base "planner-xhtml" :path "~/html/public_html/wiki")) muse-publish-file("/home/cerkut/Project/plans/2006.11.23.muse" ("planner-xhtml" :base "planner-xhtml" :path "~/html/public_html/wiki") "~/html/public_html/wiki" nil) #<compiled-function (&optional force) "...(26)" [force muse-current-project output-dir buffer-file-name style muse-project-get-applicable-style muse-style-element :path muse-publish-file message "The published version is up-to-date; use C-u C-c C-t to force an update."] 5 ("/home/cerkut/.xemacs/xemacs-packages/lisp/muse/muse-project.elc" . 18643) (list current-prefix-arg)>(nil)
  call-interactively(muse-project-publish-this-file)
  command-execute(muse-project-publish-this-file t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)


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

Reply via email to