From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Re: Grouping clock report by tag? Date: Sun, 6 Mar 2011 12:08:14 -0600 Message-ID: References: <87bp1oe66l.fsf@gnu.org> <8762rwp2mg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf30334791499f40049dd443f3 Return-path: Received: from [140.186.70.92] (port=53699 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwINO-0000nr-4w for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 13:08:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwINL-0004hl-NL for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 13:08:17 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:53567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwINL-0004hf-8d for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 13:08:15 -0500 Received: by bwz17 with SMTP id 17so3798079bwz.0 for ; Sun, 06 Mar 2011 10:08:14 -0800 (PST) In-Reply-To: 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: Bastien , emacs-orgmode --20cf30334791499f40049dd443f3 Content-Type: text/plain; charset=ISO-8859-1 Sorry -- forgot the list... On Sun, Mar 6, 2011 at 12:06 PM, John Hendy wrote: > On Sun, Mar 6, 2011 at 11:42 AM, Bastien wrote: > >> John Hendy 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 >> > > --20cf30334791499f40049dd443f3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry -- forgot the list...

On Sun, Mar 6= , 2011 at 12:06 PM, John Hendy <jw.hendy@gmail.com> wrote:
On Sun, Mar 6, 2011 at 11:42 AM, Bastien <bzg@alte= rn.org> wrote:
John Hendy <jw.hendy@gmail.com> writes:

> How about a clock table with a :tag: column and an option t= o sort by
> common tag? Again, I can already do something=A0like this via the tag<= br> > options, but I wouldn't mind all my clocked items appearing in one=
> =A0table but sorted by tag. My tags =3D my projects/work area. It seem= s
> that a lot of people opt for the file=A0desribing 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 th= is,
> 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=A0create 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: cloc= ktable :maxlevel 2 :scope agenda
Clock summary at [2011-03-06 Sun= 17:59]
| Tag =A0| Headline =A0 =A0 =A0 =A0 | =A0 =A0Time | =A0 =A0 =A0| File = =A0 =A0 =A0 =A0 =A0 |
|------+------------------+---------+------= +----------------|
| =A0 =A0 =A0| ALL *Total time* | *10:00* | = =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
|------+------------------+---------+------+----------------|
| T= ag1 | *Tag time* =A0 =A0 =A0 | =A0*5:00* | =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0|
| =A0 =A0 =A0| [2011-02-04 Fri] | =A0 =A03:30 | =A0= =A0 =A0| 2011-02Feb.org |
| =A0 =A0 =A0| Some task =A0 =A0 =A0 = =A0| =A0 =A0 =A0 =A0 | 3:30 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
| =A0 =A0 =A0| [2011-01-21 Fri] | =A0 =A00:30 | =A0 =A0 =A0| 2011-01Ja= n.org |
| =A0 =A0 =A0| Some task =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0= | 0:30 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
| =A0 =A0 =A0| [2010-1= 2-09 Thu] | =A0 =A01:00 | =A0 =A0 =A0| 2010-12Dec.org |
| =A0 =A0 =A0| Some task =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 | 1:00 | =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0|
|------+------------------+---------+---= ---+----------------|
| Tag2 | *Tag time* =A0 =A0 =A0 | =A0*5:00*= | =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
| =A0 =A0 =A0| [= 2011-02-04 Fri] | =A0 =A03:30 | =A0 =A0 =A0| 2011-02Feb.org |
| =A0 =A0 =A0| Some task =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 | 3:30 | =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0|
| =A0 =A0 =A0| [2011-01-21 Fri] | = =A0 =A00:30 | =A0 =A0 =A0| 2011-01Jan.org |
| =A0 =A0 =A0| Some t= ask =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 | 0:30 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0|
| =A0 =A0 =A0| [2010-12-09 Thu] | =A0 =A01:00 | =A0 =A0 =A0| 2010-12Dec.org= |
| =A0 =A0 =A0| Some task =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 | 1:= 00 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
|------+------------------+= ---------+------+----------------|

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

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


John
=A0
--
=A0Bastien


--20cf30334791499f40049dd443f3--