[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] hooks for planner-calendar
From: |
Sebastian Luque |
Subject: |
[emacs-wiki-discuss] hooks for planner-calendar |
Date: |
Wed, 09 Mar 2005 00:15:36 -0600 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
I'm having difficulties with the following code from the planner manual in
my system:
,-----[ (info "(planner-el)Publishing Calendars") <lines: 8 - 20> ]
| (require 'planner-calendar)
| (add-hook
| 'planner-mode-hook
| (lambda ()
| "Add the relevant hooks for `planner-calendar' to work."
| (add-hook 'emacs-wiki-before-markup-hook
| 'planner-calendar-insert-calendar-maybe nil t)
| (add-hook 'emacs-wiki-after-file-publish
| 'planner-calendar-create-today-link nil t)
| (add-hook 'emacs-wiki-after-markup-hook
| 'planner-calendar-move-calendar-to-top-of-page-maybe
| nil t)))
`-----
When publishing a day page, I get the error "Buffer *temp*<2> modified;
kill anyway? (y or n)" and with any answer, I get a second error message
"Search failed: "<table class=\"month-calendar\"".
I was able to somewhat isolate the problem, and the command that is
causing these errors is the last one:
planner-calendar-move-calendar-to-top-of-page-maybe. Does somebody have
some idea?
Thanks in advance,
--
Sebastian Luque
- [emacs-wiki-discuss] hooks for planner-calendar,
Sebastian Luque <=