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

From: Arthur Miller <arthur.miller <at> live.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 41250 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#41250: 28.0.50; Dired displays unconditionally ls-switches
 on modeline
Date: Fri, 15 May 2020 10:44:24 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

>> 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.
>> Customizing it to 0 effectively disables the display of switches.
>
> I suggested a choice, one possibility being a format string.
> A format string also lets you truncate.  But sure, another
> choice offered could be what you suggest (a simpler way to
> specify just truncation).
>
> I made the suggestion in an emacs-devel thread, which hasn't
> been referenced so far in this bug thread:
>
> https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01851.html
>
> https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01964.html

I answered you on that mail, but I just mentioned that you had other
suggestion on bug repport just for the simplicity. I think format string
asks for more documentation and more cognitive effort on part of user
:-)  and as such maybe it is better to have it as part of Dired+.

Kind-of more for hard-core users who prefer much deeper level of
customization?




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.