Allow to ignore addresses when doing wide replies

Introduce a new variable, mu4e-compose-reply-ignore-address, which matches
addresses to be skipped when doing wide replies.

This is identical in behavior to messages-dont-reply-to-names from message.el
(which we default on).
This commit is contained in:
Yuri D'Elia
2017-02-20 00:37:44 +01:00
parent ea40939810
commit 0a5224c4c8
2 changed files with 38 additions and 0 deletions

View File

@ -387,6 +387,18 @@ are needed for sorting the contacts."
:type 'string
:group 'mu4e-compose)
(defcustom mu4e-compose-reply-ignore-address message-dont-reply-to-names
"Addresses to prune when doing wide replies.
This can be a regexp matching the address, a list of regexps
or a predicate function. A value of nil keeps all the addresses."
:type '(choice
(const nil)
function
string
(repeat string))
:group 'mu4e-compose)
(defcustom mu4e-compose-reply-to-address nil
"The Reply-To address (if this, for some reason, is not equal to
the From: address.)"