Commit 251ebe0f authored by Kenichi Handa's avatar Kenichi Handa
Browse files

In rmail, decode "encoded-words" of header components on replying.

parent 47301027
2011-02-22 Kenichi Handa <>
* mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
header components.
2011-02-19 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
......@@ -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)))))
(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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment