(mh-mairix-regexp-builder): Add additional items to search string to
authorBill Wohler <wohler@newt.com>
Mon, 19 May 2008 01:54:32 +0000 (01:54 +0000)
committerBill Wohler <wohler@newt.com>
Mon, 19 May 2008 01:54:32 +0000 (01:54 +0000)
support org-mode (closes SF #1965704).

lisp/mh-e/mh-search.el

index f0674f9..2750c50 100644 (file)
@@ -1088,8 +1088,16 @@ REGEXP-LIST is an alist of fields and values."
           (cond ((eq (car pair) 'to) "t:")
                 ((eq (car pair) 'from) "f:")
                 ((eq (car pair) 'cc) "c:")
+                ((eq (car pair) 'to-or-cc) "tc:")
+                ((eq (car pair) 'address) "a:")
                 ((eq (car pair) 'subject) "s:")
+                ((eq (car pair) 'subject-or-body) "bs:")
                 ((eq (car pair) 'date) "d:")
+                ((eq (car pair) 'message-id) "m:")
+                ((eq (car pair) 'message-body) "b:")
+                ((eq (car pair) 'message-size) "z:")
+                ((eq (car pair) 'message-attachment-name) "n:")
+                ((eq (car pair) 'message-flags) "F:")
                 (t ""))
           (let ((sop (cdr (mh-mairix-convert-to-sop* (cdr pair))))
                 (final ""))