From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jevgeni Holodkov Subject: Re: report/summary of what was done for retrospection purposes? Date: Wed, 21 Oct 2009 15:57:16 +0300 Message-ID: References: <87pr8h7wnj.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0aki-0001YH-9G for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:57:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0akh-0001Wk-54 for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:57:19 -0400 Received: from [199.232.76.173] (port=57525 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0akg-0001WV-4k for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:57:18 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:65345) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0akf-0001B9-Nc for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:57:17 -0400 Received: by fg-out-1718.google.com with SMTP id e21so2213391fga.12 for ; Wed, 21 Oct 2009 05:57:17 -0700 (PDT) In-Reply-To: <87pr8h7wnj.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org Hi Bernt, Thanks for your suggestion. However, in this case, if I have been working on 'Task1' each day and finished it only on Friday, then I'll get 5 rows stating '.... (clocked): xx:xx DONE Task 1'. Is there a possibility to reduce the agenda even more by applying custom logic? (i.e., remove all non 'DONE' and all duplicate rows, but last) With kind regards, Jevgeni On Wed, Oct 21, 2009 at 3:34 PM, Bernt Hansen wrote: > Jevgeni Holodkov writes: > >> =C2=A0 =C2=A0Is there functionality available in org-mode to create the >> report/summary of what was done on the previous day/week/month/year >> (let's say, generate it from the agenda view)? For instance, if I have >> tasks: >> >> * TODO Task1 >> * DONE Task2 >> =C2=A0 =C2=A0 - State "DONE" =C2=A0 =C2=A0 =C2=A0 from "STARTED" =C2=A0 = =C2=A0[2009-07-21 T 10:59] >> * WAITING Task3 >> =C2=A0 =C2=A0 - State "WAITING" =C2=A0 =C2=A0from "DONE" =C2=A0 =C2=A0[2= 009-07-14 K 16:07] >> =C2=A0 =C2=A0 - State "DONE" =C2=A0 =C2=A0from "STARTED" =C2=A0 =C2=A0[2= 009-07-14 K 16:06] >> >> Then I would like to generate the report on what was done on June with >> 1 row =C2=A0only (which will be "Task2"). > > Not exactly. =C2=A0If you use CLOSED timestamps then you can view the age= nda > for the period you want and use l (ell) to show logged items. =C2=A0You c= an > specify what to include in the view with org-agenda-log-mode-items. > > To show a week's worth of logged items starting on 10-14 you can do > C-c a a - go to the agenda > w =C2=A0 =C2=A0 =C2=A0 - display week view > j 10-14 - go to Oct 14th > l =C2=A0 =C2=A0 =C2=A0 - show logged items as per org-agenda-log-mode-ite= ms > > This allows you to create a custom agenda view which only shows CLOSED > tags for instance which I think gives you what you want -- or you can > look at state changes which will show the 3 entries above. > > You can export the resulting agenda view to some other format. > > HTH, > Bernt >