Function: gnus-summary-mark-as-processable
gnus-summary-mark-as-processable is an interactive and byte-compiled
function defined in gnus-sum.el.gz.
Signature
(gnus-summary-mark-as-processable N &optional UNMARK)
Documentation
Set the process mark on the next N articles.
If N is negative, mark backward instead. If UNMARK is non-nil, remove the process mark instead. The difference between N and the actual number of articles marked is returned.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-mark-as-processable (n &optional unmark)
"Set the process mark on the next N articles.
If N is negative, mark backward instead. If UNMARK is non-nil, remove
the process mark instead. The difference between N and the actual
number of articles marked is returned."
(interactive "P" gnus-summary-mode)
(if (and (null n) (and transient-mark-mode mark-active))
(gnus-uu-mark-region (region-beginning) (region-end) unmark)
(setq n (prefix-numeric-value n))
(let ((backward (< n 0))
(n (abs n)))
(while (and
(> n 0)
(let ((article (gnus-summary-article-number)))
(if unmark
(gnus-summary-remove-process-mark article)
(if gnus-process-mark-toggle
(if (memq article gnus-newsgroup-processable)
(gnus-summary-remove-process-mark article)
(gnus-summary-set-process-mark article))
(gnus-summary-set-process-mark article))))
(zerop (gnus-summary-next-subject (if backward -1 1) nil t)))
(setq n (1- n)))
(when (/= 0 n)
(gnus-message 7 "No more articles"))
(gnus-summary-recenter)
(gnus-summary-position-point)
n)))