Function: gnus-summary-limit-include-expunged
gnus-summary-limit-include-expunged is an interactive and
byte-compiled function defined in gnus-sum.el.gz.
Signature
(gnus-summary-limit-include-expunged &optional NO-ERROR)
Documentation
Display all the hidden articles that were expunged for low scores.
Key Bindings
Aliases
gnus-summary-show-all-expunged
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-limit-include-expunged (&optional no-error)
"Display all the hidden articles that were expunged for low scores."
(interactive nil gnus-summary-mode)
(let ((inhibit-read-only t))
(let ((scored gnus-newsgroup-scored)
headers h)
(while scored
(unless (gnus-summary-article-header (caar scored))
(and (setq h (gnus-number-to-header (caar scored)))
(< (cdar scored) gnus-summary-expunge-below)
(push h headers)))
(setq scored (cdr scored)))
(if (not headers)
(when (not no-error)
(error "No expunged articles hidden"))
(goto-char (point-min))
(push gnus-newsgroup-limit gnus-newsgroup-limits)
(setq gnus-newsgroup-limit (copy-sequence gnus-newsgroup-limit))
(dolist (x headers)
(push (mail-header-number x) gnus-newsgroup-limit))
(gnus-summary-prepare-unthreaded (nreverse headers))
(goto-char (point-min))
(gnus-summary-position-point)
t))))