From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: show clock-out time in org-agenda-log-mode Date: Mon, 16 Jun 2008 10:55:31 -0400 Message-ID: <87hcbta0po.fsf@gollum.intra.norang.ca> References: <191f2a110806160513u3852518t281f1bd0698043c5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8GCa-0004L9-PE for emacs-orgmode@gnu.org; Mon, 16 Jun 2008 11:01:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8GCZ-0004K7-DL for emacs-orgmode@gnu.org; Mon, 16 Jun 2008 11:01:00 -0400 Received: from [199.232.76.173] (port=54663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8GCZ-0004Jl-0L for emacs-orgmode@gnu.org; Mon, 16 Jun 2008 11:00:59 -0400 Received: from [206.222.19.114] (port=41224 helo=mail.planet-mofo.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8GCY-0005Hw-HW for emacs-orgmode@gnu.org; Mon, 16 Jun 2008 11:00:58 -0400 In-Reply-To: <191f2a110806160513u3852518t281f1bd0698043c5@mail.gmail.com> (iemacs@gmail.com's message of "Mon\, 16 Jun 2008 20\:13\:36 +0800") 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: iemacs@gmail.com Cc: emacs-orgmode@gnu.org iemacs@gmail.com writes: > I'm not sure whether this has been proposed. > > When I use org-agenda-mode with org-agenda-log-mode, the clock-out > time isn't shown after the clock-in time. Is it possible to show the > clock-out time like 11:00-12:00? I also have this same wishlist item. I looked into implementing this but as far as I could tell the org agenda parsing code only gets the first datestamp currently when building the view with clock data. Ranges only show up if the first timestamp is a range and clock values like CLOCK: [2008-06-09 Mon 10:19]--[2008-06-09 Mon 10:21] => 0:02 have only single times in the timestamps. If we could change the above clock entry to CLOCK: [2008-06-09 Mon 10:19-10:21]--[2008-06-09 Mon 10:21] => 0:02 for the agenda view to process then I think the agenda would display what you want but that feels like a horrible hack to me and a better solution would be to let the second clock time provide the second timestamp range value when the first timestamp is not a range. Unfortunately I haven't had time to pursue this. -Bernt