[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 11:14:55 -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: Sat, 02 Sep 2017 07:58:17 -0700
>>
>> > 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
>
> Maybe you are right, although string-width shouldn't affect display of
> normal-width characters such as é. It only affects double-width
> characters, or characters that Emacs composes into a single grapheme
> cluster. Multibyte-ness per se doesn't come into play here. That's
> why I asked how that é was typed, and what was its encoding on the
> file (if the table was imported from a file). If there were actually
> 2 characters, e and ́, then yes, using length would produce wrong
> results that string-width would fix.
Ah, interesting -- thanks for the clarification.
- Spacing within org-mode tables when diacritics are used, Leo Vivier, 2017/09/01
- Re: Spacing within org-mode tables when diacritics are used, Eli Zaretskii, 2017/09/01
- Re: Spacing within org-mode tables when diacritics are used, Eric Abrahamsen, 2017/09/01
- Re: Spacing within org-mode tables when diacritics are used, Eli Zaretskii, 2017/09/02
- Re: Spacing within org-mode tables when diacritics are used, Eric Abrahamsen, 2017/09/02
- Re: Spacing within org-mode tables when diacritics are used, Eli Zaretskii, 2017/09/02
- Re: Spacing within org-mode tables when diacritics are used,
Eric Abrahamsen <=
- Re: Spacing within org-mode tables when diacritics are used, Mario Castelán Castro, 2017/09/02
- Re: Spacing within org-mode tables when diacritics are used, Eli Zaretskii, 2017/09/02
- Re: Spacing within org-mode tables when diacritics are used, Mario Castelán Castro, 2017/09/02
- Re: Spacing within org-mode tables when diacritics are used, Eric Abrahamsen, 2017/09/02
- Re: Spacing within org-mode tables when diacritics are used, Mario Castelán Castro, 2017/09/02