emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Aligning table is incorrect when containing japanese character


From: Taiki SUGAWARA
Subject: [Orgmode] Aligning table is incorrect when containing japanese character
Date: Wed, 3 Feb 2010 03:58:30 +0900

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

Attachment: org-table.el.patch
Description: Binary data


reply via email to

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