From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: lisp/org-clock.el: Add param :properties to list properties in clocktable Date: Sat, 26 Mar 2011 16:49:34 -0400 Message-ID: <87y641ehep.fsf@norang.ca> References: <874o6pocat.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=44581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3aQc-0006W6-Gt for emacs-orgmode@gnu.org; Sat, 26 Mar 2011 16:49:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3aQa-0004VX-Ow for emacs-orgmode@gnu.org; Sat, 26 Mar 2011 16:49:46 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:29422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3aQa-0004Uy-N4 for emacs-orgmode@gnu.org; Sat, 26 Mar 2011 16:49:44 -0400 In-Reply-To: <874o6pocat.fsf@gmail.com> (Niels Giesen's message of "Sat, 26 Mar 2011 21:29:46 +0100") 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: Niels Giesen Cc: emacs-orgmode@gnu.org Niels Giesen writes: > Here are a few patches to add property columns in clocktables. These > allow me e.g. to freely set different cost centers which is wanted @ > my work, and also possibly small descriptions. It is generically set > up so I reckon other people may find use in this too. > > The patches together add two parameters to the dynamic block line: > > : :properties ("prop-this" "prop-other") :inherit-props t > > The property columns will be added at the left side of the existing > columns; I did experiment with adding them to the right, but because > of the variable number of levels (being defined both by :maxlevel and > the actual number of found levels), that did not work out well. > > I used the parameter =:inherit-props= to set inheritance for > properties, as I have learned in the past that > =org-use-property-inheritance= should be used very sparingly. > Hi Niels, Could you provide a sample clock report using this patch to get a better idea of why you find this useful? Thanks, -- Bernt