Function: gnus-summary-goto-article
gnus-summary-goto-article is an interactive and byte-compiled function
defined in gnus-sum.el.gz.
Signature
(gnus-summary-goto-article ARTICLE &optional ALL-HEADERS FORCE)
Documentation
Fetch ARTICLE (article number or Message-ID) and display it if it exists.
If ALL-HEADERS is non-nil, no header lines are hidden. If FORCE, go to the article even if it isn't displayed. If FORCE is a number, it is the line the article is to be displayed on.
Probably introduced at or before Emacs version 20.4.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-goto-article (article &optional all-headers force)
"Fetch ARTICLE (article number or Message-ID) and display it if it exists.
If ALL-HEADERS is non-nil, no header lines are hidden.
If FORCE, go to the article even if it isn't displayed. If FORCE
is a number, it is the line the article is to be displayed on."
(interactive
(list
(gnus-completing-read "Article number or Message-ID"
(mapcar #'int-to-string gnus-newsgroup-limit))
current-prefix-arg t)
gnus-summary-mode)
(prog1
(if (and (stringp article)
(string-match "@\\|%40" article))
(gnus-summary-refer-article article)
(when (stringp article)
(setq article (string-to-number article)))
(if (gnus-summary-goto-subject article force)
(gnus-summary-display-article article all-headers)
(gnus-message 4 "Couldn't go to article %s" article) nil))
(gnus-summary-position-point)))