Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline

From: Andy Moreton <[email-masked]>
Date: Thu, 01 Oct 2020 10:24:11 +0100

On Thu 01 Oct 2020, Lars Ingebrigtsen wrote:

> Eli Zaretskii <[email-masked]> writes:
>
>>> Would anybody mind very much if I added a `string-truncate-right' that
>>> does all this automatically, and amend `string-truncate-left' in the
>>> same way?  I.e., use (if (char-displayable-p ?…) "…" "...").
>>
>> That could be useful, but it would be better if the name hinted on the
>> fact that char-displayable-p is involved.
>
> Uhm...  truncate-string-prettily? 

Using truncate could lead to confusion with string-trim-{left,right}.
Perhaps string-elide-left etc ?

    AndyM