* mm-uu.el (mm-uu-emacs-sources-extract): Say the part has been decoded.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 31 Jan 2006 11:36:21 +0000 (11:36 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 31 Jan 2006 11:36:21 +0000 (11:36 +0000)
(mm-uu-diff-extract): Ditto.

* mm-view.el (mm-display-inline-fontify): Get decoded part rightly.

lisp/ChangeLog
lisp/mm-uu.el
lisp/mm-view.el

index 9300e7a..0710471 100644 (file)
@@ -1,3 +1,11 @@
+2006-01-31  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mm-uu.el (mm-uu-emacs-sources-extract): Say the part has been
+       decoded.
+       (mm-uu-diff-extract): Ditto.
+
+       * mm-view.el (mm-display-inline-fontify): Get decoded part rightly.
+
 2006-01-31  Kevin Ryde  <user42@zip.com.au>
 
        * mailcap.el (mailcap-viewer-passes-test): Don't put "(nil t)" into
index 64915ba..077cefc 100644 (file)
@@ -370,7 +370,7 @@ apply the face `mm-uu-extract'."
 
 (defun mm-uu-emacs-sources-extract ()
   (mm-make-handle (mm-uu-copy-to-buffer start-point end-point)
-                 '("application/emacs-lisp")
+                 '("application/emacs-lisp" (charset . gnus-decoded))
                  nil nil
                  (list mm-dissect-disposition
                        (cons 'filename file-name))))
@@ -386,7 +386,7 @@ apply the face `mm-uu-extract'."
 
 (defun mm-uu-diff-extract ()
   (mm-make-handle (mm-uu-copy-to-buffer start-point end-point)
-                 '("text/x-patch")))
+                 '("text/x-patch" (charset . gnus-decoded))))
 
 (defun mm-uu-diff-test ()
   (and gnus-newsgroup-name
index 174d575..4aec46f 100644 (file)
       (buffer-disable-undo)
       (mm-enable-multibyte)
       (insert (cond ((eq charset 'gnus-decoded)
-                    (mm-insert-part handle))
+                    (with-current-buffer (mm-handle-buffer handle)
+                      (buffer-string)))
                    (coding-system
                     (mm-decode-coding-string text coding-system))
                    (charset