]> git.eshelyaron.com Git - emacs.git/commit
Clean up group-finding in Gnus nnir search
authorAndrew G Cohen <cohen@andy.bu.edu>
Fri, 11 Sep 2020 01:02:09 +0000 (09:02 +0800)
committerAndrew G Cohen <cohen@andy.bu.edu>
Fri, 11 Sep 2020 01:02:09 +0000 (09:02 +0800)
commit206cff84bda2a7dd204a0da19e29abf389643f6b
tree0112326661429ed7a45b3e9ab5b9529a0beee3dc
parentf7be259400b9e31704560d137562e6e9cbf2a0be
Clean up group-finding in Gnus nnir search

This is part of removing code from nnir.el that isn't related to
searching backends and therefore belongs somewhere else.

* lisp/gnus/gnus-group.el (gnus-group-make-search-group)
(gnus-group-read-ephemeral-search-group): Put the logic for
determining the groups to search here, rather than in nnir. Improve
documentation.
* lisp/gnus/gnus-int.el (gnus-server-get-active): Renamed from
'nnir-get-active.
* lisp/gnus/nnir.el (nnir-run-imap, nnir-run-find-grep): Use it.
(nnir-get-active): Remove.
(nnir-make-specs): Make obsolete.
* lisp/gnus/nnselect.el (nnselect-group-server):  Make obsolete in
favor of 'gnus-group-server.
lisp/gnus/gnus-group.el
lisp/gnus/gnus-int.el
lisp/gnus/nnir.el
lisp/gnus/nnselect.el