From 22b7022798adf3beb35fcb88611f8a567d29ac7b Mon Sep 17 00:00:00 2001 From: Bar Shirtcliff Date: Thu, 29 Oct 2015 15:47:42 -0700 Subject: [PATCH] mu4e: allow cc, bcc, mailing-list in mu4e-headers-mark-pattern Based on patch by cinayakoshka, allow for matching more fields --- mu4e/mu4e-headers.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index 7015da10..8df4203a 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -1076,7 +1076,10 @@ matching messages with that mark." (field (mu4e-read-option "Field to match: " '( ("subject" . :subject) ("from" . :from) - ("to" . :to)))) + ("to" . :to) + ("cc" . :cc) + ("bcc" . :bcc) + ("list" . :mailing-list)))) (pattern (read-string (mu4e-format "Regexp:") nil 'mu4e~headers-regexp-hist)))