bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67161: 30.0.50; [PATCH] Add option `dired-filename-display-length'


From: Drew Adams
Subject: bug#67161: 30.0.50; [PATCH] Add option `dired-filename-display-length'
Date: Wed, 15 Nov 2023 18:06:42 +0000

> > We shouldn't use non-ASCII characters by default, without checking
> > they can be displayed.
> 
> Thanks for pointing this out. I think it can be changed to "...".

+1.

Would someone please do likewise for `dired-sort-set-mode-line'?
My version (in Dired+) uses "...", not an ellipsis char.

FWIW, IMO an ellipsis char is _bad_ when the font used is fixed
width.  It's not very legible, in particular.
___


FWIW2: The other difference my version has is
that it respects a user option:
___

diredp-switches-in-mode-line is a variable defined in `dired+.el'.

Its value is nil

How to indicate `dired-actual-switches' in mode-line.
Possible values:
 * `nil':    Indicate name-or-date sort order, if possible.
             Else show full switches.
 * `as-is':  Show full switches.
 * Integer:  Show only the first N chars of full switches.
 * Function: Pass `dired-actual-switches' as arg and show result.
___

If vanilla Emacs did likewise or something similar then I
wouldn't need my version of `dired-sort-set-mode-line'
(for new Emacs versions, at least).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]