emacs-orgmode
[Top][All Lists]
Advanced

[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: Ihor Radchenko
Subject: Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG)
Date: Sun, 23 Apr 2023 15:03:12 +0000

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'.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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