[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/disk-usage c55d478 34/48: Document modes and prefix arg
From: |
Stefan Monnier |
Subject: |
[elpa] externals/disk-usage c55d478 34/48: Document modes and prefix argument |
Date: |
Tue, 19 Feb 2019 08:00:03 -0500 (EST) |
branch: externals/disk-usage
commit c55d47859c43cd06f90f0c25e3608d128ad6d745
Author: Pierre Neidhardt <address@hidden>
Commit: Pierre Neidhardt <address@hidden>
Document modes and prefix argument
---
disk-usage.el | 13 +++++++++++--
readme.org | 4 +++-
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/disk-usage.el b/disk-usage.el
index 76bb479..ac26702 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -31,9 +31,14 @@
;; `disk-usage-dired-at-point' to open a `dired' buffer for the current
;; directory.
;;
+;; Instead of displaying only the current folder, ~disk-usage~ can also display
+;; files in all subfolders recursively with `disk-usage-toggle-recursive'.
+;;
;; Run `disk-usage-by-types' to display statistics of disk usage by file
;; extensions.
;;
+;; With a prefix argument, cache is updated when reverting the buffer.
+;;
;; You can customize options in the 'disk-usage group.
@@ -320,7 +325,10 @@ beings."
help-echo ,(aref cols 1)))))
(define-derived-mode disk-usage-mode tabulated-list-mode "Disk Usage"
- "Mode to display disk usage."
+ "Mode to display disk usage.
+With a prefix argument, cache is updated when reverting the buffer.
+
+Also see `disk-usage-by-types-mode'."
;; TODO: Option to display extra attributes and default column to sort.
(setq tabulated-list-padding 2)
(setq tabulated-list-sort-key (cons "Size" 'flip))
@@ -479,7 +487,8 @@ TYPE is the file extension (lower case)."
(disk-usage--type-average-size e))))))))))
(define-derived-mode disk-usage-by-types-mode tabulated-list-mode "Disk Usage
By Types"
- "Mode to display disk usage by file types."
+ "Mode to display disk usage by file types.
+Also see `disk-usage-mode'."
(add-hook 'tabulated-list-revert-hook 'disk-usage-by-types--refresh nil t))
(defvar disk-usage-by-types-mode-map
diff --git a/readme.org b/readme.org
index 4650f32..cc2be25 100644
--- a/readme.org
+++ b/readme.org
@@ -29,11 +29,13 @@ to display additional bindings, such as
~disk-usage-dired-at-point~ to open a
~dired~ buffer for the current directory.
Instead of displaying only the current folder, ~disk-usage~ can also display
-files in all subfolders recursively.
+files in all subfolders recursively with ~disk-usage-toggle-recursive~.
Run ~disk-usage-by-types~ to display statistics of disk usage by file
extensions.
+With a prefix argument, cache is updated when reverting the buffer.
+
You can customize options in the 'disk-usage group.
* Screenshots
- [elpa] externals/disk-usage 3ffaf8e 14/48: Fix header display, (continued)
- [elpa] externals/disk-usage 3ffaf8e 14/48: Fix header display, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 7fe5f1b 40/48: Fix keymap setup in disk-usage-by-types-mode, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage d959b7b 36/48: Display % column and sort types by total size, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 3bbb09a 44/48: Right-align columns with units, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 441abf9 20/48: Add disk-usage-by-types, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 2d6fe3c 08/48: Resolve directory statically in button action, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 5998d42 41/48: Version 1.0.0, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 21b5749 38/48: Add disk-usage-files, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage e44979a 45/48: Version 1.1.0, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 696dd5c2 17/48: Fix free references, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage c55d478 34/48: Document modes and prefix argument,
Stefan Monnier <=
- [elpa] externals/disk-usage 3af5aa8 25/48: Reset hash table properly, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 01561b5 30/48: Implement marking and deletion, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage ae7ba9c 39/48: Fix missing "s" in type-info-names, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage d8d1643 35/48: Document file deletion, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 342d381 18/48: Add recursive listings, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 1806ea2 46/48: Support region and numeric arg when marking, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage f3c64a1 43/48: Prompt whether deleting or trashing and only revert if proceeding, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 7e0705e 47/48: Display percentage in disk-usage, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 745dd7e 01/48: Init, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage f89b69d 48/48: Display children in disk-usage, Stefan Monnier, 2019/02/19