From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#18870: \emsp and alignment in org clock report Date: Tue, 17 Mar 2015 22:09:07 +0100 Message-ID: <87sid31gcs.fsf@nicolasgoaziou.fr> References: <544f71eb.0aadc20a.595f.70e0@mx.google.com> <1426142440.1635596.239250013.1BC7F573@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXylY-0000Qn-AE for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 17:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXylT-0008Aa-43 for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 17:11:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:51829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXylT-0008AV-1R for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 17:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YXylS-0001tF-Dn for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 17:11:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1426142440.1635596.239250013.1BC7F573@webmail.messagingengine.com> (Ben Finney's message of "Thu, 12 Mar 2015 17:40:40 +1100") 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: Ben Finney Cc: 18870@debbugs.gnu.org Hello, Ben Finney writes: > I confirm this behaviour. > > With a plain text terminal, a clock report shows like: > > |-------------------+------------------------------+--------+------+------| > | willow-it.org | *File time* | *5:25* | | > | > | | Willow IT | 5:25 | | > | > | | \emsp Administration | | 3:44 | > | > | | \emsp\emsp Induction | | | > 3:44 | > | | \emsp Training & development | | 1:41 | > | > | | \emsp\emsp Odoo research | | | > 1:41 | > |-------------------+------------------------------+--------+------+------| > > The "\emsp" should be space characters (of some kind; either U+0020 SPC > or U+2003 EM SPACE) with correct alignment for the character width. > Displaying literal "\emsp" is a regression and should not happen. This is not a regression. This change favors a correct export over a correct display. Having some space character is not desirable as it would just move the problem the other way around (i.e., indentation would not appear during export) In a nutshell, the current situation is not perfect, but we have yet to find a proper character to preserve both indentation during export and readability. > If having a U+2003 EM SPACE character is desirable, then instead of > LaTeX-specific markup (which is useless in the text buffer), that > character should appear directly in the data so it is useful for > display. Note that this is not LaTeX-specific markup. This is called an entity, and is correctly exported in various back-ends. Regards, -- Nicolas Goaziou