emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel E. Doherty <ded-law@ddoherty.net>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Org-mode List <emacs-orgmode@gnu.org>, "J. David Boyd" <dboyd2@mmm.com>
Subject: Re: /emsp in clock tables
Date: Fri, 12 Dec 2014 13:11:46 -0600	[thread overview]
Message-ID: <87tx107kel.wl-ded-law@ddoherty.net> (raw)
In-Reply-To: <87iohgbwz4.fsf@nicolasgoaziou.fr>


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

  parent reply	other threads:[~2014-12-12 19:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11 16:52 /emsp in clock tables J. David Boyd
2014-12-11 17:16 ` Joost Helberg
2014-12-12 15:18   ` J. David Boyd
2014-12-12 16:46 ` Daniel E. Doherty
     [not found]   ` <87iohgbwz4.fsf@nicolasgoaziou.fr>
2014-12-12 19:11     ` Daniel E. Doherty [this message]
2014-12-12 19:59 ` J. David Boyd
2014-12-12 20:48   ` J. David Boyd
2014-12-12 23:05     ` Nicolas Goaziou
2014-12-13 11:58       ` Joost Helberg

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=87tx107kel.wl-ded-law@ddoherty.net \
    --to=ded-law@ddoherty.net \
    --cc=dboyd2@mmm.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).