X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-mua.el;h=7a341ebf0588a3e91ee3666b119701be2ca91c8f;hb=5bdb8549f619bbcd9fcd6161749dabbb1710dab9;hp=ddfb981135c868053d05f1cdf53bfc1e26fc647d;hpb=b6f87c3085e25e5bf65a4f956af8846bc0681c52;p=notmuch diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index ddfb9811..7a341ebf 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -176,7 +176,7 @@ mutiple parts get a header." (unless (bolp) (insert "\n"))) (defun notmuch-mua-reply (query-string &optional sender reply-all) - (let ((args '("reply" "--format=sexp" "--format-version=3")) + (let ((args '("reply" "--format=sexp" "--format-version=4")) (process-crypto notmuch-show-process-crypto) reply original) @@ -218,7 +218,7 @@ mutiple parts get a header." else collect pair))) (notmuch-mua-mail (plist-get reply-headers :To) - (plist-get reply-headers :Subject) + (notmuch-sanitize (plist-get reply-headers :Subject)) (notmuch-headers-plist-to-alist reply-headers) nil (notmuch-mua-get-switch-function))))