[mew-int 2951] text/pdf

Christophe TROESTLER <[email protected]> Thu, 20 Jan 2011 20:36:02 +0100 (CET)
Newsgroups gmane.mail.mew.general
Organization Universite de Mons (http://math.umons.ac.be/an/)
Message-ID <20110120.203602.1733802069064467235.Christophe.Troestler@umons.ac.be>
Hi,

Thunderbird/3.1.7 seems to choose the “Content-Type: text/pdf” for PD 
F files.  The attached simple patch make Mew recognize this MIME cont 
ent type.

Best,
C.
mew.patch (text/x-patch, 656 B)
=== modified file 'mew-varsx.el'
--- old/mew-varsx.el	2010-05-13 08:41:16 +0000
+++ new/mew-varsx.el	2011-01-20 19:30:28 +0000
@@ -132,6 +132,8 @@
     mew-prog-postscript             mew-icon-application/postscript)
    ("application/pdf"               "\\.pdf$"  mew-b64
     mew-prog-pdf                    mew-icon-application/postscript)
+   ("text/pdf"                      "\\.pdf$"  mew-b64
+    mew-prog-pdf                    mew-icon-application/postscript)
    ("application/octet-stream"      "\\.pages$"  mew-b64
     mew-default-external-program    mew-icon-application/octet-stream)
    ("application/octet-stream"      "\\.key$"  mew-b64