Function: nnmairix-search-interactive
nnmairix-search-interactive is an interactive and byte-compiled
function defined in nnmairix.el.gz.
Signature
(nnmairix-search-interactive)
Documentation
Create mairix search interactively with the minibuffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnmairix.el.gz
(defun nnmairix-search-interactive ()
"Create mairix search interactively with the minibuffer."
(interactive)
(let ((char-header nnmairix-interactive-query-parameters)
header finished query achar)
(while (not finished)
(while (not achar)
(message "Query (%s): " (nnmairix-create-message-line-for-search))
(setq achar (read-char))
(when (not (assoc achar char-header))
(setq achar nil)))
(setq header (read-string
(concat "Match " (nth 3 (assoc achar char-header)) " on: ")))
(push (concat (nth 2 (assoc achar char-header)) ":" header) query)
(setq finished (not (y-or-n-p "Add another search query? "))
achar nil))
(nnmairix-search
(mapconcat #'identity query " ")
(car (nnmairix-get-server))
(y-or-n-p "Include whole threads? "))))