;; 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.22 1997-03-17 11:48:01 morioka Exp $
+;; Version: $Id: mime-play.el,v 0.23 1997-03-17 12:09:05 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-play-entity (&optional mode)
+(defun mime-view-play-current-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'.
;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.34 $
+;; Version: $Revision: 0.35 $
;; 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.34 1997-03-17 11:57:29 morioka Exp $")
+ "$Id: mime-view.el,v 0.35 1997-03-17 12:08:26 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
(insert rest)
))))
(mime-add-button (point-min)(1- (point-max))
- (function mime-play-entity))
+ (function mime-view-play-current-entity))
))
(defun mime-preview/default-content-button-function
(narrow-to-region be be)
(insert mime-view-announcement-for-message/partial)
(mime-add-button (point-min)(point-max)
- (function mime-play-entity))
+ (function mime-view-play-current-entity))
)))
(defun mime-article/get-uu-filename (param &optional encoding)
(next "Move to next content" mime-view-next-content)
(scroll-down "Scroll to previous content" mime-view-scroll-down-content)
(scroll-up "Scroll to next content" mime-view-scroll-up-content)
- (play "Play Content" mime-play-entity)
+ (play "Play Content" mime-view-play-current-entity)
(extract "Extract Content" mime-extract-entity)
(print "Print" mime-print-entity)
(x-face "Show X Face" mime-view-display-x-face)
(define-key mime-view-mode-map
"\C-\M-m" (function mime-view-previous-line-content))
(define-key mime-view-mode-map
- "v" (function mime-play-entity))
+ "v" (function mime-view-play-current-entity))
(define-key mime-view-mode-map
"e" (function mime-extract-entity))
(define-key mime-view-mode-map
(setq rpcl (cdr rpcl))
))))
-(autoload 'mime-play-entity "mime-play" "Play current entity." t)
+(autoload 'mime-view-play-current-entity "mime-play" "Play current entity." t)
(defun mime-extract-entity ()
"Extract current entity into file (maybe).
\"extract\" mode. The method is selected from variable
`mime/content-decoding-condition'."
(interactive)
- (mime-play-entity "extract")
+ (mime-view-play-current-entity "extract")
)
(defun mime-print-entity ()
\"print\" mode. The method is selected from variable
`mime/content-decoding-condition'."
(interactive)
- (mime-play-entity "print")
+ (mime-view-play-current-entity "print")
)
(defun mime-view-follow-content ()