From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: report/summary of what was done for retrospection purposes? Date: Wed, 21 Oct 2009 08:59:19 -0400 Message-ID: <87d44g9a3c.fsf@gollum.intra.norang.ca> 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 1N0amj-00039K-OX for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:59:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0amg-00036A-TS for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:59:25 -0400 Received: from [199.232.76.173] (port=57551 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0amg-00035w-MF for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:59:22 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:61455) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0amg-0001XG-9k for emacs-orgmode@gnu.org; Wed, 21 Oct 2009 08:59:22 -0400 In-Reply-To: (Jevgeni Holodkov's message of "Wed\, 21 Oct 2009 15\:57\:16 +0300") 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: Jevgeni Holodkov Cc: emacs-orgmode@gnu.org [Reordered to remove top-post] Jevgeni Holodkov writes: > 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[= 2009-07-14 K 16:07] >>> =C2=A0 =C2=A0 - State "DONE" =C2=A0 =C2=A0from "STARTED" =C2=A0 =C2=A0[= 2009-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 ag= enda >> for the period you want and use l (ell) to show logged items. =C2=A0You = can >> 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-it= ems >> >> 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 >> > 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) If you customize the variable org-agenda-log-mode-items you can remove 'clock' form the list of things it displays. You can override this variables value for in a custom agenda view to show exactly the detail you need. -Bernt