> GtdAtComputer (<lisp>(chrismdp/planner-count-tasks "GtdAtComputer"
> "_")</lisp> open tasks, <lisp>(chrismdp/planner-count-tasks
> "GtdAtComputer" "_" "A")</lisp> high priority)
> GtdHome (<lisp>(chrismdp/planner-count-tasks "GtdHome" "_")</lisp> open
> tasks, <lisp>(chrismdp/planner-count-tasks "GtdHome" "_" "A")</lisp>
> high priority)

I tried to be clever and replace the above with this:

-- clip clip --
<lisp>
(mapconcat
 (lambda (x)
   (format "%s (%i open tasks, %i high priority)" x
           (chrismdp/planner-count-tasks x "_")
           (chrismdp/planner-count-tasks x "_" "A")))
 (list "GtdAtComputer" 
       "GtdHome") "\n")
</lisp>
-- clip clip --

But it looks like Wiki treats the <lisp> block as one entity, and does
not try to scan it for links etc.  This means that the above, although
working, does not create links to the plan pages in the list.

I wonder if there's a way to get the <lisp> block's output somehow
evaluated by emacs-wiki after the block's value is reduced to a
string.  I'm a complete planner 00b, so please excuse me if this is
FAQ.

Best regards,
Janne


_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to