Function: gnus-summary-limit-exclude-marks

gnus-summary-limit-exclude-marks is an interactive and byte-compiled function defined in gnus-sum.el.gz.

Signature

(gnus-summary-limit-exclude-marks MARKS &optional REVERSE)

Documentation

Exclude articles that are marked with MARKS (e.g. "DK").

If REVERSE, limit the summary buffer to articles that are marked with MARKS. MARKS can either be a string of marks or a list of marks. Returns how many articles were removed.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-limit-exclude-marks (marks &optional _reverse)
  "Exclude articles that are marked with MARKS (e.g. \"DK\").
If REVERSE, limit the summary buffer to articles that are marked
with MARKS.  MARKS can either be a string of marks or a list of marks.
Returns how many articles were removed."
  (interactive
   (list
    (completing-read "Marks:"
		     (let ((mark-list '()))
		       (mapc (lambda (datum)
			       (cl-pushnew   (gnus-data-mark datum) mark-list))
			     gnus-newsgroup-data)
		       (mapcar 'char-to-string  mark-list)))
    current-prefix-arg) gnus-summary-mode)
  (gnus-summary-limit-to-marks marks t))