help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Spacing within org-mode tables when diacritics are used


From: Eric Abrahamsen
Subject: Re: Spacing within org-mode tables when diacritics are used
Date: Sat, 02 Sep 2017 07:58:17 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Date: Fri, 01 Sep 2017 14:02:20 -0700
>> 
>> >> I think this might have something to do with multibyte characters.
>> >> Running (toggle-enable-multibyte-characters) shows that the é does 
>> >> indeed take two bytes.
>> >
>> > That couldn't be the reason.
>> 
>> Why not? Org table formatting used to be done with `length' on the
>> string, I changed it to `string-width' precisely to fix wonkiness with
>> multibyte characters.
>
> Because 'length' returns the number of characters in a string, not the
> number of bytes.  See its doc string.

I know... Obviously this isn't worth arguing about, but I still suspect
this is the change OP doesn't have:

http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=4af31090b4420978067bc24512467bcc9a78a7f1




reply via email to

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