From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: [Orgmode] Grouping clock report by tag? Date: Fri, 6 May 2011 15:30:12 -0500 Message-ID: References: <87bp1oe66l.fsf@gnu.org> <8762rwp2mg.fsf@gnu.org> <83fwqzb5qf.fsf@yahoo.it> <87pqnw7nk3.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIRfE-0002rq-AA for emacs-orgmode@gnu.org; Fri, 06 May 2011 16:30:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIRfD-00027c-4q for emacs-orgmode@gnu.org; Fri, 06 May 2011 16:30:16 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:41068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIRfC-00027V-Pt for emacs-orgmode@gnu.org; Fri, 06 May 2011 16:30:15 -0400 Received: by bwz17 with SMTP id 17so3628032bwz.0 for ; Fri, 06 May 2011 13:30:13 -0700 (PDT) In-Reply-To: <87pqnw7nk3.fsf@norang.ca> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: Bastien , emacs-orgmode On Thu, May 5, 2011 at 6:08 PM, Bernt Hansen wrote: > John Hendy writes: > >> Following up on this again... It's been almost 2mos. Is there any way >> to add a tag grouping to clock reports rather than needing to create >> clock reports for every tag? >> >> Many thanks, >> John >> >> My initial example: >> ---- >> A rough idea might be like this: >> >> ----------- >> >> #+BEGIN: clocktable :maxlevel 2 :scope agenda >> Clock summary at [2011-03-06 Sun 17:59] >> | Tag =C2=A0| Headline =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0Time |= =C2=A0 =C2=A0 =C2=A0| File =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | >> |------+------------------+---------+------+----------------| >> | =C2=A0 =C2=A0 =C2=A0| ALL *Total time* | *10:00* | =C2=A0 =C2=A0 =C2= =A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| >> |------+------------------+---------+------+----------------| >> | Tag1 | *Tag time* =C2=A0 =C2=A0 =C2=A0 | =C2=A0*5:00* | =C2=A0 =C2=A0 = =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| >> | =C2=A0 =C2=A0 =C2=A0| [2011-02-04 Fri] | =C2=A0 =C2=A03:30 | =C2=A0 = =C2=A0 =C2=A0| 2011-02Feb.org | >> | =C2=A0 =C2=A0 =C2=A0| Some task =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | 3:30 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| >> | =C2=A0 =C2=A0 =C2=A0| [2011-01-21 Fri] | =C2=A0 =C2=A00:30 | =C2=A0 = =C2=A0 =C2=A0| 2011-01Jan.org | >> | =C2=A0 =C2=A0 =C2=A0| Some task =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | 0:30 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| >> | =C2=A0 =C2=A0 =C2=A0| [2010-12-09 Thu] | =C2=A0 =C2=A01:00 | =C2=A0 = =C2=A0 =C2=A0| 2010-12Dec.org | >> | =C2=A0 =C2=A0 =C2=A0| Some task =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | 1:00 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| >> |------+------------------+---------+------+----------------| >> | Tag2 | *Tag time* =C2=A0 =C2=A0 =C2=A0 | =C2=A0*5:00* | =C2=A0 =C2=A0 = =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| >> | =C2=A0 =C2=A0 =C2=A0| [2011-02-04 Fri] | =C2=A0 =C2=A03:30 | =C2=A0 = =C2=A0 =C2=A0| 2011-02Feb.org | >> | =C2=A0 =C2=A0 =C2=A0| Some task =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | 3:30 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| >> | =C2=A0 =C2=A0 =C2=A0| [2011-01-21 Fri] | =C2=A0 =C2=A00:30 | =C2=A0 = =C2=A0 =C2=A0| 2011-01Jan.org | >> | =C2=A0 =C2=A0 =C2=A0| Some task =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | 0:30 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| >> | =C2=A0 =C2=A0 =C2=A0| [2010-12-09 Thu] | =C2=A0 =C2=A01:00 | =C2=A0 = =C2=A0 =C2=A0| 2010-12Dec.org | >> | =C2=A0 =C2=A0 =C2=A0| Some task =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | 1:00 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| >> |------+------------------+---------+------+----------------| >> ----- > > Hi John, > > Niels Giesen posted some patches for summarizing clock reports by > arbitrary properties. =C2=A0Maybe this will be useful? > > http://thread.gmane.org/gmane.emacs.orgmode/40160 > > I'm not aware of any functionality that does what you describe above. > His is actually pretty darn close. It looks like Carsten just re-requested a patch in some standard format a few days ago, so perhaps I can hold my breath for it to get applied. Otherwise, do I just copy/paste his code into manual files and then do something like 'patch -p0 file.patch'? And will it get overrun by my next pull? Sorry... never applied a patch to org-mode files. John > Regards, > Bernt >