Function: gnus-summary-mark-forward
gnus-summary-mark-forward is an interactive and byte-compiled function
defined in gnus-sum.el.gz.
Signature
(gnus-summary-mark-forward N &optional MARK NO-EXPIRE)
Documentation
Mark N articles as read forwards.
If N is negative, mark backwards instead. Mark with MARK, ?r by default. The difference between N and the actual number of articles marked is returned. If NO-EXPIRE, auto-expiry will be inhibited.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-mark-forward (n &optional mark no-expire)
"Mark N articles as read forwards.
If N is negative, mark backwards instead. Mark with MARK, ?r by default.
The difference between N and the actual number of articles marked is
returned.
If NO-EXPIRE, auto-expiry will be inhibited."
(interactive "p" gnus-summary-mode)
(gnus-summary-show-thread)
(let ((backward (< n 0))
(gnus-summary-goto-unread
(and gnus-summary-goto-unread
(not (eq gnus-summary-goto-unread 'never))
(not (memq mark (list gnus-unread-mark gnus-spam-mark
gnus-ticked-mark gnus-dormant-mark)))))
(n (abs n))
(mark (or mark gnus-del-mark)))
(while (and (> n 0)
(gnus-summary-mark-article nil mark no-expire)
(zerop (gnus-summary-next-subject
(if backward -1 1)
(and gnus-summary-goto-unread
(not (eq gnus-summary-goto-unread 'never)))
t)))
(setq n (1- n)))
(when (/= 0 n)
(gnus-message 7 "No more %sarticles" (if mark "" "unread ")))
(gnus-summary-recenter)
(gnus-summary-position-point)
(gnus-set-mode-line 'summary)
n))