From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: error while creating agenda clocktable Date: Fri, 27 Apr 2018 16:06:26 +0200 Message-ID: <9f042a5e-126d-0568-0cc0-40b399dc45f3@online.de> References: <30c73220-22f9-51eb-46a2-f3582211efae@online.de> <874ljwbw1u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC41C-00038O-7j for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 10:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fC41B-0006Ln-DI for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 10:06:34 -0400 In-Reply-To: <874ljwbw1u.fsf@gnu.org> Content-Language: de-DE-1901 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: emacs-orgmode@gnu.org Am 27.04.2018 um 15:47 schrieb Bastien: > Hi Rainer, > > Rainer Stengele writes: > >> I will copy the new function and modify it to fit my needs. > > Thanks for this - please share your experience so that we can better > guide people in updating their code. > > The only backward-incompatible change is that :tags is now :match > and :tags can now be nil or t to allow to insert tags. > > You might also want to test the new feature. > > Thanks, > Hi Bastien, thanks for the request, I am glad to do do. What I really want is a very simple clocktable in my agenda view: Only 2 columns, CATEGORY, the total clocked time and the sum of clocked time for each CATEGORY in the agenda view. Using the standard org-clocktable-write-default I see this: |-----------------------+-----------+-----------------------------------+------| | | GESAMT | *Gesamtdauer* | *2:45* | |-----------------------+-----------+-----------------------------------+------| | Projectmanagement.org | *Dateizeit* | * | * | | | project 1 | *project 1: Projektmanagement* | 0:15 | | | project 2 | *project 2: Projektmanagement* | 1:15 | .. .. my goal is to end up with column 2 and 4: |-----------+------| | CATEGORY | *2:45* | |-----------+------| | *Dateizeit* | * | | project 1 | 0:15 | | project 2 | 1:15 | as I only use 1 project org file and only 1 headline under which I clock my project time. I would of course be more than happy to have new clocktable options to inhibit the filename column and also the headline lock column, not sure how that is named in the code. In the past I just copied the org-clocktable-write-default and modified it brutally in order to just output my 2 needed columns. That of course makes it sensitive to code changes.. Thank you. Regards, Rainer