From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher DeMarco Subject: Using the agenda to calculate how much work I have scheduled Date: Wed, 14 Jan 2009 21:56:08 -0500 Message-ID: <20090115025608.GA11407@owl.prv.maya.com> 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 1LNVBM-0002Ew-LQ for emacs-orgmode@gnu.org; Thu, 15 Jan 2009 11:35:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNVBK-0002BP-4y for emacs-orgmode@gnu.org; Thu, 15 Jan 2009 11:34:59 -0500 Received: from [199.232.76.173] (port=42202 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNVBJ-0002BH-V6 for emacs-orgmode@gnu.org; Thu, 15 Jan 2009 11:34:58 -0500 Received: from raven.maya.com ([192.70.254.20]:40853) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNVBJ-0003jD-IG for emacs-orgmode@gnu.org; Thu, 15 Jan 2009 11:34:57 -0500 Received: from owl (owl.prv.maya.com [10.20.30.40]) by raven.maya.com (Postfix) with ESMTP id 7E9D0148178 for ; Thu, 15 Jan 2009 11:34:51 -0500 (EST) Resent-Message-ID: <20090115163451.GA13929@owl.prv.maya.com> Resent-To: emacs-orgmode@gnu.org Content-Disposition: inline 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: emacs-orgmode@gnu.org I want to have a realistic expectation of what I can accomplish in a day. So I want each TODO to have a time estimate of how long I think it will take, and for the agenda to add them all up and tell me how terrible my day is going to be. First attempt: I found wonderful code on Sacha Chua's blog[1] which does this, but org-agenda-get-day-entries seems to return *all* "TODO" entries -- but I want to limit to entries which have only one state ("TODO", not "WAITING" or "DONE"). Is that possible? Is there a better way of doing this, with my limited Lisp? I have looked at the Effort property, but I can't see how to use that from within an agenda view -- and the ability to know "what time it is now", and to therefore know how I fare in my daily plan, is important to me. Thanks in advance! [1] http://sachachua.com/wp/2007/12/22/a-day-in-a-life-with-org/ -- Christopher DeMarco IT Director MAYA Group +1-412-708-9660