From: Carsten Dominik <carsten.dominik@gmail.com>
To: Taiki SUGAWARA <buzz.taiki@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Aligning table is incorrect when containing japanese character
Date: Wed, 3 Feb 2010 07:23:33 +0100 [thread overview]
Message-ID: <12578DBB-5019-4D5B-A6BE-7E185F95F3C6@gmail.com> (raw)
In-Reply-To: <73f97e501002021058k6f2942c5t73fba841fd080373@mail.gmail.com>
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
prev parent reply other threads:[~2010-02-03 6:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-02 18:58 Aligning table is incorrect when containing japanese character Taiki SUGAWARA
2010-02-03 6:23 ` Carsten Dominik [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=12578DBB-5019-4D5B-A6BE-7E185F95F3C6@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=buzz.taiki@gmail.com \
--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).