[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Planenr snippet: count tasks in page
From: |
Janne Hellsten |
Subject: |
Re: [emacs-wiki-discuss] Planenr snippet: count tasks in page |
Date: |
Wed, 20 Jul 2005 21:56:47 +0900 |
> 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] Planenr snippet: count tasks in page, Chris Parsons, 2005/07/20
- Re: [emacs-wiki-discuss] Planenr snippet: count tasks in page, Xavier Maillard, 2005/07/20
- Re: [emacs-wiki-discuss] Planenr snippet: count tasks in page,
Janne Hellsten <=
- Re: [emacs-wiki-discuss] Planenr snippet: count tasks in page, Alex Kavanagh, 2005/07/23
- [emacs-wiki-discuss] Re: Planenr snippet: count tasks in page, Michael Olson, 2005/07/24
- Re: [emacs-wiki-discuss] Re: Planenr snippet: count tasks in page, Alex Kavanagh, 2005/07/24
- [emacs-wiki-discuss] Re: Planenr snippet: count tasks in page, Michael Olson, 2005/07/25
- Re: [emacs-wiki-discuss] Re: Planenr snippet: count tasks in page, Alex Kavanagh, 2005/07/25
- [emacs-wiki-discuss] Re: Planenr snippet: count tasks in page, Michael Olson, 2005/07/25
- Re: [emacs-wiki-discuss] Re: Planenr snippet: count tasks in page, Alex Kavanagh, 2005/07/26