;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Created: 1995/9/26 (separated from tm-view.el)
;; Renamed: 1997/2/21 from tm-play.el
-;; Version: $Id: mime-play.el,v 0.19 1997-03-17 04:41:21 morioka Exp $
+;; Version: $Id: mime-play.el,v 0.20 1997-03-17 05:05:14 morioka Exp $
;; Keywords: MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(defvar mime-preview/after-decoded-position nil)
-(defun mime-preview/decode-content (&optional mode)
+(defun mime-play-entity (&optional mode)
+ "Play current entity.
+It decodes current entity to call internal or external method. The
+method is selected from variable `mime/content-decoding-condition'.
+If MODE is specified, play as it. Default MODE is \"play\"."
(interactive)
+ (or mode
+ (setq mode "play")
+ )
(let ((pc (mime-preview/point-pcinfo (point))))
(if pc
(let ((the-buf (current-buffer)))
;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.28 $
+;; Version: $Revision: 0.29 $
;; Keywords: MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
;;;
(defconst mime-view-RCS-ID
- "$Id: mime-view.el,v 0.28 1997-03-17 04:43:29 morioka Exp $")
+ "$Id: mime-view.el,v 0.29 1997-03-17 05:06:33 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
(setq rpcl (cdr rpcl))
))))
-(autoload 'mime-preview/decode-content "mime-play")
+(autoload 'mime-play-content "mime-play")
(defvar mime-view-decoding-mode "play" "MIME body decoding mode")
(defun mime-view-play-content ()
(interactive)
- (mime-preview/decode-content "play")
+ (mime-play-content "play")
)
(defun mime-view-extract-content ()
(interactive)
- (mime-preview/decode-content "extract")
+ (mime-play-content "extract")
)
(defun mime-view-print-content ()
(interactive)
- (mime-preview/decode-content "print")
+ (mime-play-content "print")
)
(defun mime-view-follow-content ()