From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: More than one column view in a file Date: Tue, 17 Apr 2012 17:09:16 +0200 Message-ID: <80aa2a75ur.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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