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 #14 received at 41250 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 41250 <at> debbugs.gnu.org, arthur.miller <at> live.com
Subject: Re: bug#41250: 28.0.50;
 Dired displays unconditionally ls-switches on modeline
Date: Fri, 15 May 2020 09:43:42 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Date: Fri, 15 May 2020 01:33:51 +0300
> Cc: 41250 <at> debbugs.gnu.org
> 
> > I suggest, as small improvement, to introduce a user option to turn off
> > or on displaying of ls-switches on modeline. As a suggestion I have
> > attached small hack to dired.el as tested on my copy of Emacs, but you
> > might wish to rewrite it. Drew had some other suggestions.
> 
> Maybe instead of boolean better to use a number for the allowed limit
> that should not grow more than this number that means the length of
> switches string that the user can tolerate on the modeline.
> 
> Then modeline will display abbreviation truncated to the specified
> number of characters, with an ellipses, on the assumption that
> the most important switches are at the beginning of the string.

That sounds better.  Bonus points for arranging a tooltip that would
show the full string when the mouse is over that part of the mode
line.

> Customizing it to 0 effectively disables the display of switches.

Why not simply use nil?  We could use zero, but that is a bit
"tricky", and doesn't seem to me justified in this case.




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.