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


Message #141 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#41250: 28.0.50;
 Dired displays unconditionally ls-switches on modeline
Date: Thu, 01 Oct 2020 10:24:11 +0100
On Thu 01 Oct 2020, Lars Ingebrigtsen wrote:

> Eli Zaretskii <eliz <at> 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





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.