;;; tm-play.el --- decoder for tm-view.el
;;;
;;; Copyright (C) 1995 Free Software Foundation, Inc.
-;;; Copyright (C) 1994,1995 MORIOKA Tomohiko
+;;; Copyright (C) 1994 .. 1996 MORIOKA Tomohiko
;;;
;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Created: 1995/9/26 (separated from tm-view.el)
;;; Version:
-;;; $Id: tm-play.el,v 7.11 1995/12/21 18:11:03 morioka Exp $
+;;; $Id: tm-play.el,v 7.14 1996/02/05 05:00:27 morioka Exp $
;;; Keywords: mail, news, MIME, multimedia
;;;
;;; This file is part of tm (Tools for MIME).
(params (mime::content-info/parameters cinfo))
(encoding (mime::content-info/encoding cinfo))
)
+ ;; Check for VM
+ (if (< beg (point-min))
+ (setq beg (point-min))
+ )
+ (if (< (point-max) end)
+ (setq end (point-max))
+ )
(if ctype
(let (method cal ret)
(setq cal (append (list (cons 'type ctype)
(lambda (arg)
(if (stringp arg)
arg
- (let ((ret (cdr (assoc (eval arg) cal))))
+ (let* ((item (eval arg))
+ (ret (cdr (assoc item cal)))
+ )
(if ret
ret
- "")
+ (if (eq item 'encoding)
+ "7bit"
+ ""))
))
))
format))
(substring ret (match-beginning 0)(match-end 0))
))
))
- ""))
+ ))
(defun mime-article/get-filename (param)
(replace-as-filename (mime-article/get-original-filename param))
;;;
(provide 'tm-play)
+
+;;; tm-play.el ends here