From mboxrd@z Thu Jan  1 00:00:00 1970
From: Mats Kindahl <mats.kindahl@oracle.com>
Subject: Re: Showing remaining time in agenda mode
Date: Mon, 12 Sep 2011 18:31:01 +0200
Message-ID: <4E6E33C5.6080702@oracle.com>
References: <4E6DB601.8020306@oracle.com>
	<87litu3tdt.fsf@norang.ca>	<4E6DF4D2.2050401@oracle.com>
	<87k49d3fb0.fsf@norang.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([140.186.70.92]:48615)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mats.kindahl@oracle.com>) id 1R39Pi-0006e2-Cv
	for emacs-orgmode@gnu.org; Mon, 12 Sep 2011 12:31:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mats.kindahl@oracle.com>) id 1R39Ph-000261-4K
	for emacs-orgmode@gnu.org; Mon, 12 Sep 2011 12:31:18 -0400
Received: from acsinet15.oracle.com ([141.146.126.227]:33296)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mats.kindahl@oracle.com>) id 1R39Pg-00025u-Qz
	for emacs-orgmode@gnu.org; Mon, 12 Sep 2011 12:31:17 -0400
In-Reply-To: <87k49d3fb0.fsf@norang.ca>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: </archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>

On 09/12/2011 06:18 PM, Bernt Hansen wrote:
> Mats Kindahl <mats.kindahl@oracle.com> writes:
>
>> On 09/12/2011 01:14 PM, Bernt Hansen wrote:
>>> Mats Kindahl <mats.kindahl@oracle.com> writes:
>>>
>>>> Hi all,
>>>>
>>>> I have been using Org-Mode with great success over the last year (or
>>>> so). There is a number of items that I need to handle, and I am
>>>> reading through the code to try to figure out how to do the various
>>>> items. However, recently I switched to using 7.7, which disabled a
>>>> feature I use (but it seems to just be a matter of setting it up
>>>> again) but also seem to have a lot of additions that I need.
>>>>
>>>> Beginning of each week, I plan the coming week using the agenda mode
>>>> to sort out tasks over the week. To do this efficiently, I have been
>>>> looking at Effort for each task and the summary for the day, and when
>>>> the default column view for the agenda showed Effort and Clock, this
>>>> worked quite well if you manage to complete the tasks during a week.
>>>> However, quite often I run across tasks that I cannot easily split
>>>> into smaller tasks and which take more than a week to complete (even
>>>> though the tasks themselves might be small, I can just spend a few
>>>> hours each week on them), which forces me to make the math in the head
>>>> to distribute the right amount for each day.
>>>>
>>>> Now, the default column view changed with 7.7, so I have no idea on
>>>> how to set up the agenda column view to show the following:
>>>>
>>>>     * Each "task line" should show Item, Effort, Clock, and Clock - Effort
>>>>     * Each "day line" should show the summary of (at least) the Effort
>>>>       and the Clock - Effort
>>>>
>>>> Does anybody know how to set this up, or do I need to go digging the code?
>>>>
>>>> Best wishes,
>>>> Mats Kindahl
>>> Hi Mats,
>>>
>>> Try customizing org-columns-default-format.
>> Thanks Bernt,
>>
>> But how to define different formats for tasks and days and how to
>> define the format for "Clock - Effort"?
> Hi Mats,
>
> I'm not sure what you need to put in for these requirements.  I'm not
> sure if column mode can calculate Clock - Effort for you automatically
> (but maybe it can with some fancy extra table formula).
>
> I only use column view in a fairly basic mode - showing item, estimate,
> and clock time with the following setting.
>
> (setq org-columns-default-format "%80ITEM(Task) %10Effort(Estimated Effort){:} %10CLOCKSUM")

Thanks Bernt,

I'll try the format you suggest and see how it handles the "day rows".
I tried another format involving some other fields, but this caused it
to not show the day summaries.

For how to fix the "Effort - Clock", I guess I have to go into the
code and see what I can do to tweak it.

Best wishes,
Mats Kindahl