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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode