Variable: mailcap-mime-extensions

mailcap-mime-extensions is a variable defined in mailcap.el.gz.

Value

Large value
(("" . "text/plain")
 (".1" . "text/plain")
 (".3" . "text/plain")
 (".8" . "text/plain")
 (".abs" . "audio/x-mpeg")
 (".aif" . "audio/aiff")
 (".aifc" . "audio/aiff")
 (".aiff" . "audio/aiff")
 (".ano" . "application/x-annotator")
 (".au" . "audio/ulaw")
 (".avi" . "video/x-msvideo")
 (".bcpio" . "application/x-bcpio")
 (".bin" . "application/octet-stream")
 (".cdf" . "application/x-netcdr")
 (".cpio" . "application/x-cpio")
 (".csh" . "application/x-csh")
 (".css" . "text/css")
 (".dvi" . "application/x-dvi")
 (".diff" . "text/x-patch")
 (".dpatch" . "text/x-patch")
 (".el" . "application/emacs-lisp")
 (".eps" . "application/postscript")
 (".etx" . "text/x-setext")
 (".exe" . "application/octet-stream")
 (".fax" . "image/x-fax")
 (".gif" . "image/gif")
 (".hdf" . "application/x-hdf")
 (".hqx" . "application/mac-binhex40")
 (".htm" . "text/html")
 (".html" . "text/html")
 (".icon" . "image/x-icon")
 (".ief" . "image/ief")
 (".jpg" . "image/jpeg")
 (".macp" . "image/x-macpaint")
 (".man" . "application/x-troff-man")
 (".me" . "application/x-troff-me")
 (".mif" . "application/mif")
 (".mov" . "video/quicktime")
 (".movie" . "video/x-sgi-movie")
 (".mp2" . "audio/x-mpeg")
 (".mp3" . "audio/x-mpeg")
 (".mp2a" . "audio/x-mpeg2")
 (".mpa" . "audio/x-mpeg")
 (".mpa2" . "audio/x-mpeg2")
 (".mpe" . "video/mpeg")
 (".mpeg" . "video/mpeg")
 (".mpega" . "audio/x-mpeg")
 (".mpegv" . "video/mpeg")
 (".mpg" . "video/mpeg")
 (".mpv" . "video/mpeg")
 (".ms" . "application/x-troff-ms")
 (".nc" . "application/x-netcdf")
 (".nc" . "application/x-netcdf")
 (".oda" . "application/oda")
 (".patch" . "text/x-patch")
 (".pbm" . "image/x-portable-bitmap")
 (".pdf" . "application/pdf")
 (".pgm" . "image/portable-graymap")
 (".pict" . "image/pict")
 (".png" . "image/png")
 (".pnm" . "image/x-portable-anymap")
 (".pod" . "text/plain")
 (".ppm" . "image/portable-pixmap")
 (".ps" . "application/postscript")
 (".qt" . "video/quicktime")
 (".ras" . "image/x-raster")
 (".rgb" . "image/x-rgb")
 (".rtf" . "application/rtf")
 (".rtx" . "text/richtext")
 (".sh" . "application/x-sh")
 (".sit" . "application/x-stuffit")
 (".siv" . "application/sieve")
 (".snd" . "audio/basic")
 (".soa" . "text/dns")
 (".src" . "application/x-wais-source")
 (".tar" . "archive/tar")
 (".tcl" . "application/x-tcl")
 (".tex" . "application/x-tex")
 (".texi" . "application/texinfo")
 (".tga" . "image/x-targa")
 (".tif" . "image/tiff")
 (".tiff" . "image/tiff")
 (".tr" . "application/x-troff")
 (".troff" . "application/x-troff")
 (".tsv" . "text/tab-separated-values")
 (".txt" . "text/plain")
 (".vbs" . "video/mpeg")
 (".vox" . "audio/basic")
 (".vrml" . "x-world/x-vrml")
 (".wav" . "audio/x-wav")
 (".xls" . "application/vnd.ms-excel")
 (".wrl" . "x-world/x-vrml")
 (".xbm" . "image/xbm")
 (".xpm" . "image/xpm")
 (".xwd" . "image/windowdump")
 (".zip" . "application/zip")
 (".ai" . "application/postscript")
 (".jpe" . "image/jpeg")
 (".jpeg" . "image/jpeg")
 (".webp" . "image/webp")
 (".org" . "text/x-org"))

Documentation

An alist of file extensions and corresponding MIME content-types.

This exists for you to customize the information in Lisp. It is merged with values from mailcap files by mailcap-parse-mimetypes.

Source Code

;; Defined in /usr/src/emacs/lisp/net/mailcap.el.gz
;;;
;;; Experimental MIME-types parsing
;;;

(defvar mailcap-mime-extensions
  '((""       . "text/plain")
    (".1"     . "text/plain")  ;; Manual pages
    (".3"     . "text/plain")
    (".8"     . "text/plain")
    (".abs"   . "audio/x-mpeg")
    (".aif"   . "audio/aiff")
    (".aifc"  . "audio/aiff")
    (".aiff"  . "audio/aiff")
    (".ano"   . "application/x-annotator")
    (".au"    . "audio/ulaw")
    (".avi"   . "video/x-msvideo")
    (".bcpio" . "application/x-bcpio")
    (".bin"   . "application/octet-stream")
    (".cdf"   . "application/x-netcdr")
    (".cpio"  . "application/x-cpio")
    (".csh"   . "application/x-csh")
    (".css"   . "text/css")
    (".dvi"   . "application/x-dvi")
    (".diff"  . "text/x-patch")
    (".dpatch". "text/x-patch")
    (".el"    . "application/emacs-lisp")
    (".eps"   . "application/postscript")
    (".etx"   . "text/x-setext")
    (".exe"   . "application/octet-stream")
    (".fax"   . "image/x-fax")
    (".gif"   . "image/gif")
    (".hdf"   . "application/x-hdf")
    (".hqx"   . "application/mac-binhex40")
    (".htm"   . "text/html")
    (".html"  . "text/html")
    (".icon"  . "image/x-icon")
    (".ief"   . "image/ief")
    (".jpg"   . "image/jpeg")
    (".macp"  . "image/x-macpaint")
    (".man"   . "application/x-troff-man")
    (".me"    . "application/x-troff-me")
    (".mif"   . "application/mif")
    (".mov"   . "video/quicktime")
    (".movie" . "video/x-sgi-movie")
    (".mp2"   . "audio/x-mpeg")
    (".mp3"   . "audio/x-mpeg")
    (".mp2a"  . "audio/x-mpeg2")
    (".mpa"   . "audio/x-mpeg")
    (".mpa2"  . "audio/x-mpeg2")
    (".mpe"   . "video/mpeg")
    (".mpeg"  . "video/mpeg")
    (".mpega" . "audio/x-mpeg")
    (".mpegv" . "video/mpeg")
    (".mpg"   . "video/mpeg")
    (".mpv"   . "video/mpeg")
    (".ms"    . "application/x-troff-ms")
    (".nc"    . "application/x-netcdf")
    (".nc"    . "application/x-netcdf")
    (".oda"   . "application/oda")
    (".patch" . "text/x-patch")
    (".pbm"   . "image/x-portable-bitmap")
    (".pdf"   . "application/pdf")
    (".pgm"   . "image/portable-graymap")
    (".pict"  . "image/pict")
    (".png"   . "image/png")
    (".pnm"   . "image/x-portable-anymap")
    (".pod"   . "text/plain")
    (".ppm"   . "image/portable-pixmap")
    (".ps"    . "application/postscript")
    (".qt"    . "video/quicktime")
    (".ras"   . "image/x-raster")
    (".rgb"   . "image/x-rgb")
    (".rtf"   . "application/rtf")
    (".rtx"   . "text/richtext")
    (".sh"    . "application/x-sh")
    (".sit"   . "application/x-stuffit")
    (".siv"   . "application/sieve")
    (".snd"   . "audio/basic")
    (".soa"   . "text/dns")
    (".src"   . "application/x-wais-source")
    (".tar"   . "archive/tar")
    (".tcl"   . "application/x-tcl")
    (".tex"   . "application/x-tex")
    (".texi"  . "application/texinfo")
    (".tga"   . "image/x-targa")
    (".tif"   . "image/tiff")
    (".tiff"  . "image/tiff")
    (".tr"    . "application/x-troff")
    (".troff" . "application/x-troff")
    (".tsv"   . "text/tab-separated-values")
    (".txt"   . "text/plain")
    (".vbs"   . "video/mpeg")
    (".vox"   . "audio/basic")
    (".vrml"  . "x-world/x-vrml")
    (".wav"   . "audio/x-wav")
    (".xls"   . "application/vnd.ms-excel")
    (".wrl"   . "x-world/x-vrml")
    (".xbm"   . "image/xbm")
    (".xpm"   . "image/xpm")
    (".xwd"   . "image/windowdump")
    (".zip"   . "application/zip")
    (".ai"    . "application/postscript")
    (".jpe"   . "image/jpeg")
    (".jpeg"  . "image/jpeg")
    (".webp"  . "image/webp")
    (".org"   . "text/x-org"))
  "An alist of file extensions and corresponding MIME content-types.
This exists for you to customize the information in Lisp.  It is
merged with values from mailcap files by `mailcap-parse-mimetypes'.")