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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 41250 <at> debbugs.gnu.org, arthur.miller <at> live.com, juri <at> linkov.net
Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline
Date: Sat, 03 Oct 2020 19:36:42 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> > How about making char-displayable-p accept an optional argument, a
>> > frame for which to perform the test?
>> 
>> I thought char-displayable-p worked based on the current frame?
>
> The selected-frame, yes.  I though that wasn't good enough in this
> case, but maybe I was confused?  If the latter, what exactly is the
> problem that caused you to say "The variable doesn't work as is
> (because of the problem of mixed frames)"?

There's a variable -- 'truncate-string-ellipsis' -- set globally, and
it was suggested that the default of that variable should depend on
char-displayable-p.  I pointed out that that isn't very useful, in
general, in a mixed frame situation.

The char-displayable-p function is fine as is, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.