Mercurial > emacs
changeset 106178:3f65383da746
(rmail-mime): Decode in fundamental-mode. (Bug#4993)
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 21 Nov 2009 02:36:54 +0000 |
parents | cb523092ddfd |
children | 0cc25cd9870d |
files | lisp/ChangeLog lisp/mail/rmailmm.el |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Nov 21 02:33:45 2009 +0000 +++ b/lisp/ChangeLog Sat Nov 21 02:36:54 2009 +0000 @@ -1,3 +1,7 @@ +2009-11-21 Glenn Morris <rgm@gnu.org> + + * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993) + 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change) * net/browse-url.el (browse-url-default-windows-browser): Use
--- a/lisp/mail/rmailmm.el Sat Nov 21 02:33:45 2009 +0000 +++ b/lisp/mail/rmailmm.el Sat Nov 21 02:36:54 2009 +0000 @@ -451,10 +451,14 @@ (set-buffer buf) (setq buffer-undo-list t) (let ((inhibit-read-only t)) + ;; Decoding the message in fundamental mode for speed, only + ;; switching to rmail-mime-mode at the end for display. Eg + ;; quoted-printable-decode-region gets very slow otherwise (Bug#4993). + (fundamental-mode) (erase-buffer) (insert data) + (rmail-mime-show t) (rmail-mime-mode) - (rmail-mime-show t) (set-buffer-modified-p nil)) (view-buffer buf)))