emacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-commit] emacs/lisp/mh-e mh-mime.el


From: Peter Galbraith
Subject: [Emacs-commit] emacs/lisp/mh-e mh-mime.el
Date: Sun, 05 Feb 2006 04:55:42 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         
Changes by:     Peter Galbraith <address@hidden>        06/02/05 04:55:42

Modified files:
        lisp/mh-e      : mh-mime.el 

Log message:
        * mh-mime.el (mh-file-mime-type-substitutions): Added entries to
        handle openoffice documents, as provided by Eric Ding.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/emacs/lisp/mh-e/mh-mime.el.diff?tr1=1.48&tr2=1.49&r1=text&r2=text

Patches:
Index: emacs/lisp/mh-e/mh-mime.el
diff -u emacs/lisp/mh-e/mh-mime.el:1.48 emacs/lisp/mh-e/mh-mime.el:1.49
--- emacs/lisp/mh-e/mh-mime.el:1.48     Wed Feb  1 23:24:34 2006
+++ emacs/lisp/mh-e/mh-mime.el  Sun Feb  5 04:55:42 2006
@@ -1733,7 +1733,19 @@
 (defvar mh-file-mime-type-substitutions
   '(("application/msword" "\.xls" "application/ms-excel")
     ("application/msword" "\.ppt" "application/ms-powerpoint")
-    ("text/plain" "\.vcf" "text/x-vcard"))
+    ("text/plain" "\.vcf" "text/x-vcard")
+    ("text/rtf" "\.rtf" "application/rtf")
+    ("application/x-zip" "\.sxc" "application/vnd.sun.xml.calc")
+    ("application/x-zip" "\.sxd" "application/vnd.sun.xml.draw")
+    ("application/x-zip" "\.sxi" "application/vnd.sun.xml.impress")
+    ("application/x-zip" "\.sxw" "application/vnd.sun.xml.writer")
+    ("application/x-zip" "\.odg" "application/vnd.oasis.opendocument.graphics")
+    ("application/x-zip" "\.odi" "application/vnd.oasis.opendocument.image")
+    ("application/x-zip" "\.odp" 
+     "application/vnd.oasis.opendocument.presentation")
+    ("application/x-zip" "\.ods" 
+     "application/vnd.oasis.opendocument.spreadsheet")
+    ("application/x-zip" "\.odt" "application/vnd.oasis.opendocument.text"))
   "Substitutions to make for Content-Type returned from file command.
 The first element is the Content-Type returned by the file command.
 The second element is a regexp matching the file name, usually the




reply via email to

[Prev in Thread] Current Thread [Next in Thread]