;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.74 $
+;; Version: $Revision: 0.75 $
;; 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.74 1997-03-18 15:16:56 morioka Exp $")
+ "$Id: mime-view.el,v 0.75 1997-03-18 15:21:28 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
"Mother buffer corresponding with the (MIME-View) buffer.
If current MIME-View buffer is generated by other buffer, such as
message/partial, it is called `mother-buffer'.")
-
(make-variable-buffer-local 'mime-mother-buffer)
(defvar mime-raw-buffer nil
"Raw buffer corresponding with the (MIME-View) buffer.")
(make-variable-buffer-local 'mime-raw-buffer)
-(make-variable-buffer-local 'mime::preview/original-major-mode)
+(defvar mime-view-original-major-mode nil
+ "Major-mode in mime-raw-buffer.")
+(make-variable-buffer-local 'mime-view-original-major-mode)
+
(make-variable-buffer-local 'mime::preview/original-window-configuration)
(set-buffer mime-mother-buffer)
(mime-preview/get-original-major-mode)
)
- mime::preview/original-major-mode))
+ mime-view-original-major-mode))
;;; @ buffer setup
(widen)
(erase-buffer)
(setq mime-raw-buffer the-buf)
- (setq mime::preview/original-major-mode mode)
+ (setq mime-view-original-major-mode mode)
(setq major-mode 'mime-view-mode)
(setq mode-name "MIME-View")
(while pcl
(save-restriction
(narrow-to-region (point)(point))
(insert-buffer-substring mime-raw-buffer beg end)
- (let ((f (cdr (assq mime::preview/original-major-mode
+ (let ((f (cdr (assq mime-view-original-major-mode
mime-view-content-header-filter-alist))))
(if (functionp f)
(funcall f)
(let ((point (previous-single-property-change (point) 'mime-view-cinfo)))
(if point
(goto-char point)
- (let ((f (assq mime::preview/original-major-mode
+ (let ((f (assq mime-view-original-major-mode
mime-view-over-to-previous-method-alist)))
(if f
(funcall (cdr f))
(let ((point (next-single-property-change (point) 'mime-view-cinfo)))
(if point
(goto-char point)
- (let ((f (assq mime::preview/original-major-mode
+ (let ((f (assq mime-view-original-major-mode
mime-view-over-to-next-method-alist)))
(if f
(funcall (cdr f))
(setq h (1- (window-height)))
)
(if (= (point) (point-max))
- (let ((f (assq mime::preview/original-major-mode
+ (let ((f (assq mime-view-original-major-mode
mime-view-over-to-next-method-alist)))
(if f
(funcall (cdr f))
(setq h (1- (window-height)))
)
(if (= (point) (point-min))
- (let ((f (assq mime::preview/original-major-mode
+ (let ((f (assq mime-view-original-major-mode
mime-view-over-to-previous-method-alist)))
(if f
(funcall (cdr f))
It calls function registered in variable
`mime-view-quitting-method-alist'."
(interactive)
- (let ((r (assq mime::preview/original-major-mode
+ (let ((r (assq mime-view-original-major-mode
mime-view-quitting-method-alist)))
(if r
(funcall (cdr r))
It calls function registered in variable
`mime-view-show-summary-method'."
(interactive)
- (let ((r (assq mime::preview/original-major-mode
+ (let ((r (assq mime-view-original-major-mode
mime-view-show-summary-method)))
(if r
(funcall (cdr r))