[Mew-dist 07875] CT:application/pdf

KOIE Hidetaka ( 鯉江英隆 ) koie at example.com
1999年 3月 3日 (水) 13:41:05 JST


はじめてPDFが添付されたメイルを受信したのですが
C-c C-eで見れませんでした。過去メイルを検索してみましたが
なぜPDFはmew-vars.elで登録されていないのは、わかりませんでした。
わたしはCT:application/pdfはmew-vars.el:mew-mime-contet-typeの定義に
追加してしまっても良いとおもいます。
たぶんmew-prog-pdfはユーザごとに設定しなおす必要があります。

--
KOIE Hidetaka 鯉江英隆 <hide at example.com>
-------------- next part --------------
diff -rpu mew-1.94b12/mew-os2.el mew-1.94b12.koie/mew-os2.el
--- mew-1.94b12/mew-os2.el	Sun Feb 28 23:57:15 1999
+++ mew-1.94b12.koie/mew-os2.el	Wed Mar  3 13:12:11 1999
@@ -299,12 +299,6 @@
     mew-prog-octet-stream
     mew-icon-application/octet-stream
     )
-   ("application/pdf"
-    "\\.pdf$"
-    mew-b64
-    mew-prog-pdf
-    mew-icon-application/postscript
-    )
    ("application/mac-binhex40"
     "\\.hqx$"
     mew-b64
@@ -334,7 +328,6 @@
 
 (setq mew-mime-content-type-list (append
   '(
-    "application/pdf"            ;; binary
     "application/mac-hexbin40"
     "application/x-os2-inf"
     "application/x-os2-hlp"
diff -rpu mew-1.94b12/mew-unix.el mew-1.94b12.koie/mew-unix.el
--- mew-1.94b12/mew-unix.el	Sat Oct 17 22:17:41 1998
+++ mew-1.94b12.koie/mew-unix.el	Wed Mar  3 12:58:08 1999
@@ -51,6 +51,7 @@
 (defvar mew-prog-external-body '(mew-mime-external-body () nil))
 (defvar mew-prog-delivery-status '(mew-mime-text/plain () nil))
 (defvar mew-prog-postscript '("ghostview" ("-geom" "+0+0") t))
+(defvar mew-prog-pdf '("acroread" ("-geom" "+0+0") t))
 (defvar mew-prog-pgp-keys '(mew-mime-pgp-keys () nil))
 (defvar mew-prog-octet-stream '(mew-mime-application/octet-stream () nil))
 
diff -rpu mew-1.94b12/mew-vars.el mew-1.94b12.koie/mew-vars.el
--- mew-1.94b12/mew-vars.el	Fri Feb 26 19:08:17 1999
+++ mew-1.94b12.koie/mew-vars.el	Wed Mar  3 13:32:50 1999
@@ -306,6 +306,7 @@
 
 (defvar mew-mime-content-type-binary-list
   '("Application/Octet-Stream"
+    "Application/Pdf"
     "Image/Jpeg" "Image/Gif" "Image/Tiff"
     "Image/x-xwd" "Image/x-xbm" "Image/x-xpm" 
     "Image/x-bmp" "Image/Png" "Audio/Basic" "Video/Mpeg")
@@ -1132,6 +1133,8 @@ is found in 'mew-highlight-mark-folder-l
     ("message/delivery-status" "^$" nil mew-prog-delivery-status mew-icon-text)
     ("application/postscript" "\\.ps$" mew-qp mew-prog-postscript
 				  mew-icon-application/postscript)
+    ("application/pdf" "\\.pdf$" mew-b64 mew-prog-pdf
+                                  mew-icon-application/postscript)
     ("application/pgp-keys" "\\.pka$" nil mew-prog-pgp-keys mew-icon-unknown)
     ("application/octet-stream"
       "\\.tar\\.?g?z?$\\|\\.tgz$\\|\\.gz$\\|\\.Z$\\|\\.lzh$\\|\\.zip$\\|\\.bin$\\|\\.pgp$"


Mew-dist メーリングリストの案内