[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: |
Lars Ingebrigtsen |
Subject: |
bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline |
Date: |
Thu, 01 Oct 2020 04:39:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline, Drew Adams, 2020/09/30