From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: How to track time spent on a project Date: Fri, 24 Jul 2009 15:14:23 -0400 Message-ID: <874ot199m8.fsf@gollum.intra.norang.ca> References: <87zlau5kqg.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 1MVBQQ-0004Hz-GH for emacs-orgmode@gnu.org; Sun, 26 Jul 2009 17:38:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVBQM-0004EP-Nh for emacs-orgmode@gnu.org; Sun, 26 Jul 2009 17:38:34 -0400 Received: from [199.232.76.173] (port=45585 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVBQM-0004EM-Lh for emacs-orgmode@gnu.org; Sun, 26 Jul 2009 17:38:30 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:62917) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVBQM-0000PG-B6 for emacs-orgmode@gnu.org; Sun, 26 Jul 2009 17:38:30 -0400 In-Reply-To: (Geralt's message of "Fri\, 24 Jul 2009 19\:19\:49 +0200") 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: Geralt Cc: emacs-orgmode@gnu.org Geralt writes: > On Fri, Jul 24, 2009 at 2:27 PM, Bernt Hansen wrote: >> Just visit the org file with the task you want to clock in and do C-c >> C-x C-i to clock it in. =C2=A0C-c C-x C-o stops the clock (or when you c= lock >> in something else it stops). =C2=A0You can only clock one thing at a tim= e. >> Play with it in a test task to see how it works. >> >> You can clock in from the agenda directly (if it's visible there) with >> just I (and O for clock out) >> > Hi, > > thanks, that's working fine :-) > > >> I've documented how I use clocking stuff here: >> >> http://doc.norang.ca/org-mode.html#Clocking >> > I already looked into that, but I couldn't find how to track the time > of entries without a DATE property. l (ell) in the agenda shows logged clock times. You can also get a clock summary report with (R) or insert a dynamic block in your org file (see the manual). C-c C-x C-d will summarize clocked time by task (totals only) overlayed on the headlines. > > >> The agenda is not limited to date ranges. =C2=A0You can find tasks to cl= ock >> in via the agenda in lots of ways such as: >> >> =C2=A0- tags searches =C2=A0(C-c a m) >> =C2=A0- org-occur searches by regexp (C-c a /) >> =C2=A0- custom agenda view >> > I tried that, but when searching for matching tasks I can't see their > clocked time in this view (when pressing R org tells me that this > operation is not allowed in such a buffer). This works for easily locating the task to clock in. To get clock reports you want R in a day/weekly/monthly agenda, or l (log mode), or L for a single org-file. You can also summarize clock times in a dynamic clock table within an org file. R in the agenda is only available in day/week/monthly agenda views. You can specify an explicit date range in a dynamic clock report in your org file. Check the manual for details. -Bernt > > What I just tried was to add a DATE property like this: > :DATE: > DATE: <2009-07-24 Fri> > DATE: <2009-07-20 Thu> > :END: > With this I can see the task in the agenda and see the clocked > time(s), but I have to add an entry every time I'm working on it (and > it's redundant because this information is already in the CLOCK > property). > I haven't used a custom agenda before, is there a way to create one > that shows tasks in a timeline by looking at the dates in the CLOCK > property? No - I use custom agenda view to find _what_ to clock in quickly. Reports are different (check the next section of my document) -Bernt