]> git.eshelyaron.com Git - emacs.git/commit
Restore thread search behavior
authorEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 1 Jun 2017 14:16:55 +0000 (22:16 +0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Sat, 10 Jun 2017 04:26:40 +0000 (12:26 +0800)
commitd249e6bc4a30e54eeee659bde252b39d188207b4
tree396fb57fdab9ddcf7efab9387bdf71c65aec2c6d
parent1f821aee7f0cd1c38b411df19bd5293ec4899be2
Restore thread search behavior

* lisp/gnus/gnus-search.el (gnus-search-thread): Make this function
  produce an engine-agnostic search query.
  (gnus-search-prepare-query): Fix dumb error.
  (gnus-search-indexed-search-command): Edit to handle the 'thread
  key.
  (gnus-search-run-search): In thread searches, have the imap
  implementation expand Message-Id searches to include the References
  header. Also, somewhere along the way we lost the
  `gnus-search-get-active' call.
  (gnus-search-run-search): For Notmuch, add an :around method on this
  function, which does a primary search for thread-ids, then passes
  off to the secondary search for the messages themselves.
  (gnus-search-transform-expression): Forgot
  that multiple nested ORs have to be parenthesized for IMAP.
* lisp/gnus/nnselect.el (nnselect-request-thread): Alter function to
  pass in a generic thread search query; no longer calls imap-specific
  code.
lisp/gnus/gnus-search.el
lisp/gnus/nnimap.el
lisp/gnus/nnselect.el