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: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, Arthur Miller <arthur.miller <at> live.com>
Cc: 41250 <at> debbugs.gnu.org
Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline
Date: Thu, 14 May 2020 16:42:14 -0700 (PDT)
> 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




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.