(list (cons 'type type)(cons 'subtype subtype)
'(body . visible)
'(body-presentation-method . with-filter)
- (cons 'body-filter
- #'mime-view-filter-for-image)
+ (cons 'body-filter #'mime-preview-filter-for-image)
(cons 'image-format format))
)))))
'((image jpeg jpeg)
;;;
;; (for XEmacs 19.12 or later)
-(defun mime-view-filter-for-image (situation)
+(defun mime-preview-filter-for-image (situation)
(let ((beg (point-min))
(end (point-max)))
(remove-text-properties beg end '(face nil))
;; (defvar mime-view-ps-to-gif-command "pstogif")
-;; (defun mime-view-filter-for-application/postscript (ctype params encoding)
+;; (defun mime-preview-filter-for-application/postscript (ctype params encoding)
;; (let* ((beg (point-min)) (end (point-max))
;; (file-base
;; (make-temp-name (expand-file-name "tm" mime-temp-directory)))
;; (set-alist 'mime-view-content-filter-alist
;; "application/postscript"
-;; (function mime-view-filter-for-application/postscript))
+;; (function mime-preview-filter-for-application/postscript))
;; (if (featurep 'gif)
;; (add-to-list
;;; @ content filters for mime-text
;;;
-(defun mime-view-filter-for-text/plain (situation)
+(defun mime-preview-filter-for-text/plain (situation)
(mime-text-decode-body situation)
(goto-char (point-max))
(if (not (eq (char-after (1- (point))) ?\n))
(run-hooks 'mime-view-plain-text-preview-hook)
)
-(defun mime-view-filter-for-text/richtext (situation)
+(defun mime-preview-filter-for-text/richtext (situation)
(let ((beg (point-min)))
(remove-text-properties beg (point-max) '(face nil))
(mime-text-decode-body situation)
(richtext-decode beg (point-max))
))
-(defun mime-view-filter-for-text/enriched (situation)
+(defun mime-preview-filter-for-text/enriched (situation)
(let ((beg (point-min)))
(remove-text-properties beg (point-max) '(face nil))
(mime-text-decode-body situation)
;; Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Created: 1994/7/13
-;; Renamed: 1994/8/31 from tm-body.el
+;; Created: 1994/07/13
+;; Renamed: 1994/08/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
;; Keywords: MIME, multimedia, mail, news
(ctree-set-calist-strictly
'mime-preview-condition '((body . visible)
(body-presentation-method . with-filter)
- (body-filter . mime-view-filter-for-text/plain)))
+ (body-filter . mime-preview-filter-for-text/plain)))
(ctree-set-calist-strictly
'mime-preview-condition '((type . nil)
(body . visible)
(body-presentation-method . with-filter)
- (body-filter . mime-view-filter-for-text/plain)))
+ (body-filter . mime-preview-filter-for-text/plain)))
(ctree-set-calist-strictly
'mime-preview-condition '((type . text)(subtype . enriched)
(body . visible)
(body-presentation-method . with-filter)
(body-filter
- . mime-view-filter-for-text/enriched)))
+ . mime-preview-filter-for-text/enriched)))
(ctree-set-calist-strictly
'mime-preview-condition '((type . text)(subtype . richtext)
(body . visible)
(body-presentation-method . with-filter)
(body-filter
- . mime-view-filter-for-text/richtext)))
+ . mime-preview-filter-for-text/richtext)))
(ctree-set-calist-strictly
'mime-preview-condition '((type . text)(subtype . t)
(body . visible)
(body-presentation-method . with-filter)
- (body-filter . mime-view-filter-for-text/plain)))
+ (body-filter . mime-preview-filter-for-text/plain)))
(ctree-set-calist-strictly
'mime-preview-condition '((type . message)(subtype . partial)
;;; @@@ entity filter
;;;
-(autoload 'mime-view-filter-for-text/plain "mime-text")
-(autoload 'mime-view-filter-for-text/enriched "mime-text")
-(autoload 'mime-view-filter-for-text/richtext "mime-text")
+(autoload 'mime-preview-filter-for-text/plain "mime-text")
+(autoload 'mime-preview-filter-for-text/enriched "mime-text")
+(autoload 'mime-preview-filter-for-text/richtext "mime-text")
(defvar mime-text-decoder-alist
'((mime-show-message-mode . mime-text-decode-buffer)