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: Juri Linkov
Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline
Date: Wed, 30 Sep 2020 22:58:00 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> 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 ?…) "…" "...").

There is a better function 'truncate-string-to-width'.

But users need to set up 'truncate-string-ellipsis' explicitly
in init files as

  (with-eval-after-load 'mule-util
    (setq truncate-string-ellipsis "…"))





reply via email to

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