GNU bug report logs - #41250
28.0.50; Dired displays unconditionally ls-switches on modeline

Previous Next

Package: emacs;

Reported by: Arthur Miller <arthur.miller <at> live.com>

Date: Thu, 14 May 2020 01:43:01 UTC

Severity: minor

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 41250 <at> debbugs.gnu.org, Arthur Miller <arthur.miller <at> live.com>, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline
Date: Wed, 30 Sep 2020 22:58:00 +0300
> 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 "…"))




This bug report was last modified 4 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.