[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: planner-multi and planner-timeclock-summary
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: planner-multi and planner-timeclock-summary |
Date: |
Tue, 05 Jul 2005 02:00:06 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Chris Parsons <address@hidden> writes:
> No so sure in multiple headings, for the same reasons as Dryice. My plan
> is to put the important page first on the task list and the GTD context
> as the second page, so I'm not sure I'd use it.
Okay, the default behavior should be fine, then. =)
> The only problem now is that planner-timeclock-summary doesn't handle
> [[links in brackets]] very well (puts them in a seperate grouping). I've
> tried to fix it, but I've run out of time :(
This patch uses planner-link-base to get the link in brackets properly, I think.
Might be handy. Should I merge it?
--- orig/planner-timeclock-summary.el
+++ mod/planner-timeclock-summary.el
@@ -218,11 +218,12 @@
(setq entry (car data-list))
(setq data-list (cdr data-list))
(setq task-data (planner-timeclock-task-info entry))
- (let ((entry-project-name
- (or (planner-timeclock-task-plan task-data)
- planner-timeclock-summary-not-planned-string))
- (entry-task-name (planner-timeclock-task-description task-data))
- (entry-task-length (planner-timeclock-task-length task-data)))
+ (let* ((plan (planner-timeclock-task-plan task-data))
+ (entry-project-name (if plan
+ (planner-link-base plan)
+
planner-timeclock-summary-not-planned-string))
+ (entry-task-name (planner-timeclock-task-description task-data))
+ (entry-task-length (planner-timeclock-task-length task-data)))
;; total time
(if target-data
(setcar target-data (+ (car target-data) entry-task-length))
--
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