1 [README for MEL (English Version)]
2 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 $Id: README.en,v 1.3 1997-04-30 12:59:46 morioka Exp $
8 MEL stands for "MIME Encoding Library". It consists of following
11 mel.el --- main module
12 mel-b.el --- base64 (b-encoding) encoder/decoder
13 mel-q.el --- quoted-printable and q-encoding encoder/decoder
14 mel-u.el --- unofficial module for uuencode
15 mel-g.el --- unofficial module for gzip64
21 (0) before installing it, please install APEL package. APEL package
24 ftp://ftp.jaist.ac.jp/pub/GNU/elisp/apel/
26 (1-a) run in expanded place
28 If you don't want to install other directories, please do only
33 You can specify the emacs command name, for example
35 % make install EMACS=xemacs
37 If `EMACS=...' is omitted, EMACS=emacs is used.
41 If you want to install other directories, please do following:
45 You can specify the emacs command name, for example
47 % make install EMACS=xemacs
49 If `EMACS=...' is omitted, EMACS=emacs is used.
51 You can specify the prefix of the directory tree for Emacs Lisp
52 programs and shell scripts, for example:
54 % make install PREFIX=~/
56 If `PREFIX=...' is omitted, the prefix of the directory tree of the
57 specified emacs command is used (perhaps /usr/local).
59 For example, if PREFIX=/usr/local and EMACS 19.34 is specified, it
60 will create the following directory tree:
62 /usr/local/share/emacs/site-lisp/mel/ --- MEL
64 You can specify other optional settings by editing the file
65 MEL-CFG. Please read comments in it.
68 load-path (for Emacs or MULE)
69 =============================
71 If you are using Emacs or Mule, please add directory of MEL to
72 load-path. If you install by default setting, you can write
73 subdirs.el for example:
75 --------------------------------------------------------------------
76 (normal-top-level-add-to-load-path '("apel" "mel"))
77 --------------------------------------------------------------------
79 If you are using XEmacs, there are no need of setting about
89 Command mime-encode-region (START END ENCODING)
91 Encode region START to END of current buffer using ENCODING.
93 Command mime-decode-region (start end encoding)
95 Decode region START to END of current buffer using ENCODING.
97 Command base64-encode-region (start end)
99 Encode region START to END of current buffer using base64.
101 Command base64-decode-region (start end)
103 Decode region START to END of current buffer using base64.
105 Command quoted-printable-encode-region (start end)
107 Encode region START to END of current buffer using quoted-printable.
109 Command quoted-printable-decode-region (start end)
111 Decode region START to END of current buffer using quoted-printable.
113 Command uuencode-encode-region (start end)
115 Encode region START to END of current buffer using uuencode.
117 Command uuencode-decode-region (start end)
119 Decode region START to END of current buffer using uuencode.
121 Command gzip64-encode-region (start end)
123 Encode region START to END of current buffer using x-gzip64.
125 Command gzip64-decode-region (start end)
127 Decode region START to END of current buffer using x-gzip64.
129 Variable mime-encoding-method-alist
131 Alist of encoding vs. corresponding method to encode region.
132 Each element looks like (STRING . FUNCTION) or (STRING . nil).
133 STRING is content-transfer-encoding.
134 FUNCTION is region encoder and nil means not to encode.
136 Variable mime-decoding-method-alist
138 Alist of encoding vs. corresponding method to decode region.
139 Each element looks like (STRING . FUNCTION).
140 STRING is content-transfer-encoding.
141 FUNCTION is region decoder.
146 Command mime-insert-encoded-file (FILENAME ENCODING)
148 Insert file FILENAME encoded by ENCODING format.
150 Command base64-insert-encoded-file (FILENAME)
152 Insert base64 encoded file.
154 Command quoted-printable-insert-encoded-file (FILENAME)
156 Insert quoted-printable encoded file.
158 Command uuencode-insert-encoded-file (FILENAME)
160 Insert uuencode encoded file.
162 Command gzip64-insert-encoded-file (FILENAME)
164 Insert gzip64 encoded file.
166 Variable mime-file-encoding-method-alist
168 Alist of encoding vs. corresponding method to insert encoded file.
169 Each element looks like (STRING . FUNCTION).
170 STRING is content-transfer-encoding.
171 FUNCTION is function to insert encoded file.
176 Function base64-encode-string (STRING)
178 Encode STRING to base64, and return the result.
180 Function base64-decode-string (STRING)
182 Decode STRING which is encoded in base64, and return the result.
184 Function q-encoding-encode-string (STRING &optional MODE)
186 Encode STRING as Q-encoding of encoded-word.
187 MODE allows `text', `comment', `phrase' or nil. Default value is
190 Function q-encoding-decode-string (STRING)
192 Decode STRING as Q-encoding of encoded-word.
194 Function base64-encoded-length (STRING)
196 Return length of base64 encoded STRING.
198 Function q-encoded-length (STRING &optional MODE)
200 Return length of Q-encoding encoded STRING.
201 MODE allows `text', `comment', `phrase' or nil. Default value is
208 If you write bug-reports and/or suggestions for improvement, please
209 send them to the tm Mailing List:
211 bug-tm-en@chamonix.jaist.ac.jp (English)
212 bug-tm-ja@chamonix.jaist.ac.jp (Japanese)
214 Via the tm ML, you can report tm bugs, obtain the latest release of
215 tm, and discuss future enhancements to tm. To join the tm ML, send
218 tm-ja-admin@chamonix.jaist.ac.jp (Japanese)
219 tm-en-admin@chamonix.jaist.ac.jp (English)
221 Since the user registration is done manually, please write the mail
222 body in human-recognizable language (^_^).