;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.58 $
+;; Version: $Revision: 0.59 $
;; 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.58 1997-03-17 16:12:44 morioka Exp $")
+ "$Id: mime-view.el,v 0.59 1997-03-17 16:17:40 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
(previous "Move to previous content" mime-view-move-to-previous)
(next "Move to next content" mime-view-move-to-next)
(scroll-down "Scroll to previous content" mime-view-scroll-down-content)
- (scroll-up "Scroll to next content" mime-view-scroll-up-content)
+ (scroll-up "Scroll to next content" mime-view-scroll-up-entity)
(play "Play Content" mime-view-play-current-entity)
(extract "Extract Content" mime-view-extract-current-entity)
(print "Print" mime-view-print-current-entity)
(define-key mime-view-mode-map
"\t" (function mime-view-move-to-next))
(define-key mime-view-mode-map
- " " (function mime-view-scroll-up-content))
+ " " (function mime-view-scroll-up-entity))
(define-key mime-view-mode-map
"\M- " (function mime-view-scroll-down-content))
(define-key mime-view-mode-map
))
)))
-(defun mime-view-scroll-up-content (&optional h)
+(defun mime-view-scroll-up-entity (&optional h)
+ "Scroll up current entity."
(interactive)
(or h
(setq h (- (window-height) 1))
(if (> (point) np)
(goto-char np)
)
- ;;(show-subtree)
))
)
(defun mime-view-next-line-content ()
(interactive)
- (mime-view-scroll-up-content 1)
+ (mime-view-scroll-up-entity 1)
)
(defun mime-view-previous-line-content ()