[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] double-width characters in tables
From: |
Eric Abrahamsen |
Subject: |
Re: [O] double-width characters in tables |
Date: |
Tue, 12 Feb 2013 23:43:49 +0800 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux) |
Bastien <address@hidden> writes:
> Hi Eric,
>
> Eric Abrahamsen <address@hidden> writes:
>
>> This problem has been flagged up before:
>>
>> http://orgmode.org/worg/org-issues.html#mid-87pqt04qg1-2Efsf-40gmail-2Ecom
>>
>> It's causing me headaches at the moment, so I'm trying to see if I can
>> find a solution.
>
> The problem for me here is that even if (string-width "《蛙》")
> returns 6, it is not visually equivalent to 6 characters.
>
> Is it for you?
>
> If not, let's report this to Emacs...
>
> PS: Btw (org-string-width "《蛙》") returns the correct value.
Yes, org-string-width eventually calls string-width, so that behaves
"correctly" as far as it goes, but unfortunately that's not where the
value in the text properties comes from...
《蛙》
123456
Doesn't that line up for you? Those bracket characters come with their
own "whitespace", maybe this is clearer:
正能量
123456
One Chinese character should definitely take up two screen columns.
I'd love to file a bug report but I honestly don't know where this comes
from. If it's not org-add-props or relatives, what emacs function is
responsible?
Thanks for the swift responses!
Eric
- [O] double-width characters in tables, Eric Abrahamsen, 2013/02/12
- Re: [O] double-width characters in tables, Jambunathan K, 2013/02/12
- Re: [O] double-width characters in tables, Bastien, 2013/02/12
- Re: [O] double-width characters in tables,
Eric Abrahamsen <=
- Re: [O] double-width characters in tables, Achim Gratz, 2013/02/12
- Re: [O] double-width characters in tables, Eric Abrahamsen, 2013/02/12
- [O] [PATCH] Re: double-width characters in tables, Eric Abrahamsen, 2013/02/12
- Re: [O] [PATCH] Re: double-width characters in tables, Bastien, 2013/02/13
- Re: [O] [PATCH] Re: double-width characters in tables, Eric Abrahamsen, 2013/02/13
- Re: [O] double-width characters in tables, Bastien, 2013/02/13
- [O] [PATCH] Re: double-width characters in tables, Eric Abrahamsen, 2013/02/13