Debian Codegraph @

mew-darwin.el

raw
1 ;;; mew-darwin.el --- Settings for Mew on Darwin
2
3 ;; Author: Kazu Yamamoto <[email protected]>
4 ;; Created: Oct 30, 2002
5
6 ;;; Code:
7
8 ;;;
9 ;;; MIME setting
10 ;;;
11
12 (defvar mew-darwin-exec "open")
13 (defvar mew-default-external-program mew-darwin-exec)
14
15 (defvar mew-prog-plain 'mew-mime-text/plain)
16 (defvar mew-prog-html '(mew-mime-text/html mew-mime-text/html-ext))
17 (defvar mew-prog-xml '(mew-mime-text/xml mew-mime-text/xml-ext))
18 (defvar mew-prog-patch '(mew-mime-text/plain mew-mime-text/patch-ext))
19 (defvar mew-prog-enriched 'mew-mime-text/enriched)
20 (defvar mew-prog-text 'mew-mime-text/plain)
21 (defvar mew-prog-audio mew-darwin-exec)
22 (defvar mew-prog-audio2 mew-darwin-exec) ;; dummy
23 (defvar mew-prog-image '(mew-mime-image/* mew-mime-image/*-ext))
24 (defvar mew-prog-iges mew-darwin-exec)
25 (defvar mew-prog-vrml mew-darwin-exec)
26 (defvar mew-prog-mesh mew-darwin-exec)
27 (defvar mew-prog-video mew-darwin-exec)
28 (defvar mew-prog-rfc822 'mew-mime-message/rfc822)
29 (defvar mew-prog-rfc822-headers 'mew-mime-text/rfc822-headers)
30 (defvar mew-prog-external-body '(mew-mime-external-body mew-mime-external-body-ext))
31 (defvar mew-prog-delivery-status 'mew-mime-text/plain)
32 (defvar mew-prog-oasys mew-darwin-exec)
33 (defvar mew-prog-octet-stream mew-darwin-exec)
34 (defvar mew-prog-postscript mew-darwin-exec)
35 (defvar mew-prog-application/pdf "pdftotext")
36 (defvar mew-prog-pdf-ext mew-darwin-exec)
37 (defvar mew-prog-pdf `(mew-mime-application/pdf ,mew-prog-pdf-ext))
38 (defvar mew-prog-pgp-keys '(mew-mime-pgp-keys mew-mime-pgp-keys-ext))
39
40 (defvar mew-prog-application/rtf nil)
41 (defvar mew-prog-rtf mew-darwin-exec)
42
43 (defvar mew-prog-xml2 '(mew-mime-application/xml
44 mew-mime-application/xml-ext))
45 (defvar mew-prog-unzip mew-darwin-exec)
46
47 ;;;
48 ;;; Text/Html, Application/Xml
49 ;;;
50
51 (defvar mew-format-html "%s.html")
52 (defvar mew-format-xml "%s.xml")
53
54 (defvar mew-prog-text/html
55 (if (and (fboundp 'shr-render-region)
56 (fboundp 'libxml-parse-html-region))
57 'shr-render-region
58 'mew-mime-text/html-w3m)) ;; See w3m.el
59 (defvar mew-prog-text/html-ext mew-darwin-exec)
60
61 (defvar mew-prog-text/xml
62 (if (and (fboundp 'shr-render-region)
63 (fboundp 'libxml-parse-html-region))
64 'shr-render-region
65 'mew-mime-text/html-w3m)) ;; See w3m.el
66 (defvar mew-prog-text/xml-ext mew-darwin-exec)
67
68 (defvar mew-prog-application/xml nil)
69 (defvar mew-prog-application/xml-ext mew-darwin-exec)
70
71
72 ;;;
73 ;;; Image
74 ;;;
75
76 (defvar mew-prog-image/* 'mew-mime-image/*)
77 (defvar mew-prog-image/*-ext mew-darwin-exec)
78
79
80 ;;;
81 ;;; Office
82 ;;;
83
84 (defvar mew-prog-ooffice mew-darwin-exec)
85
86 (defvar mew-prog-application/msword nil)
87 (defvar mew-prog-msword mew-darwin-exec)
88
89 (defvar mew-prog-application/msexcel nil)
90 (defvar mew-prog-msexcel mew-darwin-exec)
91
92 (defvar mew-prog-application/mspowerpoint nil)
93 (defvar mew-prog-mspowerpoint mew-darwin-exec)
94
95 (defvar mew-prog-visio mew-darwin-exec)
96
97
98 ;;;
99 ;;; Misc
100 ;;;
101
102 (setq mew-delete-temp-file nil)
103 (defvar mew-dir-list-function 'mew-dir-list-with-link-count)
104
105 (provide 'mew-darwin)
106
107 ;;; Copyright Notice:
108
109 ;; Copyright (C) 2002-2015 Mew developing team.
110 ;; All rights reserved.
111
112 ;; Redistribution and use in source and binary forms, with or without
113 ;; modification, are permitted provided that the following conditions
114 ;; are met:
115 ;;
116 ;; 1. Redistributions of source code must retain the above copyright
117 ;; notice, this list of conditions and the following disclaimer.
118 ;; 2. Redistributions in binary form must reproduce the above copyright
119 ;; notice, this list of conditions and the following disclaimer in the
120 ;; documentation and/or other materials provided with the distribution.
121 ;; 3. Neither the name of the team nor the names of its contributors
122 ;; may be used to endorse or promote products derived from this software
123 ;; without specific prior written permission.
124 ;;
125 ;; THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND
126 ;; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
127 ;; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
128 ;; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE
129 ;; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
130 ;; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
131 ;; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
132 ;; BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
133 ;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
134 ;; OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
135 ;; IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
136
137 ;;; mew-darwin.el ends here