emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to get a clock table without the file level?
@ 2008-09-05 14:47 Peter Frings
  2008-09-07  6:30 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Frings @ 2008-09-05 14:47 UTC (permalink / raw)
  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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-08  8:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-05 14:47 How to get a clock table without the file level? Peter Frings
2008-09-07  6:30 ` Carsten Dominik
2008-09-08  8:21   ` Peter Frings

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