comparison lisp/mh-e/mh-mime.el @ 68620:f58b821a2f40

* mh-mime.el (mh-file-mime-type-substitutions): Added entries to handle openoffice documents, as provided by Eric Ding.
author Peter Galbraith <galbraith@mixing.qc.dfo.ca>
date Sun, 05 Feb 2006 04:55:42 +0000
parents 7daec5f4a289
children bbac579a3af5 c5406394f567
comparison
equal deleted inserted replaced
68619:e5bed647674d 68620:f58b821a2f40
1731 (kill-buffer tmp-buffer))))))) 1731 (kill-buffer tmp-buffer)))))))
1732 1732
1733 (defvar mh-file-mime-type-substitutions 1733 (defvar mh-file-mime-type-substitutions
1734 '(("application/msword" "\.xls" "application/ms-excel") 1734 '(("application/msword" "\.xls" "application/ms-excel")
1735 ("application/msword" "\.ppt" "application/ms-powerpoint") 1735 ("application/msword" "\.ppt" "application/ms-powerpoint")
1736 ("text/plain" "\.vcf" "text/x-vcard")) 1736 ("text/plain" "\.vcf" "text/x-vcard")
1737 ("text/rtf" "\.rtf" "application/rtf")
1738 ("application/x-zip" "\.sxc" "application/vnd.sun.xml.calc")
1739 ("application/x-zip" "\.sxd" "application/vnd.sun.xml.draw")
1740 ("application/x-zip" "\.sxi" "application/vnd.sun.xml.impress")
1741 ("application/x-zip" "\.sxw" "application/vnd.sun.xml.writer")
1742 ("application/x-zip" "\.odg" "application/vnd.oasis.opendocument.graphics")
1743 ("application/x-zip" "\.odi" "application/vnd.oasis.opendocument.image")
1744 ("application/x-zip" "\.odp"
1745 "application/vnd.oasis.opendocument.presentation")
1746 ("application/x-zip" "\.ods"
1747 "application/vnd.oasis.opendocument.spreadsheet")
1748 ("application/x-zip" "\.odt" "application/vnd.oasis.opendocument.text"))
1737 "Substitutions to make for Content-Type returned from file command. 1749 "Substitutions to make for Content-Type returned from file command.
1738 The first element is the Content-Type returned by the file command. 1750 The first element is the Content-Type returned by the file command.
1739 The second element is a regexp matching the file name, usually the 1751 The second element is a regexp matching the file name, usually the
1740 extension. 1752 extension.
1741 The third element is the Content-Type to replace with.") 1753 The third element is the Content-Type to replace with.")