emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joost Helberg <joost@snow.nl>
To: Francesco Pizzolante <fpz@missioncriticalit.com>
Cc: mailing-list-org-mode <emacs-orgmode@gnu.org>
Subject: Re: [bug] Alignment bug in clock tables
Date: Fri, 03 Oct 2014 12:21:50 +0200	[thread overview]
Message-ID: <8738b5o3lt.fsf@snow.nl> (raw)
In-Reply-To: <87ppeao4x8.fsf@example.com>

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 <fpz@missioncriticalit.com> writes:
 > From: Francesco Pizzolante <fpz@missioncriticalit.com>
 > To: mailing-list-org-mode <emacs-orgmode@gnu.org>
 > 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.

  reply	other threads:[~2014-10-03 10:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 15:41 [bug] Alignment bug in clock tables Francesco Pizzolante
2014-10-03 10:21 ` Joost Helberg [this message]
     [not found]   ` <8738b5o3lt.fsf-JFNXyGN8thM@public.gmane.org>
2014-10-17  6:29     ` Francesco Pizzolante
2014-11-03 15:45       ` Stormking
2014-11-07 15:16         ` Stormking
     [not found]           ` <loom.20141107T160907-625-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2015-02-11 10:26             ` Francesco Pizzolante
2015-02-18 12:17               ` Stormking
2015-02-18 14:22                 ` Nicolas Goaziou
2015-02-18 14:48                   ` Stormking
2015-02-18 14:57                     ` Nicolas Goaziou
2015-02-18 15:05                       ` Stormking
2015-02-18 15:08                         ` Stormking
2015-02-18 15:13                         ` Nicolas Goaziou

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=8738b5o3lt.fsf@snow.nl \
    --to=joost@snow.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=fpz@missioncriticalit.com \
    /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).