Function: gnus-summary-limit-to-singletons
gnus-summary-limit-to-singletons is an interactive and byte-compiled
function defined in gnus-sum.el.gz.
Signature
(gnus-summary-limit-to-singletons &optional THREADSP)
Documentation
Limit the summary buffer to articles that aren't part on any thread.
If THREADSP (the prefix), limit to articles that are in threads.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-limit-to-singletons (&optional threadsp)
"Limit the summary buffer to articles that aren't part on any thread.
If THREADSP (the prefix), limit to articles that are in threads."
(interactive "P" gnus-summary-mode)
(let ((articles nil)
thread-articles
threads)
(dolist (thread gnus-newsgroup-threads)
(if (stringp (car thread))
(dolist (thread (cdr thread))
(push thread threads))
(push thread threads)))
(dolist (thread threads)
(setq thread-articles (gnus-articles-in-thread thread))
(when (or (and threadsp
(> (length thread-articles) 1))
(and (not threadsp)
(= (length thread-articles) 1)))
(setq articles (nconc thread-articles articles))))
(if (not articles)
(message "No messages matched")
(gnus-summary-limit articles))
(gnus-summary-position-point)))