Function: gnus-summary-mark-region-as-read

gnus-summary-mark-region-as-read is an interactive and byte-compiled function defined in gnus-sum.el.gz.

Signature

(gnus-summary-mark-region-as-read POINT MARK ALL)

Documentation

Mark all unread articles between point and mark as read.

If given a prefix, mark all articles between point and mark as read, even ticked and dormant ones.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-mark-region-as-read (point mark all)
  "Mark all unread articles between point and mark as read.
If given a prefix, mark all articles between point and mark as read,
even ticked and dormant ones."
  (interactive "r\nP" gnus-summary-mode)
  (save-excursion
    (let (article)
      (goto-char point)
      (beginning-of-line)
      (while (and
	      (< (point) mark)
	      (progn
		(when (or all
			  (memq (setq article (gnus-summary-article-number))
				gnus-newsgroup-unreads))
		  (gnus-summary-mark-article article gnus-del-mark))
		t)
	      (gnus-summary-find-next))))))