diff options
author | Kenichi Handa <handa@m17n.org> | 2011-02-22 09:19:08 +0900 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2011-02-22 09:19:08 +0900 |
commit | 1f459fa46cbd419bc55f8be03bce617d96af4da5 (patch) | |
tree | 954813eaea4259ca73c7d198f6c8626ccb3f2a5b /lisp/mail | |
parent | dbc0543206eafc2e3bcad46e19629d817f496cf5 (diff) | |
download | emacs-1f459fa46cbd419bc55f8be03bce617d96af4da5.tar.gz |
Decode "encoded-words" of header components on replying.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/rmail.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 370999dabf8..94f5ce45054 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -3449,6 +3449,16 @@ does not pop any summary buffer." (setq yank-action (list 'insert-buffer replybuffer))) (setq others (cons (cons "cc" cc) others)) (setq others (cons (cons "in-reply-to" in-reply-to) others)) + (setq others + (mapcar #'(lambda (elt) + (cons (car elt) (if (stringp (cdr elt)) + (rfc2047-decode-string (cdr elt))))) + others)) + (if (stringp to) (setq to (rfc2047-decode-string to))) + (if (stringp in-reply-to) + (setq in-reply-to (rfc2047-decode-string in-reply-to))) + (if (stringp cc) (setq cc (rfc2047-decode-string cc))) + (if (stringp subject) (setq subject (rfc2047-decode-string subject))) (if same-window (compose-mail to subject others noerase nil |