[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: Timeclock reports Re: planner-mode for contract
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: Timeclock reports Re: planner-mode for contractors (multi-layered planners?) |
Date: |
Tue, 14 Jun 2005 18:27:41 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
micah milano <address@hidden> writes:
>> (insert (planner-timeclock-summary-format-list
>> (planner-timeclock-summary-get-day-list "2005.06.09" "planner")))
...
> (insert (planner-timeclock-summary-format-list
>> (planner-timeclock-summary-geDefinition hyperlink not found, so inserting
>> definition here.
> This one did put the information in the plan file. I am not sure I
> understand the difference between the two (except for me, one works and one
> doesn't ;)
Oops! Sorry about the confusion.
I haven't written a nice interface for this functionality yet,
but this might help:
(defun micah/planner-timeclock-summary-report (date this-page)
"Insert a timeclock summary report at this point.
If called with an interactive prefix, prompt for DATE, else use
today. If called from a plan page, return only tasks for that
page, else return all tasks."
(interactive
(list (if current-prefix-arg (planner-read-date) (planner-today))
(when (and (planner-page-name)
(not (string-match planner-date-regexp (planner-page-name))))
(planner-page-name))))
(insert (planner-timeclock-summary-format-list
(planner-timeclock-summary-get-day-list date this-page))))
--
Sacha Chua <address@hidden> - open source geekette
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
interests: emacs, gnu/linux, personal information management, CS ed
sachac on irc.freenode.net#emacs . YM: sachachua83
Re: [emacs-wiki-discuss] planner-mode for contractors (multi-layered planners?), Dryice Liu, 2005/06/01
Re: [emacs-wiki-discuss] planner-mode for contractors (multi-layered planners?), Chris Parsons, 2005/06/02