* mime-edit.el (mime-file-types): Add application/vnd.ms-excel.
(mime-content-types): Add application/vnd.ms-excel and
application/msword.
* mime-image.el (mime-display-image): Ignore errors about image
decoding.
+2004-04-04 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * mime-edit.el (mime-file-types): Add application/vnd.ms-excel.
+ (mime-content-types): Add application/vnd.ms-excel and
+ application/msword.
+
+2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mime-image.el (mime-display-image): Ignore errors about image
+ decoding.
+
2004-01-15 Katsumi Yamaoka <yamaoka@jpl.org>
* mime-edit.el (mime-edit-normalize-body): Fix a comment that the
("application"
("octet-stream" ("type" "" "tar" "shar"))
("postscript")
+ ("msword")
+ ("vnd.ms-excel")
("vnd.ms-powerpoint")
("x-kiss" ("x-cnf")))
("image"
"application" "msword" nil
"base64"
"attachment" (("filename" . file)))
+ ("\\.xls$" ; MS Excel
+ "application" "vnd.ms-excel" nil
+ "base64"
+ "attachment" (("filename" . file)))
("\\.ppt$" ; MS Power Point
"application" "vnd.ms-powerpoint" nil
"base64"
(defun mime-display-image (entity situation)
(message "Decoding image...")
- (let ((format (cdr (assq 'image-format situation)))
- image)
- (setq image (mime-image-create (mime-entity-content entity) format 'data))
- (if (null image)
- (message "Invalid glyph!")
- (save-excursion
- (mime-image-insert image)
- (insert "\n")
- (message "Decoding image...done")))))
+ (condition-case err
+ (let ((format (cdr (assq 'image-format situation)))
+ image)
+ (setq image (mime-image-create (mime-entity-content entity) format 'data))
+ (if (null image)
+ (message "Invalid glyph!")
+ (save-excursion
+ (mime-image-insert image)
+ (insert "\n")
+ (message "Decoding image...done"))))
+ (error nil err)))
;;; @ end
;;;