emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [PATCH] Separate file time from its tasks times
Date: Fri, 30 Mar 2012 15:24:48 +0200	[thread overview]
Message-ID: <80r4wa9q73.fsf@somewhere.org> (raw)
In-Reply-To: 80398qb5fg.fsf@somewhere.org

Hello,

"Sebastien Vauban" wrote:
> 2012-03-30  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
>
> 	* org-clock.el (org-clocktable-write-default): Make the sum
> 	appear visually correct by not mixing the total time per file
> 	and sub-totals.

This can be best understood with an example...

Before:

    #+BEGIN: clocktable :maxlevel 4 :scope ("file-abc-tom.org" "file-abc-ann.org") :block 2012-02
    Clock summary at [2012-03-30 Fri 15:12], for February 2012.

    | File             | Headline         | Time  |       |
    |------------------+------------------+-------+-------|
    |                  | ALL Total time   | 19:15 |       |
    |------------------+------------------+-------+-------|
    | file-abc-tom.org | File time        | 17:15 |       |
    |                  | Task A           | 17:15 |       |
    |                  | TODO Subtask A1  |       | 17:15 |
    |------------------+------------------+-------+-------|
    | file-abc-ann.org | File time        | 2:00  |       |
    |                  | Task B           | 2:00  |       |
    |                  | TODO Subtask B2  |       |  2:00 |
     #+END:

Now:

    #+BEGIN: clocktable :maxlevel 4 :scope ("file-abc-tom.org" "file-abc-ann.org") :block 2012-02
    Clock summary at [2012-03-30 Fri 15:13], for February 2012.

    | File             | Headline         | Time  |       |       |
    |------------------+------------------+-------+-------+-------|
    |                  | ALL Total time   | 19:15 |       |       |
    |------------------+------------------+-------+-------+-------|
    | file-abc-tom.org | File time        | 17:15 |       |       |
    |                  | Task A           |       | 17:15 |       |
    |                  | TODO Subtask A1  |       |       | 17:15 |
    |------------------+------------------+-------+-------+-------|
    | file-abc-ann.org | File time        | 2:00  |       |       |
    |                  | Task B           |       |  2:00 |       |
    |                  | TODO Subtask B2  |       |       |  2:00 |
     #+END:

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2012-03-30 13:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 13:10 [PATCH] Separate file time from its tasks times Sebastien Vauban
2012-03-30 13:24 ` Sebastien Vauban [this message]
2012-03-30 16:13   ` Bernt Hansen
2012-03-31  8:32   ` Bastien
2012-04-02 10:32     ` Sebastien Vauban
2012-04-10 22:55   ` Bastien
2012-04-19 19:43     ` Sebastien Vauban
2012-04-20 11:10       ` Bastien
2012-04-20 12:10         ` Francesco Pizzolante

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=80r4wa9q73.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /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).