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: More than one column view in a file
Date: Tue, 17 Apr 2012 17:09:16 +0200	[thread overview]
Message-ID: <80aa2a75ur.fsf@somewhere.org> (raw)

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

I thought about setting the columns I wish to display in the corresponding
sections... but it appears that the column specification that's taken into
account must be defined where the tasks are (file-wide, or in the "Tasks"
subtree) -- not where the table will be generated.

This, by no way, is a bug: nobody said it should be working the way I'd like
it to be working right now.

Though, I have the impression the current way is quite limiting.

But my question is simply: do you have any idea for a way to work around this?

In the following ECM, you see (on purpose) that PRIOR is displayed in both
columns, while only set in the PROPERTY of the Tasks subtree.

Best regards,
  Seb

--8<---------------cut here---------------start------------->8---
#+TITLE:     Effort vs Estimate
#+AUTHOR:    Seb Vauban

* Tasks
  :PROPERTIES:
  :ID:       49380c04-9b6e-4298-aff8-d936d9679d8e
  :COLUMNS:  %6TODO %66ITEM(Task) %6Effort(Estim.){:}
  :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
  :PROPERTIES:
  :COLUMNS:  %66ITEM(Task) %6Effort(Estim.){:}
  :END:

We have estimated the budget as follows:

#+tblname: dblock-tasks
#+BEGIN: columnview :hlines 1 :id "49380c04-9b6e-4298-aff8-d936d9679d8e" :maxlevel 3
| 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:
  :PROPERTIES:
  :COLUMNS:  %66ITEM(Task) %6CLOCKSUM(Time) %6Effort(Estim.){:}
  :END:

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
| TODO | Task    | Estim. |
|------+---------+--------|
|      | * Tasks |  37:00 |
| TODO | ** A    |  36:00 |
| TODO | *** A1  |  12:00 |
| TODO | *** A2  |  24:00 |
| TODO | ** B    |   1:00 |
#+END:
--8<---------------cut here---------------end--------------->8---

-- 
Sebastien Vauban

             reply	other threads:[~2012-04-17 15:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 15:09 Sebastien Vauban [this message]
2012-04-20 11:24 ` More than one column view in a file Bastien
2012-04-20 20:27   ` Sebastien Vauban
2012-04-20 22:10     ` Johnny
2012-04-20 23:34       ` Bastien
2012-05-01  3:56 ` Ippei FURUHASHI
2012-05-01  5:55 ` Ippei FURUHASHI
2012-05-01 21:07 ` Ippei FURUHASHI

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