From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Helberg Subject: Re: [bug] Alignment bug in clock tables Date: Fri, 03 Oct 2014 12:21:50 +0200 Message-ID: <8738b5o3lt.fsf@snow.nl> References: <87ppeao4x8.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZzzz-0004Hl-VX for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 06:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZzzu-0001c6-Jz for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 06:22:07 -0400 Received: from mx.snow.nl ([213.154.248.146]:43974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZzzu-0001bb-DY for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 06:22:02 -0400 In-reply-to: <87ppeao4x8.fsf@example.com> 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: Francesco Pizzolante Cc: mailing-list-org-mode Francesco, I reported this on September 2nd too. Hitting C-c C-c inside the table fixes the formatting. Also moving to a position inside the table and doing: M-x org-table-align fixes the formatting. Hence I tried to create a new formatter function in order to re-align after writing the table: (defun my-formatter( ipos tables params ) (progn (org-clocktable-write-default ipos tables params) (forward-line 2) (org-table-align) ) ) and install this as the formatter, but it didn't help. If it would have helped, I could have fixed the default table-writer by adding (org-table-align). Anyone an idea? regards, Joost Helberg >>>>> "Francesco" == Francesco Pizzolante writes: > From: Francesco Pizzolante > To: mailing-list-org-mode > Subject: [O] [bug] Alignment bug in clock tables > Date: 2014-10-02T17:41:07+0200 > Hi, > I'm having an alignment issue in clock tables, both in the agenda and in > dynamic blocks. > By default, \emsp is displayed in clock tables for level 2 (or above) to > indent headings. To avoid that, I set the variable `org-pretty-entities' > to t, and in this case the alignment of the table is broken when you > regenerate it. > I currently see no solution if I want correct alignment in clock tables > without seeing \emsp. > Any idea how to achieve that? > Here's a small screen capture that shows the issue: > http://screencast.com/t/qpmxDV8R543G > Thanks. > Francesco -- Snow B.V.