emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Re: [Orgmode] Grouping clock report by tag?


From: John Hendy
Subject: Re: [O] Re: [Orgmode] Grouping clock report by tag?
Date: Sun, 6 Mar 2011 12:08:14 -0600

Sorry -- forgot the list...

On Sun, Mar 6, 2011 at 12:06 PM, John Hendy <address@hidden> wrote:
On Sun, Mar 6, 2011 at 11:42 AM, Bastien <address@hidden> wrote:
John Hendy <address@hidden> writes:

> How about a clock table with a :tag: column and an option to sort by
> common tag? Again, I can already do something like this via the tag
> options, but I wouldn't mind all my clocked items appearing in one
>  table but sorted by tag. My tags = my projects/work area. It seems
> that a lot of people opt for the file desribing the project and thus
> the current table listing items by the file they appear in (or
> headline in the current file) probably works. I don't work like this,
> though. For me, tag sorting (even showing them) would be much more
> descriptive vs. trying to read the headlines and figure out what
> project it was.
>
> I could create a load of individual tables, so if this is a
> non-worthy request, I'll stick with creating a separate clock file
> that pulls together info from my agenda files and then create a
> spearate clock-table per tag.

Please provide an example with a clocktable..


A rough idea might be like this:

-----------

#+BEGIN: clocktable :maxlevel 2 :scope agenda
Clock summary at [2011-03-06 Sun 17:59]
| Tag  | Headline         |    Time |      | File           |
|------+------------------+---------+------+----------------|
|      | ALL *Total time* | *10:00* |      |                |
|------+------------------+---------+------+----------------|
| Tag1 | *Tag time*       |  *5:00* |      |                |
|      | [2011-02-04 Fri] |    3:30 |      | 2011-02Feb.org |
|      | Some task        |         | 3:30 |                |
|      | [2011-01-21 Fri] |    0:30 |      | 2011-01Jan.org |
|      | Some task        |         | 0:30 |                |
|      | [2010-12-09 Thu] |    1:00 |      | 2010-12Dec.org |
|      | Some task        |         | 1:00 |                |
|------+------------------+---------+------+----------------|
| Tag2 | *Tag time*       |  *5:00* |      |                |
|      | [2011-02-04 Fri] |    3:30 |      | 2011-02Feb.org |
|      | Some task        |         | 3:30 |                |
|      | [2011-01-21 Fri] |    0:30 |      | 2011-01Jan.org |
|      | Some task        |         | 0:30 |                |
|      | [2010-12-09 Thu] |    1:00 |      | 2010-12Dec.org |
|      | Some task        |         | 1:00 |                |
|------+------------------+---------+------+----------------|

----------------

If it helps, my file structure (hence the inactive dates everywhere) is like this:
,----- 2011-02Feb.org -----
| * [datestamp]
| ** thing I did              :proj-tag:
| notes on the thing I did (including clock drawer)
| ** other thing I did           :some-other-proj-tag:
| notes on this one, too
| * [the next day]
| and so on...
`-----


John
 
--
 Bastien



reply via email to

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