diff options
| author | Kenichi Handa | 2011-02-22 09:19:08 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2011-02-22 09:19:08 +0900 |
| commit | 1f459fa46cbd419bc55f8be03bce617d96af4da5 (patch) | |
| tree | 954813eaea4259ca73c7d198f6c8626ccb3f2a5b | |
| parent | dbc0543206eafc2e3bcad46e19629d817f496cf5 (diff) | |
| download | emacs-1f459fa46cbd419bc55f8be03bce617d96af4da5.tar.gz emacs-1f459fa46cbd419bc55f8be03bce617d96af4da5.zip | |
Decode "encoded-words" of header components on replying.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9d8446cef10..65b4ec8d400 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-02-21 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of | ||
| 4 | header components. | ||
| 5 | |||
| 1 | 2011-02-14 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-02-14 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * pgg-gpg.el (pgg-gpg-process-region): Bind | 8 | * pgg-gpg.el (pgg-gpg-process-region): Bind |
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." | |||
| 3449 | (setq yank-action (list 'insert-buffer replybuffer))) | 3449 | (setq yank-action (list 'insert-buffer replybuffer))) |
| 3450 | (setq others (cons (cons "cc" cc) others)) | 3450 | (setq others (cons (cons "cc" cc) others)) |
| 3451 | (setq others (cons (cons "in-reply-to" in-reply-to) others)) | 3451 | (setq others (cons (cons "in-reply-to" in-reply-to) others)) |
| 3452 | (setq others | ||
| 3453 | (mapcar #'(lambda (elt) | ||
| 3454 | (cons (car elt) (if (stringp (cdr elt)) | ||
| 3455 | (rfc2047-decode-string (cdr elt))))) | ||
| 3456 | others)) | ||
| 3457 | (if (stringp to) (setq to (rfc2047-decode-string to))) | ||
| 3458 | (if (stringp in-reply-to) | ||
| 3459 | (setq in-reply-to (rfc2047-decode-string in-reply-to))) | ||
| 3460 | (if (stringp cc) (setq cc (rfc2047-decode-string cc))) | ||
| 3461 | (if (stringp subject) (setq subject (rfc2047-decode-string subject))) | ||
| 3452 | (if same-window | 3462 | (if same-window |
| 3453 | (compose-mail to subject others | 3463 | (compose-mail to subject others |
| 3454 | noerase nil | 3464 | noerase nil |