Function `eword-decode-message-header' was renamed to
[elisp/semi.git] / mime-view.el
index d853ba0..39efedf 100644 (file)
@@ -6,7 +6,7 @@
 ;; Created: 1994/7/13
 ;;     Renamed: 1994/8/31 from tm-body.el
 ;;     Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.4 $
+;; Version: $Revision: 0.11 $
 ;; Keywords: MIME, multimedia, mail, news
 
 ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
@@ -34,9 +34,8 @@
 (require 'tl-misc)
 (require 'std11)
 (require 'mel)
-(require 'tm-ew-d)
-(require 'tm-def)
-(require 'tm-parse)
+(require 'eword-decode)
+(require 'mime-parse)
 (require 'mime-text)
 
 
@@ -44,7 +43,7 @@
 ;;;
 
 (defconst mime-view-RCS-ID
-  "$Id: mime-view.el,v 0.4 1997-02-21 05:29:42 tmorioka Exp $")
+  "$Id: mime-view.el,v 0.11 1997-02-24 01:59:28 tmorioka Exp $")
 
 (defconst mime-view-version (get-version-string mime-view-RCS-ID))
 
@@ -315,7 +314,7 @@ Each elements are regexp of field-name. [mime-view.el]")
 
 (defun mime-view-default-content-header-filter ()
   (mime-preview/cut-header)
-  (mime/decode-message-header)
+  (eword-decode-message-header)
   )
 
 (defvar mime-view-content-header-filter-alist nil)
@@ -449,7 +448,7 @@ The compressed face will be piped to this command.")
        (set-buffer ibuf)
        ))
   (or mime-view-redisplay
-      (setq mime::article/content-info (mime/parse-message ctl encoding))
+      (setq mime::article/content-info (mime-parse-message ctl encoding))
       )
   (let ((ret (mime-view-make-preview-buffer obuf)))
     (setq mime::article/preview-buffer (car ret))
@@ -504,7 +503,7 @@ The compressed face will be piped to this command.")
     (save-restriction
       (narrow-to-region beg end)
       (setq subj
-           (mime-eword/decode-string
+           (eword-decode-string
             (mime-article/get-subject params encoding)))
       )
     (set-buffer obuf)
@@ -735,9 +734,6 @@ The compressed face will be piped to this command.")
                                (copy-keymap default)
                              (make-sparse-keymap)
                              )))
-    (or (keymapp default)
-       (suppress-keymap mime-view-mode-map)
-       )
     (define-key mime-view-mode-map
       "u"        (function mime-view-up-content))
     (define-key mime-view-mode-map
@@ -765,8 +761,6 @@ The compressed face will be piped to this command.")
     (define-key mime-view-mode-map
       "\C-c\C-p" (function mime-view-print-content))
     (define-key mime-view-mode-map
-      "x"        (function mime-view-display-x-face))
-    (define-key mime-view-mode-map
       "a"        (function mime-view-follow-content))
     (define-key mime-view-mode-map
       "q"        (function mime-view-quit))
@@ -1013,7 +1007,7 @@ button-2  Move to point under the mouse cursor
                      ))
                (setq rest (cdr rest))
                ))
-           (mime/decode-message-header)
+           (eword-decode-message-header)
            )
          (let ((f (cdr (assq mode mime-view-following-method-alist))))
            (if (functionp f)