emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: Re: Python code for producing Org tables
Date: Tue, 25 Dec 2012 08:04:40 -0500	[thread overview]
Message-ID: <86txracmfr.fsf@iro.umontreal.ca> (raw)
In-Reply-To: <87sj6vsifi.fsf@bzg.ath.cx> (Bastien's message of "Mon, 24 Dec 2012 14:12:17 +0100")

Bastien <bzg@altern.org> writes:

> Would you like something like

> | 3.1 |
> | 3.1415 |

> be aligned/modified as  

> | 3.1000 |
> | 3.1415 |

> ?

More precisely as:

> | 3.1    |
> | 3.1415 |

which is aligning on dots, even if it looks like left-justifying.

There is a problem in that I have tables using a decimal period, and
others using a decimal comma, and the Python code only handles periods.
Instead of diving into complex locales things, which would not do
anyway, I would merely recognize both as a reasonable compromise.

> Don't worry, once you'll dive into `org-table-align' chances are that
> you will feel like "working" instead of "toying" :)

Grrr! :-)

> Bonnes fêtes !

Itou, itou!

François (who is soon going, to play the office this morning).

      parent reply	other threads:[~2012-12-25 13:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19  3:43 Python code for producing Org tables François Pinard
2012-12-24  0:35 ` Bastien
2012-12-24 12:39   ` François Pinard
2012-12-24 13:12     ` Bastien
2012-12-24 13:26       ` Dov Grobgeld
2012-12-25 13:10         ` François Pinard
2012-12-25 13:04       ` François Pinard [this message]

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=86txracmfr.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --cc=emacs-orgmode@gnu.org \
    /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).