From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Clocking repeating tasks Date: Mon, 24 Jan 2011 13:18:55 -0500 Message-ID: <87ipxeb1ww.fsf@norang.ca> References: <87sjwib9em.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=51390 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhR0G-0005uZ-As for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 13:19:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhR0F-00061k-1s for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 13:19:00 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:61726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhR0E-00061g-Un for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 13:18:58 -0500 In-Reply-To: (Jeff Horn's message of "Mon, 24 Jan 2011 13:09:04 -0500") 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: Jeff Horn Cc: Org-mode ml Jeff Horn writes: > On Mon, Jan 24, 2011 at 10:37 AM, Bernt Hansen wrote: >> The clocking total for the task on the modeline should reflect how much >> time you have clocked since the last time you marked the task DONE. >> org-mode records a property LAST_REPEAT which had the time you completed >> the task last. =C2=A0The modeline clock value counts minutes since that = time. >> >> The modeline should have both your current clocking total time (since >> last repeat) and the effort limit displayed (as the limit). > > Indeed, the mode line does display effort. However, it has the sum of > all clocks compared against the effort level. Same thing for the > clocksum column in the agenda columns display. I'm not sure why I'm > not getting the expected behavior. I'll be able to work on this more > later in the day. > > Did you customize any variables to get this behavior? No - I tested it with a minimal emacs setup and it worked out of the box for me. The following task says [0:03/0:05] for me in the modeline when I clock it in --8<---------------cut here---------------start------------->8--- * TODO Test2 SCHEDULED: <2011-01-25 Tue .+1d> CLOCK: [2011-01-24 Mon 13:14]--[2011-01-24 Mon 13:14] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:14]--[2011-01-24 Mon 13:14] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:13]--[2011-01-24 Mon 13:14] =3D> 0:01 CLOCK: [2011-01-24 Mon 13:13]--[2011-01-24 Mon 13:13] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:13]--[2011-01-24 Mon 13:13] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:13]--[2011-01-24 Mon 13:13] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:12]--[2011-01-24 Mon 13:12] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:12]--[2011-01-24 Mon 13:12] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:12]--[2011-01-24 Mon 13:12] =3D> 0:00 CLOCK: [2011-01-24 Mon 13:10]--[2011-01-24 Mon 13:12] =3D> 0:02 CLOCK: [2011-01-24 Mon 13:12]--[2011-01-24 Mon 13:12] =3D> 0:00 - State "DONE" from "TODO" [2011-01-24 Mon 11:11] CLOCK: [2011-01-23 Sun 13:05]--[2011-01-23 Sun 13:11] =3D> 0:06 CLOCK: [2011-01-22 Sat 13:05]--[2011-01-22 Sat 13:11] =3D> 0:06 :PROPERTIES: :LAST_REPEAT: [2011-01-24 Mon 11:11] :Effort: 0:05 :END: --8<---------------cut here---------------end--------------->8--- -Bernt