From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Nobis Subject: Clocktable creates superfluous columns Date: Sat, 18 Feb 2017 12:49:49 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cf3Wb-0000Ek-Hy for emacs-orgmode@gnu.org; Sat, 18 Feb 2017 06:50:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cf3WY-0003CG-H9 for emacs-orgmode@gnu.org; Sat, 18 Feb 2017 06:50:01 -0500 Received: from basilikum.nobis-admin.de ([89.238.71.130]:39262) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cf3WY-0003C7-7H for emacs-orgmode@gnu.org; Sat, 18 Feb 2017 06:49:58 -0500 Received: from bohne.localdomain (x4db50055.dyn.telefonica.de [77.181.0.85]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA id 41FB97E66B0 for ; Sat, 18 Feb 2017 12:49:51 +0100 (CET) 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: emacs-orgmode@gnu.org Hi. In version 9.0.5 Org (Emacs 25.1) seems to generate too many columns in some situations. I'm not quite sure since which version this happens, in Org 8.x I have not seen this behaviour. Here is a small example: --8<---------------cut here---------------start------------->8--- #+BEGIN: clocktable :maxlevel 3 :scope file :narrow 80! :compact #+CAPTION: Clock summary at [2017-02-18 Sat 12:37], for February 2017. | Headline | Time | | | |-------------------+--------+---+---| | *Total time* | *0:15* | | | |-------------------+--------+---+---| | Some Tasks | 0:15 | | | | \_ STARTED Task1 | 0:15 | | | #+END: * Some Tasks ** STARTED Task1 :CLOCK: CLOCK: [2017-02-18 Sat 12:00]--[2017-02-18 Sat 12:15] => 0:15 :END: --8<---------------cut here---------------end--------------->8--- It seems that the iteration over the items generates to many "|". And top level headlines (e.g. "Some Tasks") each generate one more "|" than their children (but even those seem to generate to many "|"). I did not fully understand the function org-clocktable-write-default, so I'm not quite sure how to best fix this. -- Until the next mail..., Stefan.