;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.81 $
+;; Version: $Revision: 0.82 $
;; 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.81 1997-03-27 22:16:53 morioka Exp $")
+ "$Id: mime-view.el,v 0.82 1997-04-03 17:37:26 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
))))
-;;; @@ utility
-;;;
-
-(defun mime-preview/get-original-major-mode ()
- (if mime-mother-buffer
- (save-excursion
- (set-buffer mime-mother-buffer)
- (mime-preview/get-original-major-mode)
- )
- mime-view-original-major-mode))
-
-
;;; @ buffer setup
;;;
(run-hooks 'mime-view-mode-hook)
)))
+
+;;; @@ playing
+;;;
+
(autoload 'mime-view-play-current-entity "mime-play" "Play current entity." t)
(defun mime-view-extract-current-entity ()
(mime-view-play-current-entity "print")
)
+
+;;; @@ following
+;;;
+
+(defun mime-view-get-original-major-mode ()
+ "Return major-mode of original buffer.
+If a current buffer has mime-mother-buffer, return original major-mode
+of the mother-buffer."
+ (if mime-mother-buffer
+ (save-excursion
+ (set-buffer mime-mother-buffer)
+ (mime-view-get-original-major-mode)
+ )
+ mime-view-original-major-mode))
+
(defun mime-view-follow-current-entity ()
"Write follow message to current entity.
It calls following-method selected from variable
(setq p-end (point-max))
))
))
- (let* ((mode (mime-preview/get-original-major-mode))
+ (let* ((mode (mime-view-get-original-major-mode))
(new-name (format "%s-%s" (buffer-name) (reverse rcnum)))
new-buf
(the-buf (current-buffer))
))
))))
+
+;;; @@ X-Face
+;;;
+
(defun mime-view-display-x-face ()
(interactive)
(save-window-excursion
(mime-view-x-face-function)
))
+
+;;; @@ moving
+;;;
+
(defun mime-view-move-to-upper ()
"Move to upper entity.
If there is no upper entity, call function `mime-view-quit'."
(mime-view-scroll-down-entity 1)
)
+
+;;; @@ quitting
+;;;
+
(defun mime-view-quit ()
"Quit from MIME-View buffer.
It calls function registered in variable