1 [README for FLIM (English Version)]
6 FLIM is a library to provide basic features about message
7 representation or encoding. It consists of following
10 std11.el --- STD 11 (RFC 822) parser and utility
12 mime-def.el --- Definitions about MIME format
14 MEL: MIME encoder/decoder
15 mel.el --- main module
16 mel-dl.el --- base64 (b-encoding) encoder/decoder
17 (for Emacs 20 with dynamic loading support)
18 mel-b.el --- base64 (b-encoding) encoder/decoder
20 mel-q.el --- quoted-printable and q-encoding encoder/decoder
21 mel-u.el --- unofficial module for uuencode
22 mel-g.el --- unofficial module for gzip64
24 eword: encoded-word encoder/decoder
26 eword-decode.el --- encoded-word decoder
27 eword-encode.el --- encoded-word encoder
29 mailcap.el --- mailcap parser and utility
35 (0) before installing it, please install APEL package. APEL package
38 ftp://ftp.jaist.ac.jp/pub/GNU/elisp/apel/
40 (1-a) run in expanded place
42 If you don't want to install other directories, please do only
47 You can specify the emacs command name, for example
49 % make install EMACS=xemacs
51 If `EMACS=...' is omitted, EMACS=emacs is used.
55 If you want to install other directories, please do following:
59 You can specify the emacs command name, for example
61 % make install EMACS=xemacs
63 If `EMACS=...' is omitted, EMACS=emacs is used.
65 You can specify the prefix of the directory tree for Emacs Lisp
66 programs and shell scripts, for example:
68 % make install PREFIX=~/
70 If `PREFIX=...' is omitted, the prefix of the directory tree of the
71 specified emacs command is used (perhaps /usr/local).
73 For example, if PREFIX=/usr/local and EMACS 19.34 is specified, it
74 will create the following directory tree:
76 /usr/local/share/emacs/site-lisp/flim/ --- FLIM
78 You can specify site-lisp directory, for example
80 % make install LISPDIR=~/share/emacs/lisp
82 If `LISPDIR=...' is omitted, site-lisp directory of the specified
83 emacs command is used (perhaps /usr/local/share/emacs/site-lisp or
84 /usr/local/lib/xemacs/site-lisp).
86 You can specify other optional settings by editing the file
87 FLIM-CFG. Please read comments in it.
90 load-path (for Emacs or MULE)
91 =============================
93 If you are using Emacs or Mule, please add directory of FLIM to
94 load-path. If you install by default setting, you can write
95 subdirs.el for example:
97 --------------------------------------------------------------------
98 (normal-top-level-add-to-load-path '("apel" "flim"))
99 --------------------------------------------------------------------
101 If you are using XEmacs, there are no need of setting about
111 Command mime-encode-region (START END ENCODING)
113 Encode region START to END of current buffer using ENCODING.
115 Command mime-decode-region (start end encoding)
117 Decode region START to END of current buffer using ENCODING.
119 Command base64-encode-region (start end)
121 Encode current region by base64.
122 START and END are buffer positions.
124 This function calls internal base64 encoder if size of region is
125 smaller than `base64-internal-encoding-limit', otherwise it calls
126 external base64 encoder specified by `base64-external-encoder'. In
127 this case, you must install the program (maybe mmencode included in
128 metamail or XEmacs package).
130 Command base64-decode-region (start end)
132 Decode current region by base64.
133 START and END are buffer positions.
135 This function calls internal base64 decoder if size of region is
136 smaller than `base64-internal-decoding-limit', otherwise it calls
137 external base64 decoder specified by `base64-external-decoder'. In
138 this case, you must install the program (maybe mmencode included in
139 metamail or XEmacs package).
141 Command quoted-printable-encode-region (start end)
143 Encode current region by quoted-printable.
144 START and END are buffer positions.
146 This function calls internal quoted-printable encoder if size of
147 region is smaller than `quoted-printable-internal-encoding-limit',
148 otherwise it calls external quoted-printable encoder specified by
149 `quoted-printable-external-encoder'. In this case, you must install
150 the program (maybe mmencode included in metamail or XEmacs package).
152 Command quoted-printable-decode-region (start end)
154 Decode current region by quoted-printable.
155 START and END are buffer positions.
157 This function calls internal quoted-printable decoder if size of
158 region is smaller than `quoted-printable-internal-decoding-limit',
159 otherwise it calls external quoted-printable decoder specified by
160 `quoted-printable-external-decoder'. In this case, you must install
161 the program (maybe mmencode included in metamail or XEmacs package).
163 Command uuencode-encode-region (start end)
165 Encode region START to END of current buffer using uuencode.
167 Command uuencode-decode-region (start end)
169 Decode region START to END of current buffer using uuencode.
171 Command gzip64-encode-region (start end)
173 Encode region START to END of current buffer using x-gzip64.
175 Command gzip64-decode-region (start end)
177 Decode region START to END of current buffer using x-gzip64.
179 Variable mime-encoding-method-alist
181 Alist of encoding vs. corresponding method to encode region.
182 Each element looks like (STRING . FUNCTION) or (STRING . nil).
183 STRING is content-transfer-encoding.
184 FUNCTION is region encoder and nil means not to encode.
186 Variable mime-decoding-method-alist
188 Alist of encoding vs. corresponding method to decode region.
189 Each element looks like (STRING . FUNCTION).
190 STRING is content-transfer-encoding.
191 FUNCTION is region decoder.
196 Command mime-insert-encoded-file (FILENAME ENCODING)
198 Insert file FILENAME encoded by ENCODING format.
200 Command base64-insert-encoded-file (FILENAME)
202 Encode contents of file FILENAME to base64, and insert the result.
204 It calls external base64 encoder specified by
205 `base64-external-encoder'. So you must install the program (maybe
206 mmencode included in metamail or XEmacs package).
208 Command quoted-printable-insert-encoded-file (FILENAME)
210 Insert quoted-printable encoded file.
212 Command uuencode-insert-encoded-file (FILENAME)
214 Insert uuencode encoded file.
216 Command gzip64-insert-encoded-file (FILENAME)
218 Insert gzip64 encoded file.
220 Variable mime-file-encoding-method-alist
222 Alist of encoding vs. corresponding method to insert encoded file.
223 Each element looks like (STRING . FUNCTION).
224 STRING is content-transfer-encoding.
225 FUNCTION is function to insert encoded file.
230 Function base64-encode-string (STRING)
232 Encode STRING to base64, and return the result.
234 Function base64-decode-string (STRING)
236 Decode STRING which is encoded in base64, and return the result.
238 Function q-encoding-encode-string (STRING &optional MODE)
240 Encode STRING to Q-encoding of encoded-word, and return the result.
241 MODE allows `text', `comment', `phrase' or nil. Default value is
244 Function q-encoding-decode-string (STRING)
246 Decode STRING which is encoded in Q-encoding and return the result.
248 Function base64-encoded-length (STRING)
250 Return length of base64 encoded STRING.
252 Function q-encoded-length (STRING &optional MODE)
254 Return length of Q-encoding encoded STRING.
255 MODE allows `text', `comment', `phrase' or nil. Default value is
262 If you write bug-reports and/or suggestions for improvement, please
263 send them to the tm Mailing List:
265 bug-tm-en@chamonix.jaist.ac.jp (English)
266 bug-tm-ja@chamonix.jaist.ac.jp (Japanese)
268 Via the tm ML, you can report FLIM bugs, obtain the latest release
269 of FLIM, and discuss future enhancements to FLIM. To join the tm ML,
270 send an empty e-mail to
272 tm-en-help@chamonix.jaist.ac.jp (English)
273 tm-ja-help@chamonix.jaist.ac.jp (Japanese)