emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Aligning table is incorrect when containing japanese chara


From: Carsten Dominik
Subject: Re: [Orgmode] Aligning table is incorrect when containing japanese character
Date: Wed, 3 Feb 2010 07:23:33 +0100

Hi Taiki,

Org-mode will do this right if you are using a font
that uses a wdith of exactly 2 ASCII characters for each japanese character.

- Carsten

On Feb 2, 2010, at 7:58 PM, Taiki SUGAWARA wrote:

Hi,

When I align table containing japanese character as following steps:

 1. insert following table to buffer.
       | 日本語      |   |
       | foo bar baz |   |
 2. move cursor to top-left corner of table.

 3. Hit Tab, Tab

Aligning table is incorrect as following:
       | 日本語   |   |
       | foo bar baz |   |

I think, `org-table-justify-field-maybe' should use string width
instead of buffer's point distance.

I wrote attached patch to use string width. Would you review it?

Regards,
Taiki
<org-table.el.patch>_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]