Function: gnus-group-list-cached
gnus-group-list-cached is an interactive and byte-compiled function
defined in gnus-group.el.gz.
Signature
(gnus-group-list-cached LEVEL &optional LOWEST)
Documentation
List all groups with cached articles.
If the prefix LEVEL is non-nil, it should be a number that says which level to cut off listing groups. If LOWEST, don't list groups with level lower than LOWEST.
This command may read the active file.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
(defun gnus-group-list-cached (level &optional lowest)
"List all groups with cached articles.
If the prefix LEVEL is non-nil, it should be a number that says which
level to cut off listing groups.
If LOWEST, don't list groups with level lower than LOWEST.
This command may read the active file."
(interactive "P" gnus-group-mode)
(when level
(setq level (prefix-numeric-value level)))
(when (or (not level) (>= level gnus-level-zombie))
(gnus-cache-open))
(funcall gnus-group-prepare-function
(or level gnus-level-subscribed)
(lambda (info)
(let ((marks (gnus-info-marks info)))
(assq 'cache marks)))
lowest
(lambda (group)
(or (gethash group
gnus-cache-active-hashtb)
;; Cache active file might use "."
;; instead of ":".
(gethash
(mapconcat #'identity
(split-string group ":")
".")
gnus-cache-active-hashtb))))
(goto-char (point-min))
(gnus-group-position-point))