default-mime-charset))
)
(save-excursion
- (mime-view-mode nil nil nil gnus-original-article-buffer
- gnus-article-buffer
- gnus-article-mode-map)
+ (mime-view-buffer gnus-original-article-buffer gnus-article-buffer
+ nil gnus-article-mode-map)
))
(run-hooks 'gnus-mime-article-prepare-hook)
)
(defun gnus-article-decode-encoded-word ()
- "Header filter for gnus-article-mode.
-It is registered to variable `mime-view-content-header-filter-alist'."
+ "Header filter for gnus-article-mode."
(let ((charset (save-excursion
(set-buffer gnus-summary-buffer)
default-mime-charset)))
;;; @ for mime-view
;;;
-(defun gnus-content-header-filter ()
- "Header filter for mime-view.
-It is registered to variable `mime-view-content-header-filter-alist'."
- (eword-decode-header default-mime-charset))
+(defun gnus-article-header-presentation-method (entity situation)
+ (mime-insert-decoded-header entity nil nil default-mime-charset)
+ )
+
+(set-alist 'mime-header-presentation-method-alist
+ 'gnus-original-article-mode
+ #'gnus-article-header-presentation-method)
(defun mime-preview-quitting-method-for-gnus ()
(if (not gnus-show-mime)
(gnus-summary-select-article nil t)
))
-(set-alist 'mime-view-content-header-filter-alist
- 'gnus-original-article-mode
- #'gnus-content-header-filter)
-
(set-alist 'mime-raw-representation-type-alist
'gnus-original-article-mode 'binary)
(goto-char (point-min))
)
-(set-alist 'mime-view-following-method-alist
- 'gnus-original-article-mode
- #'gnus-following-method)
+(set-alist 'mime-preview-following-method-alist
+ 'gnus-original-article-mode #'gnus-following-method)
;;; @ end