emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] More than one column view in a file


From: Ippei FURUHASHI
Subject: Re: [O] More than one column view in a file
Date: Wed, 02 May 2012 06:07:45 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (windows-nt)

Hi Sebastien

"Sebastien Vauban"
<address@hidden> writes:

> Hello,
>
> I'd like to have a couple of different (column) views in my Org file, for
> example:
>
> - one (public) view with the estimated time only
> - another one (private, I mean "not exported") with the real clocked time

My previous patch and this patch cooperate to generate
the columnview dynamic block with given columns format.

The result for your example is shown below, and I hope you like it.
Please regard #+BEGIN line as 1 line, though it seems to be wrapped.


#+TITLE:     Effort vs Estimate
#+AUTHOR:    Seb Vauban

* Tasks
  :PROPERTIES:
  :ID:       49380c04-9b6e-4298-aff8-d936d9679d8e
  :COLUMNS:  %66ITEM(Task) %6Effort(Estim.){:} %6CLOCKSUM(Time)
  :END:

** TODO A

*** TODO A1
    :PROPERTIES:
    :Effort:   12:00
    :END:
    :LOGBOOK:
    CLOCK: [2012-03-01 Thu 09:00]--[2012-03-01 Thu 17:00] =>  8:00
    CLOCK: [2012-03-02 Fri 09:00]--[2012-03-02 Fri 17:00] =>  8:00
    CLOCK: [2012-04-05 Thu 09:00]--[2012-04-05 Thu 12:45] =>  3:45
    CLOCK: [2012-04-16 Mon 09:00]--[2012-04-16 Mon 14:45] =>  5:45
    :END:

*** TODO A2
    :PROPERTIES:
    :Effort:   24:00
    :END:

** TODO B
   :PROPERTIES:
   :Effort: 1:00
   :END:
   :LOGBOOK:
   CLOCK: [2012-03-01 Thu 09:00]--[2012-03-01 Thu 09:30] =>  0:30
   :END:

* Budget estimate

We have estimated the budget as follows:

#+tblname: dblock-tasks
#+BEGIN: columnview :hlines 1 :id "49380c04-9b6e-4298-aff8-d936d9679d8e" 
:maxlevel 3 :format "%6TODO %66ITEM(Task) %6Effort(Estim.){:}"
| TODO | Task    | Estim. |
|------+---------+--------|
|      | * Tasks |  37:00 |
| TODO | ** A    |  36:00 |
| TODO | *** A1  |  12:00 |
| TODO | *** A2  |  24:00 |
| TODO | ** B    |   1:00 |
#+END:

* Worked hours                                                     :noexport:

We have worked that much, and can compare with what had been estimated:

#+tblname: dblock-tasks
#+BEGIN: columnview :hlines 1 :id "49380c04-9b6e-4298-aff8-d936d9679d8e" 
:maxlevel 3 :format "%6TODO %66ITEM(Task) %6Effort(Estim.){:} %6CLOCKSUM(Time)"
| TODO | Task    | Estim. |  Time |
|------+---------+--------+-------|
|      | * Tasks |  37:00 | 26:00 |
| TODO | ** A    |  36:00 | 25:30 |
| TODO | *** A1  |  12:00 | 25:30 |
| TODO | *** A2  |  24:00 |       |
| TODO | ** B    |   1:00 |  0:30 |
#+END:


Best regards,
IP


Attachment: 0001-lisp-org-colview.el-add-new-param-of-format-to-colum.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]