Function: gnus-group-make-web-group
gnus-group-make-web-group is an interactive and byte-compiled function
defined in gnus-group.el.gz.
Signature
(gnus-group-make-web-group &optional SOLID)
Documentation
Create an ephemeral nnweb group.
If SOLID (the prefix), create a solid group.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
(defun gnus-group-make-web-group (&optional solid)
"Create an ephemeral nnweb group.
If SOLID (the prefix), create a solid group."
(interactive "P" gnus-group-mode)
(require 'nnweb)
(let* ((group
(if solid (gnus-read-group "Group name: ")
(message-unique-id)))
(default-type (or (car gnus-group-web-type-history)
(symbol-name (caar nnweb-type-definition))))
(type
(gnus-string-or
(gnus-completing-read
"Search engine type"
(mapcar (lambda (elem) (symbol-name (car elem)))
nnweb-type-definition)
t nil 'gnus-group-web-type-history)
default-type))
(search
(read-string
"Search string: "
(cons (or (car gnus-group-web-search-history) "") 0)
'gnus-group-web-search-history))
(method
`(nnweb ,group (nnweb-search ,search)
(nnweb-type ,(intern type))
(nnweb-ephemeral-p t))))
(if solid
(progn
(gnus-alist-pull 'nnweb-ephemeral-p method)
(gnus-group-make-group group method))
(gnus-group-read-ephemeral-group
group method t
(cons (current-buffer)
(if (derived-mode-p 'gnus-summary-mode) 'summary 'group))))))