From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Spacing within org-mode tables when diacritics are used
Date: Fri, 01 Sep 2017 14:02:20 -0700 [thread overview]
Message-ID: <87o9qurv37.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 83fuc624gi.fsf@gnu.org
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
next prev parent reply other threads:[~2017-09-01 21:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-31 19:19 Spacing within org-mode tables when diacritics are used Leo Vivier
2017-09-01 8:44 ` Eli Zaretskii
2017-09-01 21:02 ` Eric Abrahamsen [this message]
2017-09-02 7:45 ` Eli Zaretskii
2017-09-02 14:58 ` Eric Abrahamsen
2017-09-02 15:13 ` Eli Zaretskii
2017-09-02 18:14 ` Eric Abrahamsen
2017-09-02 18:52 ` Mario Castelán Castro
2017-09-02 19:21 ` Eli Zaretskii
2017-09-02 19:23 ` Mario Castelán Castro
2017-09-02 21:16 ` Eric Abrahamsen
2017-09-03 1:08 ` Mario Castelán Castro
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9qurv37.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=help-gnu-emacs@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.
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).