From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Some feature requests and how to obtain or implement them Date: Mon, 10 Nov 2008 21:04:08 +0100 Message-ID: References: <20081106182259.37499160@caesar.gallia> <3405A5CF-4069-4B00-8471-4E4927A340BD@uva.nl> <20081110114455.0b88c8a4@caesar.gallia> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kzczg-0003xt-Lh for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 15:04:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kzcze-0003xd-4Z for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 15:04:15 -0500 Received: from [199.232.76.173] (port=56131 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzczd-0003xa-VO for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 15:04:13 -0500 Received: from nf-out-0910.google.com ([64.233.182.188]:16436) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kzczd-0006N9-AU for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 15:04:13 -0500 Received: by nf-out-0910.google.com with SMTP id c7so1456288nfi.26 for ; Mon, 10 Nov 2008 12:04:12 -0800 (PST) In-Reply-To: <20081110114455.0b88c8a4@caesar.gallia> 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: Jurgen Defurne Cc: emacs-orgmode Hi Jurgen, I was mistaken when I claimed that formulas can be added to the clocktable - this was so far not possible. However, the feature you request seems very useful to me, so I have added just that capability. You need to get the latest git version for this to work. You have now two possibilities: 1. You can insert a TBLFM formula for an existing clock report. This formula will survive updates and will be evaluated after the new table has been created. 2. You can specify formulas with the new :formula parameter in clock tables. As a special case shortcut for (2), you can write #+BEGIN: clocktable :scope subtree :link t :formula % #+END: clocktable which will automatically construct and insert the correct formula to add an extra column where the time percentages are listed. Hope this helps, thanks or the great idea. - Carsten On Nov 10, 2008, at 11:44 AM, Jurgen Defurne wrote: > On Mon, 10 Nov 2008 08:26:20 +0100 > Carsten Dominik wrote: > >> Hi J=FCrgen, >> >> On Nov 6, 2008, at 6:22 PM, Jurgen Defurne wrote: >> >>> Dear, >>> >>> In the last year I have been using org-mode fairly heavy for my day >>> to day work and I am very satisfied with. However, there are two >>> things that would make life somewhat easier wrt. my usage of org- >>> mode vs. the reporting I need to for my job. >>> >>> 1) I have to enter my spent time in a separate application. While >>> the agenda view is nice, it would be nicer if it was possible to >>> show on the agenda view ONLY the features that I have logged, so >>> that I just get a nice overview of what I have really done, >>> excluding everything that has been entered or planned. I.o.w. to >>> show only those things that appear in logging mode on the agenda =20 >>> view. >> >> You can do this now (6.11c), by pressing `C-u C-u l' in the agenda. >> >>> 2) It would also be nice if it was possible to use reporting blocks >>> which give percentages of time used in total, instead of only hours. >>> This would make it easier for us to plan and predict. >> >> I am not sure if I understand, but you can define formulas for >> clockreport tables which can compute whatever you like. To help =20 >> more, >> I would need a better description what you want to do, with an =20 >> example. >> >> - Carsten >> > > When I create a report, I get a sum of everything. What would be =20 > nice is that indeed, everything is computed, but displayed as a =20 > percentage of the total. Since I have no clue how clock reports are =20= > implemented, I do not know if what I ask is even remotely possible. > > Total : 100% > > Entry 1 : 25% > Entry 2 : 10 % > Entry 2 : 15 % > > Entry 1 : 30 % > Entry 2 : 10 % > Entry 2 : 10 % > Entry 2 : 10 % > > Etc. > > I hope this example is enough to understand (while thinking about =20 > it, a combination of total time & percentages would be nice also). > > I am aware that, of course, first of all a total is needed, and that =20= > the percentages can only be computed afterwards. > > Regards, > > Jurgen