Function: gnus-group-browse-foreign-server

gnus-group-browse-foreign-server is an interactive and byte-compiled function defined in gnus-group.el.gz.

Signature

(gnus-group-browse-foreign-server METHOD)

Documentation

Browse a foreign news server.

If called interactively, this function will ask for a select method
 (nntp, nnspool, etc.) and a server address (e.g., nntp.some.where).
If not, METHOD should be a list where the first element is the method and the second element is the address.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
(defun gnus-group-browse-foreign-server (method)
  "Browse a foreign news server.
If called interactively, this function will ask for a select method
 (nntp, nnspool, etc.) and a server address (e.g., nntp.some.where).
If not, METHOD should be a list where the first element is the method
and the second element is the address."
  (interactive
   (list (let ((how (gnus-completing-read
		     "Which back end"
		     (mapcar #'car (append gnus-valid-select-methods
					   gnus-server-alist))
		     t (cons "nntp" 0) 'gnus-method-history)))
	   ;; We either got a back end name or a virtual server name.
	   ;; If the first, we also need an address.
	   (if (assoc how gnus-valid-select-methods)
	       (list (intern how)
		     ;; Suggested by mapjph@bath.ac.uk.
		     (gnus-completing-read
		      "Address"
		      ;; FIXME? gnus-secondary-servers is obsolete,
		      ;; and it is not obvious that there is anything
		      ;; sensible to use instead in this particular case.
                      ;; (if (boundp 'gnus-secondary-servers)
                      ;;     gnus-secondary-servers
                      ;;   (cdr gnus-select-method))
                      nil
                      ))
	     ;; We got a server name.
	     how)))
   gnus-group-mode)
  (gnus-browse-foreign-server method))