From: Tino Calancha <tino.calancha@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: [ELPA] New package: dired-du
Date: Fri, 26 May 2017 22:02:53 +0900 [thread overview]
Message-ID: <8737brwz2a.fsf@calancha-pc> (raw)
New library implementing a Dired interface for `du'.
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
next reply other threads:[~2017-05-26 13:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-26 13:02 Tino Calancha [this message]
2017-05-26 13:45 ` [ELPA] New package: dired-du Clément Pit-Claudel
2017-05-26 14:57 ` Tino Calancha
2017-05-26 17:04 ` Yuri Khan
2017-05-26 17:53 ` Eli Zaretskii
2017-05-26 18:12 ` Yuri Khan
2017-05-26 19:03 ` Eli Zaretskii
2017-05-27 10:06 ` Tino Calancha
2017-05-27 10:59 ` Yuri Khan
2017-05-29 1:37 ` Tino Calancha
2017-05-29 14:41 ` Filipp Gunbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737brwz2a.fsf@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).