From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: [ELPA] New package: dired-du Date: Fri, 26 May 2017 22:02:53 +0900 Message-ID: <8737brwz2a.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495803792 4755 195.159.176.226 (26 May 2017 13:03:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 May 2017 13:03:12 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 26 15:03:08 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEEtW-00013M-Ut for ged-emacs-devel@m.gmane.org; Fri, 26 May 2017 15:03:07 +0200 Original-Received: from localhost ([::1]:36730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEEtc-00039n-Fd for ged-emacs-devel@m.gmane.org; Fri, 26 May 2017 09:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEEtT-00038s-A7 for emacs-devel@gnu.org; Fri, 26 May 2017 09:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEEtQ-0001cu-4P for emacs-devel@gnu.org; Fri, 26 May 2017 09:03:03 -0400 Original-Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:36515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEEtP-0001cl-VX for emacs-devel@gnu.org; Fri, 26 May 2017 09:03:00 -0400 Original-Received: by mail-pf0-x233.google.com with SMTP id m17so11246635pfg.3 for ; Fri, 26 May 2017 06:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=6Layn5/HcUarJ7SVmBmWOExDd8Wyq58/hgzsoLI4T6A=; b=uvq05mbx81PdJHb3VhKVTgCkmfBjbED3oeVvEEEK+OyZcD/1IDYs8oM1PRo1jtZV7b ZqH2wiciUDoDeGDxlZ0ZsYiZJpvlcRuTOWmkmKr/xPRrrzHMFxa82/lNMgHWzlahzZmh gMx+5vVbVJBOmSZ8ePWYNe7Xy8VjqECPbRZCtLZuDfzLZQ3paNX03OX0DGHRCvqkOK3G wcsfXO9rNvo8VFf8QDsMMtzQyMzlvcG6EsmPQwWuC8PURBfmwn9U9u9Q3mSn4l6gLM6E pFuQerbiRR8vHQfp0djQEpPMp0KYLg/FT1EU/EuMGli7LNdNXwXbW9xbA6paO8avxV6L 3yVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=6Layn5/HcUarJ7SVmBmWOExDd8Wyq58/hgzsoLI4T6A=; b=Es5mj5h9iJFWObLf53IjkIhvOSbeA2RQ5bhI0+aU5MIcC165yb3KwoIv5sQPb8yMGm YN6ui8yq2qmb2dsGzF5AvdGxbEwYv40ahzEaGVCUgdVU+48EFcv+UpoTRpUA/jnepiAO 9ta2Snj6s45+RoYmM3pFN7vfAOaL+7x/6pAF3CsWyiMg/7DY12UbIyjn2ls4ZOxFZjxu nMgRBt2rHY1HKjpGdYIZhFGA0mLCnjntuPnZQHlCon0sX2zpiaHH1S7v+DCoUZzUU2dS T9qPpMtaWD7UXHjZUiPTBwQkatoT1Xvn6/1OLrzjs+LgV8p72Bxnr/UkhbcYEmbHNXkI gYVw== X-Gm-Message-State: AODbwcCFUQxtgBdgTZVthRKpohMAB/+f0vhrGb54uVEX0E9kLpw8Hnk9 cj5iJxUZfAbl953+ X-Received: by 10.98.134.72 with SMTP id x69mr2315997pfd.106.1495803778353; Fri, 26 May 2017 06:02:58 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id b65sm2084109pfl.48.2017.05.26.06.02.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 May 2017 06:02:57 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215214 Archived-At: 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