* lisp/gnus/gnus-search.el (gnus-search-transform-expression): A
"body" keyword should just be removed. Also, strip angle brackets
from message ids.
(cond
((consp (car expr))
(format "(%s)") (gnus-search-transform engine expr))
+ ((eql (car expr) 'body)
+ (cdr expr))
((memq (car expr) '(from to subject attachment mimetype tag id
thread folder path lastmod query property))
+ ;; Notmuch requires message-id with no angle brackets.
+ (when (eql (car expr) 'id)
+ (setcdr
+ expr (replace-regexp-in-string "\\`<\\|>\\'" "" (cdr expr))))
(format "%s:%s" (car expr)
(if (string-match "\\`\\*" (cdr expr))
;; Notmuch can only handle trailing asterisk