From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Agenda clock report - adding new columns Date: Thu, 16 Apr 2009 11:40:57 -0400 Message-ID: <87d4bcy5bq.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuTiA-00041i-2x for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 11:41:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuTi6-0003zp-60 for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 11:41:09 -0400 Received: from [199.232.76.173] (port=54681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuTi5-0003zc-Sz for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 11:41:05 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:51910) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LuTi5-0007zw-FS for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 11:41:05 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Hi Carsten, I use the daily agenda clock report to see how much time I've spent on tasks for today (C-c a a R). Is there a way to add a column to this report? I get a daily clock report like this: | File | L | Headline | Time | | | |------------+---+-------------+--------+------+------| | tasks.org | 1 | Do Stuff | 0:30 | | | | tasks.org | 2 | Subtask 1 | | 0:15 | | | tasks.org | 2 | Subtask 2 | | 0:15 | | | tasks.org | 3 | Subtask 2.1 | | | 0:15 | where Time is the clocked time. I'd like to be able to add a column based on a property (MINMAX) of the task so the report would look like this: | File | L | Headline | MinMax | Time | | | |------------+---+-------------+--------|-------+------+------| | tasks.org | 1 | Do Stuff | 1:00 | 0:30 | | | | tasks.org | 2 | Subtask 1 | | | 0:15 | | | tasks.org | 2 | Subtask 2 | | | 0:15 | | | tasks.org | 3 | Subtask 2.1 | | | | 0:15 | I don't care if the MinMax column is before or after the Time data but it would be nice to display it somewhere along with the tasks. What I'm trying to accomplish is an easy way to see where I'm spending too little or too much of my day. Some tasks I want an upper bound on time spent (like playing around with org mode for instance) and others I want a minimum amount of time spent (such as actually working on paid projects). For these tasks I would have daily repeaters so they can go TODO -> STARTED -> DONE and I'll just mark them DONE when enough work for the day is complete. The tasks would automatically reschedule for the next day when they are marked as DONE. I'm just looking for a quick reminder of - don't spend more than this amount of time on task X - spend at least this amount of time on tasks Y and Z each day. I know other people (including you) have limits on the amount of time they spend on a task in a day but I haven't really found a good working solution for this yet that fits my needs. For a single task this is easy but I'd like to not have to remember the limits for multiple tasks -- that's what I use org for ;) to get all these details out of my head. Is something like this doable? Does anyone have a better idea for how to deal with this? -Bernt