+2006-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * mm-bodies.el (mm-decode-body): Don't decode decoded body.
+
+ * mm-uu.el (mm-uu-dissect-text-parts): Dissect dissected parts.
+
+2006-01-19 Mark D. Baushke <mdb@gnu.org>
+
+ * pgg-gpg.el (pgg-gpg-encrypt-region): Add --textmode to gpg args.
+
2006-01-17 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-decode.el (mm-inlined-types): Add application/pgp.
;;; mm-bodies.el --- Functions for decoding MIME things
;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;; 2005 Free Software Foundation, Inc.
+;; 2005, 2006 Free Software Foundation, Inc.
;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
(save-excursion
(when encoding
(mm-decode-content-transfer-encoding encoding type))
- (when (featurep 'mule) ; Fixme: Wrong test for unibyte session.
+ (when (and (featurep 'mule) ;; Fixme: Wrong test for unibyte session.
+ (not (eq charset 'gnus-decoded)))
(let ((coding-system (mm-charset-to-coding-system
;; Allow overwrite using
;; `mm-charset-override-alist'.
;;in XEmacs
(mm-multibyte-p)
(or (not (eq coding-system 'ascii))
- (setq coding-system mail-parse-charset))
- (not (eq coding-system 'gnus-decoded)))
+ (setq coding-system mail-parse-charset)))
(mm-decode-coding-region (point-min) (point-max)
coding-system))
(setq buffer-file-coding-system
(mm-uu-dissect t (mm-handle-type handle)))))
(kill-buffer buffer)
(setcar handle (car children))
- (setcdr handle (cdr children))))
+ (setcdr handle (cdr children))
+ (mm-uu-dissect-text-parts handle)))
(t
(mapc 'mm-uu-dissect-text-parts handle)))))