Function: nnmairix-widget-create-group
nnmairix-widget-create-group is a byte-compiled function defined in
nnmairix.el.gz.
Signature
(nnmairix-widget-create-group WIDGETS &optional WITHVALUES)
Documentation
Create nnmairix group based on current widget values WIDGETS.
If WITHVALUES is t, query is based on current article.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnmairix.el.gz
(defun nnmairix-widget-create-group (widgets &optional withvalues)
"Create nnmairix group based on current widget values WIDGETS.
If WITHVALUES is t, query is based on current article."
(let ((group (read-string "Name of the group: ")))
(when (not (zerop (length group)))
(nnmairix-create-search-group
(if withvalues
(gnus-method-to-server
(nnmairix-backend-to-server gnus-current-select-method))
(car (nnmairix-get-server)))
group
(nnmairix-widget-make-query-from-widgets widgets)
(widget-value (cadr (assoc "Threads" widgets))))))
(kill-buffer nnmairix-customize-query-buffer))