Function: use-package-report
use-package-report is an interactive and byte-compiled function
defined in use-package-core.el.gz.
Signature
(use-package-report)
Documentation
Show current statistics gathered about use-package declarations.
In the table that's generated, the status field has the following
meaning:
Configured :config has been processed (the package is loaded!)
Initialized :init has been processed (load status unknown)
Prefaced :preface has been processed
Declared the use-package declaration was seen
Customize the user option use-package-compute-statistics to
enable gathering statistics.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/use-package/use-package-core.el.gz
(defun use-package-report ()
"Show current statistics gathered about `use-package' declarations.
In the table that's generated, the status field has the following
meaning:
Configured :config has been processed (the package is loaded!)
Initialized :init has been processed (load status unknown)
Prefaced :preface has been processed
Declared the use-package declaration was seen
Customize the user option `use-package-compute-statistics' to
enable gathering statistics."
(interactive)
(let ((statistics (hash-table-keys use-package-statistics)))
(unless statistics
(if use-package-compute-statistics
(user-error "No use-package statistics available")
(user-error (concat "Customize `use-package-compute-statistics'"
" to enable reporting"))))
(with-current-buffer (get-buffer-create "*use-package statistics*")
(setq tabulated-list-entries
(mapcar #'use-package-statistics-convert statistics))
(use-package-statistics-mode)
(tabulated-list-print)
(display-buffer (current-buffer)))))