|Listing GTD contexts with Planner
||[14 Mar 2006|02:41am]
This is just a quick hack to insert links at point in a planner buffer to all the planner pages whose names start with '@'. dydimustk on #emacs requested something like this, seems like it would be useful for the Getting Things Done types, since '@' is often used to signify a context like @Home or @Work. Automating it is a little more complicated. Maybe later.
(defun dyd/planner-list-contexts ()
"Insert links at point for all planner pages whose names start with @."
(let* ((planner-list (muse-project-file-alist planner-project))
(if (string-match "^@" (car page)) (car page)))
(insert (planner-make-link context) "\n"))