guix-commits
[Top][All Lists]
Advanced

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

09/09: gnu: Add emacs-dired-du.


From: Pierre Neidhardt
Subject: 09/09: gnu: Add emacs-dired-du.
Date: Sun, 22 Jul 2018 15:01:44 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit e968542d298a3eaf1a8811a91463b1589589fcb3
Author: Pierre Neidhardt <address@hidden>
Date:   Sun Jul 22 20:49:47 2018 +0200

    gnu: Add emacs-dired-du.
    
    * gnu/packages/emacs.scm (emacs-dired-du): New variable.
---
 gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4360baa..f57a0ea 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+)))



reply via email to

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