1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Decode message headers of non-MIME messages in Rmail.

lisp/mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
 headers of non-MIME messages, when rmail-enable-mime is non-nil.
This commit is contained in:
Eli Zaretskii 2011-12-31 12:06:21 +02:00
parent 4baa020dd9
commit 8d43f3cd8a
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-31 Eli Zaretskii <eliz@gnu.org>
* mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
headers of non-MIME messages, when rmail-enable-mime is non-nil.
2011-12-29 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property

View File

@ -2773,7 +2773,15 @@ The current mail message becomes the message displayed."
(forward-line))
(goto-char (point-min)))
;; Copy the headers to the front of the message view buffer.
(rmail-copy-headers beg end))
(rmail-copy-headers beg end)
;; Decode any RFC2047 encoded message headers.
(if rmail-enable-mime
(with-current-buffer rmail-view-buffer
(rfc2047-decode-region
(point-min)
(progn
(search-forward "\n\n" nil 'move)
(point))))))
;; highlight the message, activate any URL like text and add
;; special highlighting for and quoted material.
(with-current-buffer rmail-view-buffer