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:
parent
4baa020dd9
commit
8d43f3cd8a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user