Function: gnus-agent-catchup
gnus-agent-catchup is an interactive and byte-compiled function
defined in gnus-agent.el.gz.
Signature
(gnus-agent-catchup)
Documentation
Mark as read all unhandled articles.
An article is unhandled if it is neither cached, nor downloaded, nor downloadable.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-agent.el.gz
(defun gnus-agent-catchup ()
"Mark as read all unhandled articles.
An article is unhandled if it is neither cached, nor downloaded, nor
downloadable."
(interactive)
(save-excursion
(let ((articles gnus-newsgroup-undownloaded))
(when (or gnus-newsgroup-downloadable
gnus-newsgroup-cached)
(setq articles (gnus-sorted-ndifference
(gnus-sorted-ndifference
(copy-tree articles)
gnus-newsgroup-downloadable)
gnus-newsgroup-cached)))
(while articles
(gnus-summary-mark-article
(pop articles) gnus-catchup-mark)))
(gnus-summary-position-point)))