Function: gnus-uu-mark-sparse
gnus-uu-mark-sparse is an autoloaded, interactive and byte-compiled
function defined in gnus-uu.el.gz.
Signature
(gnus-uu-mark-sparse)
Documentation
Mark all series that have some articles marked.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-uu.el.gz
(defun gnus-uu-mark-sparse ()
"Mark all series that have some articles marked."
(interactive nil gnus-article-mode gnus-summary-mode)
(let ((marked (nreverse gnus-newsgroup-processable))
subject articles total headers)
(unless marked
(error "No articles marked with the process mark"))
(setq gnus-newsgroup-processable nil)
(save-excursion
(while marked
(and (vectorp (setq headers
(gnus-summary-article-header (car marked))))
(setq subject (mail-header-subject headers)
articles (gnus-uu-find-articles-matching
(gnus-uu-reginize-string subject))
total (nconc total articles)))
(while articles
(gnus-summary-set-process-mark (car articles))
(setcdr marked (delq (car articles) (cdr marked)))
(setq articles (cdr articles)))
(setq marked (cdr marked)))
(setq gnus-newsgroup-processable (nreverse total)))
(gnus-summary-position-point)))