]> git.eshelyaron.com Git - emacs.git/commit
Assume default imap TEXT search even when not using parsed queries
authorEric Abrahamsen <eric@ericabrahamsen.net>
Sat, 14 Nov 2020 21:37:08 +0000 (13:37 -0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Wed, 25 Nov 2020 23:06:55 +0000 (15:06 -0800)
commit11bef9693ab89c29758eb7e82245f807a60e1dde
tree23f64cb515b111286c14e6eebe1b33a5bdb580ea
parent67a8bdb90c9b5865b7f17290c7135b1a5458c36d
Assume default imap TEXT search even when not using parsed queries

This behavior both better matches the previous nnir behavior, reducing
confusion for new users, and matches behavior when using parsed
queries.

* lisp/gnus/gnus-search.el (gnus-search-imap-search-keys): Make sure
this variable contains all known IMAP search keys.
(gnus-search-run-search): If the search query doesn't start with a
known search key, prepend "TEXT " to the query.
lisp/gnus/gnus-search.el