From mboxrd@z Thu Jan 1 00:00:00 1970 From: dboyd2@mmm.com (J. David Boyd) Subject: Re: clocktables include "\emsp" - how to get rid of that? Date: Wed, 04 Mar 2015 13:46:52 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEK1-0003vb-LC for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 13:47:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTEJy-0000eb-DH for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 13:47:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:36360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEJy-0000eU-6d for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 13:47:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YTEJw-0007bc-D1 for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 19:47:01 +0100 Received: from 169.15.136.127 ([169.15.136.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Mar 2015 19:47:00 +0100 Received: from dboyd2 by 169.15.136.127 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Mar 2015 19:47:00 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer Stengele writes: > Hi, > > I am getting "\emsp" in my clocktable reports. > I use > > #+BEGIN: clocktable :maxlevel 4 :fileskip0 t :tcolumns 0 :level nil :scope agenda-with-archives :timestamp nil :block 2015-03 :step day :link t :stepskip0 t > #+END: > > to create these clocktable > > > Daily report: [2015-03-02 Mo] > | File | Headline | Time | > |-----------------------+----------------------------------------------------------+--------| > | | ALL *Total time* | *9:00* | > |-----------------------+----------------------------------------------------------+--------| > | Projectmanagement.org | *File time* | *2:45* | > | | \emsp [[..][Project Managament: Weekly meetings etc.]] | 2:45 | > | | \emsp\emsp [[..][TODO *00 - Project Managament -...]] | 2:45 | > > Anybody has an idea where this comes from and how to get rid of it? > > Thank you. > Regards, Rainer This was changed a while back so that the clocktable exports correctly. I was fighting this for a while by modifying the source code every release, but then I gave up. If you look in org-clock.el, you'll see what causes it. This is a bit of a diff I have that shows what it now, and what it used to be like. < (let ((str " ")) < (dotimes (k (1- level) str) < (setq str (concat "\\emsp" str)))))) --- > (let ((str "\\__")) > (while (> level 2) > (setq level (1- level) > str (concat str "__"))) > (concat str " ")))) > Hope this helps! Dave