Function: nnmairix-widget-send-query

nnmairix-widget-send-query is a byte-compiled function defined in nnmairix.el.gz.

Signature

(nnmairix-widget-send-query WIDGETS &optional WITHVALUES)

Documentation

Send query from WIDGETS to mairix binary.

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-send-query (widgets &optional withvalues)
  "Send query from WIDGETS to mairix binary.
If WITHVALUES is t, query is based on current article."
  (nnmairix-search
   (nnmairix-widget-make-query-from-widgets widgets)
   (if withvalues
       (gnus-method-to-server
	(nnmairix-backend-to-server gnus-current-select-method))
     (car (nnmairix-get-server)))
   (if (widget-value (cadr (assoc "Threads" widgets)))
       t
     -1))
  (kill-buffer nnmairix-customize-query-buffer))