emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: modifying the format of planner-tasks-overview


From: Janne Hellsten
Subject: [emacs-wiki-discuss] Re: modifying the format of planner-tasks-overview
Date: Fri, 5 Aug 2005 12:02:53 +0900

Actually, the attached patch might explain better what I'm after.

Here's how I use it to get plain text task overviews:

-- clip --
(defun janne/planner-tasks-overview-insert-it ()
  "Insert the textual representation for `planner-tasks-overview-data'."
  (mapcar
   (lambda (item)
     (let ((text
            (format "%10s | %s | %s %s \n\n%s\n\n"
                    (if (elt item 2) (elt item 2) "")
                    (if (elt item 3) (elt item 3) "")
                    (elt item 0)
                    (elt item 1)
                    (elt item 4))))
       (insert text)))
   planner-tasks-overview-data))

(custom-set-variables
 '(planner-tasks-overview-format-tasks-function
'janne/planner-tasks-overview-insert-it))
-- clip --

BR,
Janne

Attachment: planner-tasks-format-patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]