Function: gnus-registry-get-article-marks

gnus-registry-get-article-marks is an interactive and byte-compiled function defined in gnus-registry.el.gz.

Signature

(gnus-registry-get-article-marks &rest ARTICLES)

Documentation

Get the Gnus registry marks for ARTICLES and show them if interactive.

Uses process/prefix conventions. For multiple articles, only the last one's marks are returned.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-registry.el.gz
(defun gnus-registry-get-article-marks (&rest articles)
  "Get the Gnus registry marks for ARTICLES and show them if interactive.
Uses process/prefix conventions.  For multiple articles,
only the last one's marks are returned."
  (interactive (gnus-summary-work-articles 1)
	       gnus-article-mode gnus-summary-mode)
  (let* ((article (last articles))
         (id (gnus-registry-fetch-message-id-fast article))
         (marks (when id (gnus-registry-get-id-key id 'mark))))
    (when (called-interactively-p 'any)
      (gnus-message 1 "Marks are %S" marks))
    marks))