From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: Clocking work time with a date not a time only Date: Wed, 1 Apr 2009 13:56:42 +0000 (GMT) Message-ID: <155496.90395.qm@web28310.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lp0vv-0008J2-SS for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 09:56:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lp0vs-0008I2-Uk for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 09:56:46 -0400 Received: from [199.232.76.173] (port=43487 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lp0vs-0008Hy-Nz for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 09:56:44 -0400 Received: from n29.bullet.mail.ukl.yahoo.com ([87.248.110.146]:30833) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Lp0vs-0002qh-5Q for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 09:56:44 -0400 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: emacs-orgmode@gnu.org, Jan Buchal --- Mar 31/3/09, Jan Buchal ha scritto:=0A> I use Clo= cking work time function for a logging my work.=0A> With keys C-c C-x=0A> C= -i I start a clocking and with C-c C-x C-o I finish my=0A> clocking. the=0A= > function put something like:=0A> =0A> =A0 CLOCK: [2009-03-30 Po 11:00]--[= 2009-03-30 Po 11:38]=0A> =3D>=A0 0:38=0A> =0A> and then I use the dynamic r= egion for summary of my all=0A> times. But I=0A> would like have in a table= not a times but a dates too. Is=0A> it any way?=0A> the table can seams fo= r example so:=0A> =0A> #+BEGIN: clocktable :maxlevel 2 :scope file=0A> Cloc= k summary at [2009-03-31 =DAt 15:21]=0A> =0A> | L | Headline=A0 = | Time=A0=A0=A0|=0A> |---+---------------------------------= -----+--------|=0A> |=A0=A0=A0| *Total time*=A0 =A0 =A0 =A0= =A0=A0| *0:38* |=0A> |---+--------------------------------------+--------|= =0A> | 1 | project one: | 2009-03-31 0:38=A0=A0=A0|=0A> #+END:= =0A> =0A> Also not a time only but date plus time. Is it possible?=0A> =0A= =0AJan, 2 suggestions:=0A=0A1. how about using date in the *headline itsel= f?*:=0A=0A--------------------test.org-----------=0A* [2009-04-01 mer] time= =0A** 1st task=0A CLOCK: [2009-04-01 mer 15:20]--[2009-04-01 mer 15:28] = =3D> 0:08=0A** 2nd task=0A CLOCK: [2009-04-01 mer 15:18]--[2009-04-01 me= r 15:28] =3D> 0:10=0A=0A#+BEGIN: clocktable :maxlevel 2 :scope file=0ACloc= k summary at [2009-04-01 mer 15:29]=0A| L | Headline = | Time | |=0A|---+------------------------------------= --------+---------+-------|=0A| | *Total time* = | *33:33* | |=0A|---+--------------------------------------------= +---------+-------|=0A| 1 | [2009-04-01 mer] time | = 0:18 | |=0A| 2 | 1st task | = | 0:08 |=0A| 2 | 2nd task | | = 0:10 |=0A|---+--------------------------------------------+---------+-----= --|=0A#+END:=0A=0A2. exploit properties =0A-----------------------------tes= t2.org------------------=0A* [2009-04-01 mer] time=0A:PROPERTIES:=0A:COLUMN= S:%Heading %Date %CLOCKSUM=0A:END:=0A** 1s task=0A:PROPERTIES:=0A:ID: task= =0A:Heading: 1s Task=0A:Date: [2009-04-01 mer]=0A CLOCK: [2009-04-01 mer = 15:20]--[2009-04-01 mer 15:28] =3D> 0:08=0A:END:=0A** 2nd task=0A:PROPERTI= ES:=0A:ID: task=0A:Heading: 2nd task=0A :Date: [2009-01-28 mer]=0A CLO= CK: [2009-04-01 mer 15:18]--[2009-04-01 mer 15:28] =3D> 0:10=0A:END:=0A#+B= EGIN: columnview :hlines 1 :id "task"=0A| Heading | Date | CLO= CKSUM |=0A|----------+------------------+----------|=0A| | = | 0:18 |=0A| 1st task | [2009-04-01 mer] | 0:08 |=0A| 2nd= task | [2009-01-28 mer] | 0:10 |=0A#+END:=0A--------------------------= -------------------------=0A=0ACarsten, is it possible to have, as a specia= l property, =0Athe value of the headline ?=0A.. shouldn't be complicated, i= t's already extracted =0Afor clocktables.. ;-)=0A=0Acheers,=0AGiovanni=0A= =0A=0A