Function: gnus-group-name-to-method

gnus-group-name-to-method is a byte-compiled function defined in gnus.el.gz.

Signature

(gnus-group-name-to-method GROUP)

Documentation

Guess a select method based on GROUP.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus.el.gz
(defun gnus-group-name-to-method (group)
  "Guess a select method based on GROUP."
  (if (string-match ":" group)
      (let ((server (substring group 0 (match-beginning 0))))
	(if (string-match "\\+" server)
	    (list (intern (substring server 0 (match-beginning 0)))
		  (substring server (match-end 0)))
	  (list (intern server) "")))
    gnus-select-method))