[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due t
From: |
Ruijie Yu |
Subject: |
Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG) |
Date: |
Sun, 23 Apr 2023 23:15:27 +0800 |
User-agent: |
mu4e 1.9.22; emacs 30.0.50 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Ruijie Yu <ruijie@netyu.xyz> writes:
>
>>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63029
>>
>> From my understanding of Eli's response, org-colview is at fault here, by
>> calling `length' instead of `string-width' in
>> `org-columns-add-ellipses'. Changing this function call might be all it
>> needs to fix the colview test failure?
>
> This is tricky because string width may be different depending on
> in-buffer settings, fonts used, etc.
>
> We can try to be a tiny little bit more accurate using
> `truncate-string-to-width', `string-width', or `org-string-width'.
Just had a try at this, fully untested code (other than starting a
LANG=zh_CN.UTF-8 Emacs session and running this substring function to
see its effects). It is a bit too late for me now, so I'll call it a
day (literally) for coding today.
org-colview.diff
Description: Text Data
--
Best,
RY
[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]
- Test failure due to LANG, Axel Kielhorn, 2023/04/22
- Re: Test failure due to LANG, Ruijie Yu, 2023/04/22
- Re: Test failure due to LANG, Ruijie Yu, 2023/04/22
- Re: Test failure due to LANG, Ruijie Yu, 2023/04/22
- [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/22
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/22
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23
- Message not available
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/23
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG),
Ruijie Yu <=
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/25
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/25
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Axel Kielhorn, 2023/04/22
- Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/22
- Re: [DRAFT PATCH v3] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/22
- Re: [DRAFT PATCH v3] Decouple LANG= and testing (was: Test failure due to LANG), Axel Kielhorn, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23