emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: dboyd2@mmm.com (J. David Boyd)
To: emacs-orgmode@gnu.org
Subject: Re: clocktables include "\emsp" - how to get rid of that?
Date: Wed, 04 Mar 2015 13:46:52 -0500	[thread overview]
Message-ID: <gjub385kvbvn.fsf@W0144758.usac.mmm.com> (raw)
In-Reply-To: md7clc$8bl$1@ger.gmane.org

Rainer Stengele <rainer.stengele@online.de> 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

  parent reply	other threads:[~2015-03-04 18:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 16:42 clocktables include "\emsp" - how to get rid of that? Rainer Stengele
2015-03-04 18:18 ` Tory S. Anderson
2015-03-04 18:46 ` J. David Boyd [this message]
2015-03-05 15:19 ` Leo Ufimtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gjub385kvbvn.fsf@W0144758.usac.mmm.com \
    --to=dboyd2@mmm.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).