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: One table column per outline level for columnviews
Date: Wed, 09 Nov 2011 17:02:06 +0100	[thread overview]
Message-ID: <80boslwagx.fsf@somewhere.org> (raw)

Hello,

Let's say I'm making an estimate for a work, and have this Org file:

#+begin_src org
  #+COLUMNS: %40ITEM(Task) %6Effort(Estim.){:}

  * Development
    :PROPERTIES:
    :ID:       fc314ab6-5bdc-4a2d-9c2d-d9aece03a864
    :END:

  ** Task 1
     :PROPERTIES:
     :Effort:   1:00
     :END:

  ** Task 2

  *** Task 2a
      :PROPERTIES:
      :Effort:   1:00
      :END:

  *** Task 2b
      :PROPERTIES:
      :Effort:   1:00
      :END:
#+end_src

Now, if I want a summary of the work to be done, along with totals, I put
(for example, up to 3 levels):

  #+BEGIN: columnview :hlines 1 :id "fc314ab6-5bdc-4a2d-9c2d-d9aece03a864" :maxlevel 3
  | Task          | Estim. |
  |---------------+--------|
  | * Development |   3:00 |
  | ** Task 1     |   1:00 |
  | ** Task 2     |   2:00 |
  | *** Task 2a   |   1:00 |
  | *** Task 2b   |   1:00 |
  #+END:

Though, this is hard to read for other people: they think, at first sight,
that the numbers must be added, while they already are summed up.

What I would like is a view like this one:

  #+BEGIN: clocktable :maxlevel 3 :scope file
  Clock summary at [2011-11-09 Wed 16:45]

  | Headline    | Time |      |      |
  |-------------+------+------+------|
  | Total time  | 4:00 |      |      |
  |-------------+------+------+------|
  | Development | 4:00 |      |      |
  | Task 1      |      | 1:00 |      |
  | Task 2      |      | 2:00 |      |
  | Task 2a     |      |      | 1:00 |
  | Task 2b     |      |      | 1:00 |
  #+END:

which we get with CLOCK lines:

#+begin_src org
  * Development
    :LOGBOOK:
    CLOCK: [2011-11-09 Wed 10:00]--[2011-11-09 Wed 11:00] =>  1:00
    :END:

  ** Task 1
     :LOGBOOK:
     CLOCK: [2011-11-09 Wed 11:00]--[2011-11-09 Wed 12:00] =>  1:00
     :END:

  ** Task 2

  *** Task 2a
      :LOGBOOK:
      CLOCK: [2011-11-09 Wed 12:00]--[2011-11-09 Wed 13:00] =>  1:00
      :END:

  *** Task 2b
      :LOGBOOK:
      CLOCK: [2011-11-09 Wed 13:00]--[2011-11-09 Wed 14:00] =>  1:00
      :END:
#+end_src

I don't think this is currently possible; but maybe some of you have found
workarounds, or developed something in this direction?

Best regards,
  Seb

-- 
Sebastien Vauban

                 reply	other threads:[~2011-11-09 16:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=80boslwagx.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).