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: Fri, 01 Sep 2017 14:02:20 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Leo Vivier <leo.vivier@gmail.com>
>> Date: Thu, 31 Aug 2017 12:19:58 -0700
>> 
>> Here's a MWE with emacs -q.
>> 
>> | 1 | test  | test |
>> | 2 | tést | test |
>> | 3 | test  | test |
>> | 4 | test  | test |
>> 
>> The 2nd line (with the `é') as an offset of 1 space compared to the others.
>> Pressing <tab> within any of the cells to realign the table doesn't fix it.
>
> Please show all the steps for reproducing this, not just the resulting
> display.  From the rest of your text, I'm guessing that one needs to
> turn on Org mode, create a table, and populate it with the above
> contents.  But if I do this by hand, I don't see the problem, so maybe
> I missed some step.
>
> It is also important to describe how you typed é, assuming that you
> typed it inside Emacs.  OTOH, if the table was created by importing a
> file, please tell which bytes stand for é there.
>
> Finally, please tell which versions of Emacs and Org you have
> installed.
>
>> 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. But that was ages ago, he'd have to have a really
old Org.

Eric




reply via email to

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