emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: Rainer Hansen <rainer.hansen@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Easiest way to calculate time spent
Date: Mon, 6 Apr 2009 23:07:07 +0530	[thread overview]
Message-ID: <e7cdbe30904061037w30ab4b07l98093930a5d7ae6b@mail.gmail.com> (raw)
In-Reply-To: <200904061435.17029.rainer.hansen@gmx.net>

On Mon, Apr 6, 2009 at 6:05 PM, Rainer Hansen wrote:
> Hi,
>
> I am new to Org-Mode and I have written a number of project tasks in the
> following form:
>
> * Project
> ** Task 1
>  <2009-03-19 Thu 13:15-13:35>
>  Description of Task 1
> ** Task 2
>  <2009-03-18 Wed 12:15-13:35>
>  Description of Task 2
> ** Task 3
>   SCHEDULED: <2009-03-11 Wed 19:55-21:45> CLOSED: [2009-03-12 Thu 23:29]
>   Result of Task 3
>
> For task 3 the time calculated should be 2009-03-11 19:55-21:45 that mean 1:50
> hours.
>
> I have quite a number of items and I wonder if there is an easy way to sum up
> all the time spent on the project (similar to what you can do with clocked items)?

You mean "time meant to be spent" on the project, right? ;-) Since the
actual time
spent should be clocked.

Anyhow, you can set org-columns-default-format, e.g.:

--8<---------------cut here---------------start------------->8---
(setq org-columns-default-format "%TODO %60ITEM(Task)
%5Effort(Estim){:} %5CLOCKSUM(Clock)")
--8<---------------cut here---------------end--------------->8---

Then switch to column view using C-c C-x C-c.  Effort column should reflect
the totals for the time you planned to spend on the tasks in the top most
line.

HTH
-- 
Manish

  reply	other threads:[~2009-04-06 17:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 12:35 Easiest way to calculate time spent Rainer Hansen
2009-04-06 17:37 ` Manish [this message]
2009-04-06 20:14   ` Rainer Hansen
2009-04-06 21:17     ` Manish
2009-04-06 21:21     ` Matthew Lundin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7cdbe30904061037w30ab4b07l98093930a5d7ae6b@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.hansen@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).