aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2018-07-22 20:49:47 +0200
committerPierre Neidhardt <ambrevar@gmail.com>2018-07-22 20:49:47 +0200
commite968542d298a3eaf1a8811a91463b1589589fcb3 (patch)
treeeaa81b9e3859eec69d0edb563be4e1c814bedb8e
parent5f005932bcc7b348d89f7f49a64e7ab7a6e7e061 (diff)
downloadgnu-guix-e968542d298a3eaf1a8811a91463b1589589fcb3.tar
gnu-guix-e968542d298a3eaf1a8811a91463b1589589fcb3.tar.gz
gnu: Add emacs-dired-du.
* gnu/packages/emacs.scm (emacs-dired-du): New variable.
-rw-r--r--gnu/packages/emacs.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4360baa623..f57a0ea90e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11585,3 +11585,30 @@ org-contacts format. There are actions for inserting postal addresses, email
addresses, and phone numbers in the buffer where @command{helm-org-contacts}
was called.")
(license license:gpl3))))
+
+(define-public emacs-dired-du
+ (package
+ (name "emacs-dired-du")
+ (version "0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://elpa.gnu.org/packages/dired-du-"
+ version ".tar"))
+ (sha256
+ (base32
+ "09yj37p2fa5f81fqrzwghjkyy2ydsf4rbkfwpn2yyvzd5nd97bpl"))))
+ (build-system emacs-build-system)
+ (home-page "http://elpa.gnu.org/packages/dired-du.html")
+ (synopsis "Dired with recursive directory sizes")
+ (description
+ "Display the recursive size of directories in Dired.
+This file defines a minor mode @command{dired-du-mode} to show the recursive
+size of directories in Dired buffers. If @command{du} program is available,
+then the directory sizes are obtained with it. Otherwise, the directory sizes
+are obtained with Lisp. The former is faster and provide a more precise
+value. For directories where the user doesn't have read permission, the
+recursive size is not obtained. Once this mode is enabled, every new Dired
+buffer displays recursive dir sizes.")
+ (license license:gpl3+)))