I don't remember reading about this here, so hopefully I haven't just missed it. I've found some reference to it on the web, but no resolution. Sometime in the last few releases, clock tables have changed the display. I now see | *Total time* | *2:17* | | | |---------------------------------------------------+--------+------+------| | Tasks | 2:17 | | | | \emsp Infrastructure | | 0:27 | | | \emsp\emsp WAITING Email | | | 0:06 | How can I remove the \emsp artifact and get back the old behavior? Advance apologies if this is somewhere in a README that I didn't... Dave in Hudson, FL
Dave,
the customizable org-pretty-entities screws up the alignment in the
table. I don't know where the problem lies, but it's fixed by hitting
C-c C-c in the table for re-aligning stuff.
I don't know why you see the '\emsp' code, as it's supposed to be
translated into a blank on screen.
unset org-pretty-entities to avoid \emsp stuff.
regards,
Joost
>>>>> "J" == J David Boyd <dboyd2@mmm.com> writes:
> From: J. David Boyd <dboyd2@mmm.com>
> To: emacs-orgmode@gnu.org
> Subject: [O] /emsp in clock tables
> Date: 2014-12-11T17:52:27+0100
> I don't remember reading about this here, so hopefully I haven't just missed
> it.
> I've found some reference to it on the web, but no resolution.
> Sometime in the last few releases, clock tables have changed the display.
> I now see
> | *Total time* | *2:17* | | |
> |---------------------------------------------------+--------+------+------|
> | Tasks | 2:17 | | |
> | \emsp Infrastructure | | 0:27 | |
> | \emsp\emsp WAITING Email | | | 0:06 |
> How can I remove the \emsp artifact and get back the old behavior?
> Advance apologies if this is somewhere in a README that I didn't...
> Dave in Hudson, FL
--
Snow B.V.
>>>>>> "J" == J David Boyd <dboyd2@mmm.com> writes: > > From: J. David Boyd <dboyd2@mmm.com> > > To: emacs-orgmode@gnu.org > > Subject: [O] /emsp in clock tables > > Date: 2014-12-11T17:52:27+0100 > > > I don't remember reading about this here, so hopefully I haven't just missed > > it. > > > I've found some reference to it on the web, but no resolution. > > > Sometime in the last few releases, clock tables have changed the display. > > > I now see > > > | *Total time* | *2:17* | | | > > |---------------------------------------------------+--------+------+------| > > | Tasks | 2:17 | | | > > | \emsp Infrastructure | | 0:27 | | > > | \emsp\emsp WAITING Email | | | 0:06 | > > > > How can I remove the \emsp artifact and get back the old behavior? > > > Advance apologies if this is somewhere in a README that I didn't... > > > Dave in Hudson, FL Joost Helberg <joost@snow.nl> writes: > Dave, > > the customizable org-pretty-entities screws up the alignment in the > table. I don't know where the problem lies, but it's fixed by hitting > C-c C-c in the table for re-aligning stuff. > > I don't know why you see the '\emsp' code, as it's supposed to be > translated into a blank on screen. > > unset org-pretty-entities to avoid \emsp stuff. > > regards, > > Joost > Thanks, that works...
I am seeing the same thing. When I set org-pretty-entities t, the alignment
gets confused. I am assuming that the alignment algorithm assumes all
characters are the same width, but the utf8 rendering of an em-space is wider,
hence the problems.
Perhaps a fix would be for the clocktable to use two en-spaces instead of one
em-space to indent lower levels. It looks to me as though the en-space is as
wide as a single space.
Em-space [ ]
En-space [ ]
space [ ]
Using regular ASCII spaces at the beginning get deleted during alignment of
the table, but not the en-spaces.
I think this is a bug in the implementation of the clocktables. Any chance of
getting this fixed?
At Thu, 11 Dec 2014 11:52:27 -0500,
dboyd2@mmm.com (J. David Boyd) wrote:
>
>
> I don't remember reading about this here, so hopefully I haven't just missed
> it.
>
> I've found some reference to it on the web, but no resolution.
>
> Sometime in the last few releases, clock tables have changed the display.
>
> I now see
>
> | *Total time* | *2:17* | | |
> |---------------------------------------------------+--------+------+------|
> | Tasks | 2:17 | | |
> | \emsp Infrastructure | | 0:27 | |
> | \emsp\emsp WAITING Email | | | 0:06 |
>
>
> How can I remove the \emsp artifact and get back the old behavior?
>
> Advance apologies if this is somewhere in a README that I didn't...
>
> Dave in Hudson, FL
>
>
>
It looks like an alignment bug to me. The \emsp is rendered as a double-width
character with org-pretty-entities on, and the table no longer aligns
properly.
At least it doesn't for me. Try tabbing through the table with
org-pretty-entities on when the \emsp char is used for indenting.
At Fri, 12 Dec 2014 18:26:39 +0100,
Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Hello,
>
> Daniel E. Doherty <ded-law@ddoherty.net> writes:
>
> > I am seeing the same thing. When I set org-pretty-entities t, the alignment
> > gets confused. I am assuming that the alignment algorithm assumes all
> > characters are the same width, but the utf8 rendering of an em-space is wider,
> > hence the problems.
> >
> > Perhaps a fix would be for the clocktable to use two en-spaces instead of one
> > em-space to indent lower levels. It looks to me as though the en-space is as
> > wide as a single space.
> >
> > Em-space [ ]
> > En-space [ ]
> > space [ ]
> >
> > Using regular ASCII spaces at the beginning get deleted during alignment of
> > the table, but not the en-spaces.
> >
> > I think this is a bug in the implementation of the clocktables. Any chance of
> > getting this fixed?
>
> What is the bug? The fact that \emsp is used instead \ensp?
>
>
> Regards,
>
> --
> Nicolas Goaziou
dboyd2@mmm.com (J. David Boyd) writes: > I don't remember reading about this here, so hopefully I haven't just missed > it. > > I've found some reference to it on the web, but no resolution. > > Sometime in the last few releases, clock tables have changed the display. > > I now see > > | *Total time* | *2:17* | | | > |---------------------------------------------------+--------+------+------| > | Tasks | 2:17 | | | > | \emsp Infrastructure | | 0:27 | | > | \emsp\emsp WAITING Email | | | 0:06 | > > > How can I remove the \emsp artifact and get back the old behavior? > > Advance apologies if this is somewhere in a README that I didn't... > > Dave in Hudson, FL I just looked through the git logs, and this is what I see: commit bacfe5b4f7244eaf151f4e26a1d94dd8f66c1d19 Author: Nicolas Goaziou <mail@nicolasgoaziou.fr> Date: Fri Jul 25 11:02:55 2014 +0200 org-clock: Update syntax for indentation in clock tables * lisp/org-clock.el (org-clocktable-indent-string): Use "\emsp" instead of "\__", which is not supported anymore since Org 8.0. Thanks to Buddy Butterfly for reporting it. http://permalink.gmane.org/gmane.emacs.orgmode/88842 Can't believe it was all the way back in July when this changed, guess I haven't done any clocktables in a while. So I guess the problem is 'how do I keep the \emsp from displaying on the screen." Is there anyway, or do I just live with it... Dave
dboyd2@mmm.com (J. David Boyd) writes:
>
> I just looked through the git logs, and this is what I see:
>
>
> commit bacfe5b4f7244eaf151f4e26a1d94dd8f66c1d19
> Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> Date: Fri Jul 25 11:02:55 2014 +0200
>
> org-clock: Update syntax for indentation in clock tables
>
> * lisp/org-clock.el (org-clocktable-indent-string): Use "\emsp"
> instead of "\__", which is not supported anymore since Org 8.0.
>
> Thanks to Buddy Butterfly for reporting it.
> http://permalink.gmane.org/gmane.emacs.orgmode/88842
>
>
> Can't believe it was all the way back in July when this changed, guess I
> haven't done any clocktables in a while.
>
> So I guess the problem is 'how do I keep the \emsp from displaying on the
> screen."
>
> Is there anyway, or do I just live with it...
>
> Dave
So, I put the old code back into my org-clock.el, I'm running Org version
"8.3beta", and it now works fine in my clocktables.
Now I get lines like:
| Tasks | 1:18 | | | |
| \__ Infrastructure | | 0:31 | | |
| \____ WAITING Email | | | 0:07 | |
| \______ WAITING - respond to Bill | | | | 0:01 |
| \____ WAITING Research - Gnus | | | 0:14 | |
| \____ WAITING Research - Web | | | 0:04 | |
which is exactly what I wanted.
I read the linked message above from Buddy Butterfly. Was the problem only for
latext exporting? I personally look at the screen more than export...
Dave
dboyd2@mmm.com (J. David Boyd) writes:
> Now I get lines like:
>
> | Tasks | 1:18 | | | |
> | \__ Infrastructure | | 0:31 | | |
> | \____ WAITING Email | | | 0:07 | |
> | \______ WAITING - respond to Bill | | | | 0:01 |
> | \____ WAITING Research - Gnus | | | 0:14 | |
> | \____ WAITING Research - Web | | | 0:04 | |
>
> which is exactly what I wanted.
>
> I read the linked message above from Buddy Butterfly. Was the problem only for
> latext exporting? I personally look at the screen more than export...
The problem is that "\___" appears in any export output, not only LaTeX.
Another option could be to use dots. At least, they wouldn't be as ugly
as "\___" in output, and keep clocktable readable in the buffer.
Regards,
Nicolas et al,
I'm sure the choice for \emsp was a valid one. \emsp is not the bug, it
triggers a bug in the alignment routine which screws up somehow. If
alignment takes place after displaying the blanks, things turn out OK. I
tried to install a custom formatter (Cutomizable: Org Clock Clocktable
Formatter):
(defun my-formatter( ipos tables params )
(progn
(org-clocktable-write-default ipos tables params)
(forward-line 2)
(org-table-align)
)
)
But this didn't help. Going inside the table and hitting C-c C-c helps,
but is a bit cumbersome.
Somehow moving the aligning to another place in the process should fix
this. I wasn't able to make this work.
regards,
Joost
>>>>> "Nicolas" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> To: J. David Boyd <dboyd2@mmm.com>
> Cc: emacs-orgmode@gnu.org
> Subject: Re: [O] /emsp in clock tables
> Date: 2014-12-13T00:05:06+0100
> dboyd2@mmm.com (J. David Boyd) writes:
>> Now I get lines like:
>>
>> | Tasks | 1:18 | | | |
>> | \__ Infrastructure | | 0:31 | | |
>> | \____ WAITING Email | | | 0:07 | |
>> | \______ WAITING - respond to Bill | | | | 0:01 |
>> | \____ WAITING Research - Gnus | | | 0:14 | |
>> | \____ WAITING Research - Web | | | 0:04 | |
>>
>> which is exactly what I wanted.
>>
>> I read the linked message above from Buddy Butterfly. Was the problem only for
>> latext exporting? I personally look at the screen more than export...
> The problem is that "\___" appears in any export output, not only LaTeX.
> Another option could be to use dots. At least, they wouldn't be as ugly
> as "\___" in output, and keep clocktable readable in the buffer.
> Regards,
--
Snow B.V.