emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] New package: dired-du


From: Clément Pit-Claudel
Subject: Re: [ELPA] New package: dired-du
Date: Fri, 26 May 2017 09:45:42 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 2017-05-26 09:02, Tino Calancha wrote:
> New library implementing a Dired interface for `du'.

This is nice, but why isn't this directly in dired? I don't think we should 
assume that Emacs is feature-frozen and evolve it only through new packages.  
Otherwise we risk fragmentation, and we contribute to the general feeling that 
Emacs isn't optimally usable right out of the box.

(I had the same comments about your other recent library, kmb; these are 
generally useful features: they should go into the base distribution, or at 
least be discussed).

Cheers,
Clément.

> I)
> This library defines a minor mode `dired-du-mode' to display
> the recursive size of directories in Dired buffers.  This mode
> uses the external `du' program when available.  Otherwise, it
> performs a rough estimation with Lisp.
> 
> II)
> In addition, this file provides a command `dired-du-count-sizes',
> to show the total size of the marked files.  By default, it shows
> the size of the files marked with `dired-marker-char'.   If `dired-du-mode'
> is disabled, then ignores the size of directories.  Otherwise, it takes
> in account the size of the dirs.
> When called with a prefix prompts for the marks and asks if the dirs must
> be taken in account.
> 
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> The idea of this library arose after bugs 22829 and 22892.
> 
> Some people have shown interest on this feature elsewhere:
> https://emacs.stackexchange.com/questions/20766/display-recursive-folder-sizes-in-line-in-dired
> https://superuser.com/questions/462079/how-can-i-display-folder-sizes-in-emacs-dired
> 
> The file is available for inspection in the following Elpa repo. branch:
> scratch/dired-du
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]