(let* ((group-spec
(or
(cdr (assq 'search-group-spec specs))
+ (cdr (assq 'nnir-group-spec specs))
(if (gnus-server-server-name)
(list (list (gnus-server-server-name)))
(seq-group-by
(query-spec
(or
(cdr (assq 'search-query-spec specs))
+ (cdr (assq 'nnir-query-spec specs))
(gnus-search-make-spec no-parse))))
(gnus-group-make-group
name
(interactive "P")
(let* ((group-spec
(or (cdr (assq 'search-group-spec specs))
+ (cdr (assq 'nnir-group-spec specs))
(if (gnus-server-server-name)
(list (list (gnus-server-server-name)))
(seq-group-by
(assoc (gnus-group-topic-name) gnus-topic-alist))))))))
(query-spec
(or (cdr (assq 'search-query-spec specs))
+ (cdr (assq 'nnir-query-spec specs))
(gnus-search-make-spec no-parse))))
(gnus-group-read-ephemeral-group
(concat "nnselect-" (message-unique-id))
(cl-defmethod shared-initialize ((engine gnus-search-process)
slots)
(setq slots (plist-put slots :proc-buffer
- (get-buffer-create
- (generate-new-buffer-name " *gnus-search-"))))
+ (generate-new-buffer " *gnus-search-")))
(cl-call-next-method engine slots))
(defclass gnus-search-imap (gnus-search-engine)
(nnheader-message
5 "Invalid search engine parameter: (%s %s)"
key value)))))
- (nnheader-message 5 "No search engine defined for %s" srv))
+ (error "No search engine defined for %S" method))
inst))
(declare-function gnus-registry-get-id-key "gnus-registry" (id key))
(minibuffer-with-setup-hook
(lambda ()
(add-hook 'completion-at-point-functions
- #'gnus-search--complete-key-data))
+ #'gnus-search--complete-key-data
+ nil t))
(read-from-minibuffer
"Query: " nil gnus-search-minibuffer-map
nil 'gnus-search-history)))