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>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 41250 <at> debbugs.gnu.org, Arthur Miller <arthur.miller <at> live.com>
Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline
Date: Wed, 30 Sep 2020 14:07:39 -0700 (PDT)
> > And I'm not sure about this:
> >
> > +                                   (concat " " xs (and (< l2  l1)
> "…")))))
> >
> > Perhaps that should be conditional upon the terminal being able to
> > display that character?
> 
> Like everywhere else (if (char-displayable-p ?…) "…" "...")

I'd argue (but not forcefully) for just "...".  As I
mentioned, "…" is, for me, useless as an ellipsis.  I think
it must be useless for nearly everyone, with a fixed-width
font.

I imagine that I included it in the patch (it's not in my
code, which is otherwise identical to what's in the patch)
only because some were worried about mode-line real estate.

Maybe it's worth a defvar (string value), so code that wants
to tweak the mode-line can adapt it?




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.