GNU bug report logs - #33757
27.0.50; dired-du-mode displays incorrect human readable file sizes for non-GNU systems

Previous Next

Package: emacs;

Reported by: Matthew Newton <matt <at> mnewton.com>

Date: Sat, 15 Dec 2018 07:35:01 UTC

Severity: minor

Found in version 27.0.50

Full log


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

From: Matthew Newton <matt <at> mnewton.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 33757 <at> debbugs.gnu.org
Subject: Re: bug#33757: 27.0.50; dired-du-mode displays incorrect human
 readable file sizes for non-GNU systems
Date: Sat, 15 Dec 2018 10:13:33 -0800
Hmm, right you are. I forgot that I had GNU core utils installed on my Mac.

I suggest two things:
1. Look for gdu in path and use that if possible.
2. Add something like `dired-du-used-space-units` to indicate whether file sizes are stored in bytes, kilobytes, whatever. Then modify `dired-du-count-sizes` to multiply appropriately.

I can submit a patch if you think that’s the way to go.

By the way, I just want to verify: Is this the right place to submit a bug report for dired-du?



This bug report was last modified 6 years and 185 days ago.

Previous Next


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