Function: gnus-agent-fetch-group

gnus-agent-fetch-group is an interactive and byte-compiled function defined in gnus-agent.el.gz.

Signature

(gnus-agent-fetch-group &optional GROUP)

Documentation

Put all new articles in GROUP into the Agent.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-agent.el.gz
(defun gnus-agent-fetch-group (&optional group)
  "Put all new articles in GROUP into the Agent."
  (interactive (list (gnus-group-group-name)))
  (setq group (or group gnus-newsgroup-name))
  (unless group
    (error "No group on the current line"))
  (if (not (gnus-agent-group-covered-p group))
      (message "%s isn't covered by the agent" group)
    (gnus-agent-while-plugged
      (let ((gnus-command-method (gnus-find-method-for-group group)))
	(gnus-agent-with-fetch
	  (gnus-agent-fetch-group-1 group gnus-command-method)
	  (gnus-message 5 "Fetching %s...done" group))))))