bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andy Moreton
Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline
Date: Thu, 01 Oct 2020 10:24:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)

On Thu 01 Oct 2020, Lars Ingebrigtsen wrote:

> Eli Zaretskii <eliz@gnu.org> 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






reply via email to

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