mu4e: set better default for mu4e-compose-reply-ignore-address

... and some small cleanup
This commit is contained in:
Dirk-Jan C. Binnema 2020-02-15 22:36:00 +02:00
parent 62cc675a51
commit 0dced59cb9
2 changed files with 5 additions and 6 deletions

View File

@ -182,7 +182,6 @@ of the original, we simple copy the list form the original."
(let ((reply-to
(or (plist-get origmsg :reply-to) (plist-get origmsg :from))))
(cl-delete-duplicates reply-to :test #'mu4e~draft-address-cell-equal)
(message "%S %S %S" reply-to (plist-get origmsg :reply-to) (plist-get origmsg :from))
(if mu4e-compose-dont-reply-to-self
(cl-delete-if
(lambda (to-cell)

View File

@ -400,16 +400,16 @@ an RFC-2822-compatible e-mail address."
:group 'mu4e-compose)
(defcustom mu4e-compose-reply-ignore-address
message-dont-reply-to-names
'("no-?reply")
"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))
(const nil)
function
string
(repeat string))
:group 'mu4e-compose)
(defcustom mu4e-compose-reply-recipients 'ask