Hi,

I'd appreciate if you could include the following trivial patch for
planner-publish.el. The patch adds a unique id attribute to the span
elements wrapping each task. The id is built from the task priority
and the task number (the current version requires task numbers, but
someone in the know may come up with a modified patch which also works
if there are no task numbers).

regards,
Markus

--- planner-publish.el.orig     Tue Nov 27 22:39:31 2007
+++ planner-publish.el  Tue Nov 27 22:46:53 2007
@@ -204,7 +204,7 @@
     (planner-end-task-body       . "</ul>")
     (planner-begin-note-section  . "<div id=\"notes\" class=\"section\">")
     (planner-end-note-section    . "</div>")
-    (planner-begin-task   . "<li class=\"task\"><span class=\"%s\"><span 
class=\"%s\">%s</span>")
+    (planner-begin-task   . "<li class=\"task\"><span class=\"%s\"><span 
class=\"%s\" id=\"%s\">%s</span>")
     (planner-end-task     . "</span></li>")
     (planner-begin-note   . "<div class=\"note\"><a name=\"%s\"></a><span 
class=\"anchor\">%s</span>")
     (planner-end-note     . "</div>")
@@ -579,6 +579,7 @@
        (muse-markup-text 'planner-begin-task
                          status
                          priority
+                        (concat priority number)
                          (concat priority number " "
                                  (planner-publish-task-status-collapse status)
                                  " "))))))


-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


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

Reply via email to