emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* One table column per outline level for columnviews
@ 2011-11-09 16:02 Sebastien Vauban
  0 siblings, 0 replies; only message in thread
From: Sebastien Vauban @ 2011-11-09 16:02 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-09 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 16:02 One table column per outline level for columnviews Sebastien Vauban

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).