Subject: Re: bug#44273: "total used in directory 19 available 5.2 GiB"

From: Mattias Engdegård <[email-masked]>
Date: Wed, 28 Oct 2020 13:18:34 +0100

28 okt. 2020 kl. 13.10 skrev Lars Ingebrigtsen <[email-masked]>:

> Andreas Schwab <[email-masked]> writes:
> 
>> That would require re-implementing each and every ls implementation, to
>> handle all possible command line arguments.
> 
> Of course not.  The directory data is delivered to new-dired in some
> well-defined format, and it's then displayed as the user wants.  ls
> switches aren't involved.

Perhaps what Andreas meant is what since Dired is defined in terms of the behaviour of the 'ls' command it runs, and users can specify arbitrary command-line switches, we cannot really change much of it.

More likely we should consider Dired a lost cause that cannot be fixed because of its design, and write a modern alternative.
That would have many benefits, including not being tied to a particular output format just for the sake of tradition.
Presumably that is what you meant by new-dired?