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

Previous Next

Package: emacs;

Reported by: Liu Hui <liuhui1610 <at> gmail.com>

Date: Tue, 14 Nov 2023 09:55:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Drew Adams <drew.adams <at> oracle.com>
To: Liu Hui <liuhui1610 <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: "67161 <at> debbugs.gnu.org" <67161 <at> debbugs.gnu.org>
Subject: RE: [External] : 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).

This bug report was last modified 1 year and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.