From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Frings Subject: How to get a clock table without the file level? Date: Fri, 5 Sep 2008 16:47:04 +0200 Message-ID: Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kbcaj-0007Hg-3w for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:47:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kbcah-0007HQ-Ni for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:47:16 -0400 Received: from [199.232.76.173] (port=47939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kbcah-0007HN-Ht for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:47:15 -0400 Received: from mornm01-out.agfa.com ([134.54.1.75]:20733) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kbcah-0004cn-6g for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:47:16 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Org-Mode Sorry for the repost (original of 8/8), but I have been looking for an answer in the manual, as well as in the sources and I really don't dare to touch anything down there... Is it possible to build a clocktable with the agenda as scope, but summing up all times per headline level, and not per file. Some files have the same level 1 entries, and these should be summed up. E.g.: A.org: * REQD ** task 1 ** task 2 B.org: * Todo ** task 1 C.org: * REQD * task 3 The current clocktable create blocks per file: #+BEGIN: clocktable :maxlevel 4 :scope agenda :block thisweek :step week Weekly report starting on: <2008-08-04 Mon> | File | L | Headline | Time | | |-------+---+---------------------+--------+------| | | | *Total time* | *0:40* | | |-------+---+---------------------+--------+------| | A.org | | *File time* | *0:10* | | | A.org | 1 | REQD | 0:10 | | | A.org | 2 | task 1 | | 0:05 | | A.org | 2 | task 2 | | 0:05 | |-------+---+---------------------+--------+------| | B.org | | *File time* | *0:15* | | | B.org | 1 | Todo | 0:15 | | | B.org | 2 | task 1 | | 0:15 | |-------+---+---------------------+--------+------| | C.org | | *File time* | *0:15* | | | C.org | 1 | REQD | 0:15 | | | C.org | 2 | task 3 | | 0:15 | #+END: It would be very convenient if I could group it on the first level, across the files: #+BEGIN: clocktable :maxlevel 4 :scope agenda :block thisweek :step week Weekly report starting on: <2008-08-04 Mon> | File | L | Headline | Time | | |-------+---+---------------------+--------+------| | | | *Total time* | *0:40* | | |-------+---+---------------------+--------+------| | A.org | 1 | REQD | 0:25 | | | A.org | 2 | task 1 | | 0:05 | | A.org | 2 | task 2 | | 0:05 | | C.org | 2 | task 3 | | 0:15 | |-------+---+---------------------+--------+------| | B.org | 1 | Todo | 0:15 | | | B.org | 2 | task 1 | | 0:15 | #+END Another possible method is to use categories at the file header, and to group files with the same category. That way, you can control which files to group and which ones not. Maybe I have overlooked some customization somewhere, but I couldn't find it in the manual. And as I said before, I'm loosing my way in the source files... Any pointers? Or suggestions to tackle this in another way? Cheers, Peter. PS: this is the first time in my life I'm getting organized... thanks to org-mode!