Sync with apel-10_3-1.
[elisp/lemi.git] / ChangeLog
1 2002-05-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
2
3         * poe/apel-ver.el (apel-ver): Changed to LEMI 1.14.0.
4
5 2002-05-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6
7         * poe/pccl.el (ccl-usable): Make non-MULE XEmacs don't require
8         `ccl' even if this file is mis-compiled for XEmacs with MULE.
9
10 2001-09-09   Daiki Ueno  <ueno@unixuser.org>
11
12         * poe/pccl.el (transform-make-coding-system-args): Follow old
13         backquote style.
14
15 2001-07-20  NAKAJIMA Mikio  <minakaji@osaka.email.ne.jp>
16
17         * emacs-lisp/install.el (install-file, install-elisp-module): Set
18         file modes according to `install-overwritten-file-modes'.
19
20 2001-06-23  NAKAJIMA Mikio  <minakaji@osaka.email.ne.jp>
21
22         * emacs-lisp/install.el (install-files): Do not make DEST
23         directory when JUST-PRINT is non-nil.
24
25 2001-06-20  Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
26
27         * emacs-lisp/install.el (install-elisp-modules): Do not make DEST
28         directory when JUST-PRINT is non-nil.
29
30 2001-06-01  Tanaka Akira      <akr@m17n.org>
31
32         * poe/pccl.el (ccl-compat): Since mule 2.3 accepts `t' and `nil'
33         as `type' argument, so arguments conversion shouln't applied in
34         such case.
35         
36 2001-01-18  Katsumi Yamaoka   <yamaoka@jpl.org>
37
38         * poe/inv-19.el (next-visible-point): Return the value of
39         `point-max' when the position of next `invisible' property change
40         is not found.
41
42 2000-12-28  Tanaka Akira      <akr@m17n.org>
43
44         * poe/pccl-20.el (ccl-compat): new advice for `make-coding-system'
45         of XEmacs to handle Emacs style CCL coding system definition.
46
47 2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
48
49         * emacs-lisp/install.el (install-update-package-files): New
50         function.
51         (install-just-print-p): Likewise.
52
53 2000-12-14   Daiki Ueno  <ueno@unixuser.org>
54
55         * emacs-lisp/alist.el (del-alist): Simplified.
56
57 2000-11-09  Katsumi Yamaoka   <yamaoka@jpl.org>
58
59         * emacs-lisp/path-util.el (add-path): Check for both "path" and
60         "path/".
61
62 2000-10-10  Keiichi Suzuki  <keiichi@mdcnet.co.jp>
63
64         * poe/product.el (product-version-as-string): New function.
65         (product-string-1): Use `product-version-as-string'.
66
67 2001-05-30  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
68
69         * mail/rmail-mime.el (rmail-show-mime-message): Handle
70         `revert-buffer' with `rmail-revert'.
71
72 2001-05-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
73
74         * mail/smtpmail.el (smtpmail-send-it): Modify to work without
75         mail-header-separator.
76
77         * mail/rmail-mime.el: Set
78         rmail-insert-mime-resent-message-function when loaded.
79         (rmail-insert-mime-resent-message): New function.
80
81 2001-05-25  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
82
83         * mail/rmail-mime.el (rmail-search-mime-header): Fix typo.
84
85 2001-03-31  Kenichi Handa  <handa@etl.go.jp>
86
87         * mail/rmail-mime.el: Set rmail-search-mime-message-function and
88         rmail-search-mime-header-function when loaded.
89         (rmail-search-mime-message): Change arguments to MSG, REGEXP, and
90         LIMIT.
91
92 2001-03-30  MORIOKA Tomohiko  <tomo@m17n.org>
93
94         * mail/rmail-mime.el (rmail-decode-mime-message): Change
95         arguments; use `mime-open-entity' and `mime-display-message'
96         instead of `mime-view-buffer'.
97         (rmail-search-mime-message): Modify for
98         `rmail-decode-mime-message'.
99
100 2001-02-26  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
101
102         * mail/hmac-md5.el, mail/hmac-sha1.el: Modify comments.
103
104         * mail/hmac-sha1.el: (sha1-binary): Comment out.
105
106 2001-02-25  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
107
108         * mail/hex-util.el, mail/hmac-def.el, mail/hmac-md5.el,
109         mail/hmac-sha1.el, mail/sha1.el: Update Copyright header.
110
111 2001-02-25  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
112
113         * mail/hmac-sha1.el (sha1-binary): Define it unconditionally.
114
115         * mail/hmac-md5.el (md5-binary): Use built-in `md5'
116         unconditionally.
117
118 2001-02-25  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
119
120         * mail/md5.el, mail/md5-el.el: Removed.
121
122         * mail/sha1.el: Renamed from mail/sha1-el.el; overriding
123         old mail/sha1.el.
124
125 2001-02-06  Kenichi Handa  <handa@etl.go.jp>
126
127         * mail/feedmail.el (feedmail-buffer-to-smtpmail): Use `smtp'
128         only when it is available.
129
130 2001-02-06  Kenichi Handa  <handa@etl.go.jp>
131
132         The following changes are to minimize the diff of these files
133         against the origianl ones, and to make sure that the changes don't
134         affect the original behaviour if rmail-enable-mime is nil.
135
136         * mail/rmail-mime.el: New file.  Move mime related functions from
137         rmail.el to here.
138
139 2000-12-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
140
141         * mime/mime-view.el: Revert to use `static'.
142
143 2000-12-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
144
145         * mime/mcs-20.el (mime-charset-p): New alias.
146
147         * mime/mcharset.el (default-mime-charset-for-write): Use
148         `mime-charset-p' instead of `find-coding-system'.
149
150 2000-12-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
151
152         * mime/mime-view.el (mime-view-read-situation-examples-file):
153         Don't try to read situation-examples-file is it is nil.
154         (mime-situation-examples-file): Avoid to read
155         situation-examples-file at compile time.
156
157 2000-12-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
158
159         * mime/mime-view.el (mime-view-read-situation-examples-file):
160         Display warning. [cf. <emacs-mime-ja:680>]
161
162 2000-12-27  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
163
164         * mime/mime-view.el (mime-view-mailcap-files): New user option.
165         (mime-view-read-mailcap-files): Renamed from
166         `mime-view-read-mailcap'; read `mime-view-mailcap-files'.
167
168         * mime/mime-view.el (mime-view-read-situation-examples-file): New
169         function; don't occur error.
170         (mime-view-read-mailcap): New function.
171
172 2000-12-27  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
173
174         * mime/mime-play.el (mime-play-messages-coding-system): Renamed
175         from `mime-mailcap-method-messages-coding-system'.
176
177         * mime/pgg-def.el (pgg-messages-coding-system): Change default
178         value to nil.
179
180 2000-12-27  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
181
182         * mime/mime-play.el (mime-activate-mailcap-method): Fix typo.
183
184 2000-12-26   Daiki Ueno  <ueno@unixuser.org>
185
186         * mime/mime-play.el (mime-mailcap-method-messages-coding-system):
187         New variable.
188         (mime-activate-mailcap-method): Use it.
189
190 2000-12-26   Daiki Ueno  <ueno@unixuser.org>
191
192         * mime/pgg-def.el (pgg-messages-coding-system): Use `defvar' to
193         define.
194
195         * mime/pgg-pgp.el (pgg-pgp-messages-coding-system): Abolish.
196         (pgg-pgp-process-region): Use `binary-funcall' instead of
197         `binary-to-text-funcall'.
198
199         * mime/pgg-pgp5.el (pgg-pgp5-messages-coding-system): Abolish.
200         (pgg-pgp5-process-region): Use `binary-funcall' instead of
201         `binary-to-text-funcall'.
202
203 2000-12-28  Kenichi Handa  <handa@etl.go.jp>
204
205         * emacs-lisp/static.el: Doc-string fixed.
206
207 2000-12-25  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
208
209         * mime/emh.el (mh-display-msg): Use `8bit-insert-encoded-file'
210         instead of `raw-text-insert-file-contents'.
211
212 2000-12-25  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
213
214         * mime/mail-mime-setup.el (mail-setup-hook): Don't add
215         `eword-decode-header'.
216
217 2000-12-23  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
218
219         * mime/mime-view.el (mime-view-define-keymap): Return
220         `mime-view-mode-map' instead of set up as local keymap; don't call
221         `mime-view-define-keymap-hook'.
222         (mime-display-message): Add new optional argument `keymap'.
223
224         * mime/mime-play.el (mime-store-message/partial-piece): Use
225         `binary-insert-encoded-file' and `binary-write-decoded-region'
226         instead of `binary-insert-file-contents' and
227         `binary-write-region'.
228
229 2000-12-23  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
230
231         * mime/smime.el (smime-process-region): Use `binary-funcall'
232         instead of `binary-start-process-shell-command'.
233         (smime-verify-region): Use `binary-write-decoded-region' and
234         `binary-insert-encoded-file' instead of `binary-write-region' and
235         `binary-insert-file-contents'.
236
237         * mime/pgg-pgp5.el (pgg-pgp5-messages-coding-system): New
238         variable.
239         (pgg-pgp5-process-region): Use `binary-to-text-funcall' instead of
240         `binary-start-process-shell-command'.
241         (pgg-scheme-verify-region): Use `binary-write-decoded-region'
242         instead of `binary-write-region'.
243
244         * mime/pgg-pgp.el (pgg-pgp-messages-coding-system): New variable.
245         (pgg-pgp-process-region): Use `binary-to-text-funcall' instead of
246         `binary-start-process-shell-command'.
247         (pgg-scheme-verify-region): Use `binary-write-decoded-region'
248         instead of `binary-write-region'.
249
250         * mime/pgg-gpg.el (pgg-gpg-process-region): Use
251         `binary-to-text-funcall' instead of `binary-start-process'.
252
253 2000-12-23  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
254
255         * mail/smtpmail.el (smtpmail-send-it): Use
256         `binary-write-decoded-region' instead of `binary-write-region'.
257
258         * mime/mmexternal.el (mmexternal-require-buffer): Use
259         `binary-insert-encoded-file' instead of
260         `binary-insert-file-contents'.
261         (mime-write-entity-body): Use `binary-write-decoded-region'
262         instead of `binary-write-region'.
263
264         * mime/mmbuffer.el (mime-write-entity-body): Use
265         `binary-write-decoded-region' instead of `binary-write-region'.
266
267         * mime/mel.el: - Don't require `raw-io'.
268         (8bit-insert-encoded-file): New function.
269         (8bit-write-decoded-region): New function.
270         (7bit-insert-encoded-file): New alias.
271         (7bit-write-decoded-region): New alias.
272         (binary-insert-encoded-file): New alias.
273         (binary-find-file-noselect): New function.
274         (binary-funcall): New function.
275         (binary-to-text-funcall): New function.
276         (mime-insert-encoded-file of "base64"): Use
277         `binary-insert-encoded-file' instead of
278         `binary-insert-file-contents'.
279
280         * mail/raw-io.el: Deleted.
281
282 2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
283
284         * mail/smtp.el (smtp-open-connection-function): Revert initial
285         value to `open-network-stream'.
286         (qmtp-open-connection): Use `binary-funcall'.
287
288         * mail/qmtp.el (qmtp-open-connection-function): Revert initial
289         value to `open-network-stream'.
290         (qmtp-send-buffer): Use `binary-funcall'.
291
292 2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
293
294         * mail/rmailsum.el (rmail-summary-toggle-header): Modify for MIME
295         mode.
296
297         * emacs-lisp/broken.el, emacs-lisp/static.el: Moved from poe/.
298
299 2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
300
301         * mime/pgg-gpg.el (pgg-gpg-process-region): Use
302         `pgg-gpg-messages-coding-system'.
303
304 2000-12-21  Tadashi Watanabe  <watanabe@sigmaitec.co.jp>
305
306         * mime/pgg-gpg.el (pgg-scheme-verify-region): Use a "-" as the
307         name for the file with the signed material.
308
309 2000-12-21   Daiki Ueno       <ueno@unixuser.org>
310
311         * mime/pgg-def.el (pgg-messages-coding-system): New user option.
312
313 2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
314
315         * mime/eword-decode.el (eword-decode-header): Revert to obsolete
316         alias.
317
318 2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
319
320         * mime/mmgeneric.el: Add comment for eword-decode.
321
322 2000-12-21   Daiki Ueno       <ueno@unixuser.org>
323
324         * mail/smtp.el (smtp-send-buffer): Add DOC.
325         (smtp-via-smtp): Add DOC.
326
327 2000-12-21  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
328
329         * mail/rmailsum.el (rmail-summary-scroll-msg-up): Rename local
330         variable `rmail-buffer-window' to `rmail-view-buffer-window'.
331         (rmail-summary-scroll-msg-down): Likewise; modify to work with
332         `rmail-view-buffer'.
333         (rmail-summary-beginning-of-message): Modify to work with
334         `rmail-view-buffer'.
335
336 2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
337
338         * poe/pym.el: Deleted.
339
340         * poe/product.el: Don't require `pym'.
341
342         * mime/mime-view.el: Don't use `static-cond'.
343
344 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
345
346         * mime/emh-face.el (emh-set-face-foreground): Use nil as variable
347         of `condition-case'.
348
349         * mime/emh-comp.el (emh-forward): Delete unused local variable
350         `msubtype'.
351
352 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
353
354         * mime/mime-edit.el
355         (mime-edit-mime-version-field-for-message/partial): Use
356         `mime-encode-field-body' instead of `eword-encode-field-body'.
357
358 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
359
360         * mime/mime-edit.el (mime-edit-translate-header): Use
361         `mime-encode-header-in-buffer' instead of `eword-encode-header'.
362         (mime-edit-encrypt-pgp-mime): Likewise.
363         (mime-edit-translate-single-part-tag): Likewise.
364
365 2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
366
367         * mime/mime.el (mime-entity-media-type): Add DOC.
368         (mime-entity-media-subtype): Add DOC.
369         (mime-entity-parameters): Add DOC.
370         (mime-entity-type/subtype): Add DOC.
371
372 2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
373
374         * mime/eword-encode.el (eword-encode-text): Specify `mode' of
375         `encoded-text-encode-string'.
376
377         * mime/mel.el (encoded-text-encode-string): Add optional argument
378         `mode'; use `base64-encode-string' directly for "B"-encoding.
379
380 2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
381
382         * mime/mime.el (mime-entity-set-content-type): Add DOC.
383         (mime-entity-set-encoding): Add DOC.
384
385         * mime/mime-def.el (mime-content-type-subtype): Fix DOC.
386         (mime-content-type-parameters): Fix DOC.
387
388 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
389
390         * mail/smtp.el (smtp-open-connection-function): Add autoload
391         cookie.
392
393         * mail/qmtp.el (qmtp-open-connection-function): Add autoload
394         cookie.
395
396         * mime/mime.el (mime-entity-children): Add DOC.
397         (mime-entity-node-id): Add DOC.
398         (mime-entity-content-type): Add DOC.
399         (mime-entity-content-disposition): Add DOC.
400         (mime-entity-encoding): Add DOC.
401
402 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
403
404         * mime/mime.el (mime-encode-field-body): Add autoload setting.
405
406         * mime/eword-encode.el (mime-encode-field-body): Renamed from
407         `eword-encode-field-body'; declare `eword-encode-field-body' as
408         obsolete alias.
409         (mime-encode-header-in-buffer): Use `mime-encode-field-body'
410         instead of `eword-encode-field-body'.
411
412 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
413
414         * mime/mime.el (mime-encode-header-in-buffer): Renamed from
415         `eword-encode-header'.
416
417         * mime/mime-def.el (mime-header): New group.
418         (mime-field-decoding-max-size): New user option [moved from
419         eword-decode.el].
420         (mime-field-encoding-method-alist): New user option [moved from
421         eword-encode.el].
422
423         * mime/eword-encode.el (eword-field-encoding-method-alist): Moved
424         to mime-def.el and renamed to `mime-field-encoding-method-alist'.
425         (mime-header-charset-encoding-alist): Renamed from
426         `eword-charset-encoding-alist'.
427         (mime-header-default-charset-encoding): New variable.
428         (ew-find-charset-rule): Use
429         `mime-header-default-charset-encoding'.
430         (eword-in-subject-p): Declare as obsolete function.
431         (mime-encode-header-in-buffer): Renamed from
432         `eword-encode-header'; declare `eword-encode-header' as obsolete
433         alias.
434
435         * mime/eword-decode.el (eword-max-size-to-decode): Moved to
436         mime-def.el and renamed to `mime-field-decoding-max-size'.
437         (mime-header-lexical-analyzer): Renamed from
438         `eword-lexical-analyzer'; switch to variable.
439
440 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
441
442         * mime/eword-encode.el (eword-encode-default-start-column): Switch
443         to variable.
444
445 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
446
447         * mail/raw-io.el (start-process): New function.
448         (binary-start-process-shell-command): New function.
449
450 2000-12-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
451
452         * mime/postpet.el: Require `mime'.
453
454         * mime/pgg-parse.el (pgg-format-key-identifier): Don't use
455         `string-to-int-list'.
456         (pgg-read-bytes): Likewise.
457         (pgg-read-body): Likewise.
458
459 2000-12-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
460
461         * mime/smime.el: Require `raw-io'.
462         (smime-process-region): Use `binary-start-process-shell-command'.
463
464         * mime/pgg-pgp5.el (pgg-pgp5-process-region): Use
465         `binary-start-process-shell-command'.
466
467         * mime/pgg-pgp.el (pgg-pgp-process-region): Use
468         `binary-start-process-shell-command'.
469
470         * mime/pgg-gpg.el (pgg-gpg-process-region): Use
471         `binary-start-process'.
472
473 2000-12-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
474
475         * mime/pgg-def.el: Require `custom' instead of `pcustom'.
476
477 2000-12-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
478
479         * mime/mel-g.el (gzip64-external-encode-region): Don't use
480         `as-binary-process'; comment out code to regularize line break
481         code for OS/2 [if it is needed, it is better to implement by
482         coding-system].
483         (gzip64-external-decode-region): Don't use `as-binary-process'.
484         (mime-write-decoded-region): Likewise.
485
486         * mime/mime-parse.el: Require `luna'.
487
488 2000-12-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
489
490         * mime/emh-def.el: New file.
491
492         * mime/emh.el (mh-display-msg): Use
493         `raw-text-insert-file-contents' instead of
494         `insert-file-contents-as-raw-text'; use
495         `mime-decode-header-in-buffer' instead of `eword-decode-header'.
496         (emh-request-partial-message): Use `raw-text-insert-file-contents'
497         instead of `insert-file-contents-as-raw-text'.
498
499         * mime/emh-face.el: Require `emh-def' and `std11'.
500
501         * mime/emh-comp.el: Require `emh-def'.
502         (emh-edit-again): Use `binary-insert-file-contents'; don't use
503         `as-binary-input-file'.
504
505 2000-12-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
506
507         * mime/emh-setup.el (emh-setup-mh-draft-setting): Use
508         `mime-decode-header-in-buffer' instead of `eword-decode-header'.
509
510 2000-12-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
511
512         * mime/eword-encode.el (eword-encode-divide-into-charset-words):
513         Use `aref' instead of `sref'.
514         (ew-encode-rword-1): Use `1+' instead of `char-next-index'.
515         (eword-encode-phrase-to-rword-list): Use `find-charset-string'
516         instead of `find-non-ascii-charset-string'.
517         (eword-encode-addr-seq-to-rword-list): Don't use `butlast'.
518         (eword-encode-header): Use `find-charset-region' instead of
519         `find-non-ascii-charset-string'.
520
521         * mime/mel.el: Require `raw-io'.
522
523         * mime/mime-def.el (binary-insert-file-contents): Moved to
524         raw-io.el.
525         (binary-write-region): Likewise.
526
527         * mime/mmbabyl.el (mime-write-entity): Use
528         `raw-message-write-region' instead of
529         `write-region-as-raw-text-CRLF'.
530
531         * mail/raw-io.el: New file.
532
533         * mail/smtpmail.el: - Require `raw-io'.
534         - Delete definition of obsolete variable aliases for XEmacs.
535         (smtpmail-send-queued-mail): Use `binary-find-file-noselect'
536         instead of `find-file-noselect-as-binary'.
537
538         * mail/smtp.el (smtp-open-connection-function): Use
539         `binary-open-network-stream' instead of `open-network-stream' as
540         initial value.
541         (smtp-open-connection): Don't guard as `binary'.
542
543         * mail/qmtp.el (qmtp-open-connection-function): Use
544         `binary-open-network-stream' instead of `open-network-stream' as
545         initial value.
546         (qmtp-send-buffer): Don't guard as `binary'.
547
548 2000-12-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
549
550         * mime/eword-decode.el: Don't use
551         `define-obsolete-function-alias'; so `eword-decode-header' is
552         deleted.
553
554         * mime/mmexternal.el: Don't require `pces'.
555
556 2000-12-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
557
558         * emacs-lisp/path-util.el, emacs-lisp/install.el: Don't require
559         `poe'.
560
561 2000-12-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
562
563         * mime/mel-q.el: Deleted.
564
565         * poe/broken.el: Don't require `poe'.
566
567         * mime/mime-view.el (mouse-button-3): Fix typo in setting for GNU
568         Emacs.
569
570         * mime/mime-def.el (char-int): New alias.
571
572         * mime/mcs-e20.el: - Don't require `poem'.
573         (find-coding-system): New inline function.
574         (coding-system-get): Deleted.
575         (mime-charset-list): Don't use `defun-maybe-cond'.
576         - Don't require `mcs-20'.
577
578         * mime/mcs-20.el: - Don't require `poem'.
579         - Require `custom' instead of `pcustom'.
580         - Require `mcs-xm' if XEmacs-Mule is running, otherwise require
581           `mcs-e20'.
582
583         * mime/mcharset.el: - Don't require `poe'.
584         - Require mcs-20 if XEmacs-Mule, Emacs 20.1 or later are running.
585
586         * mime/eword-encode.el (eword-encode-divide-into-charset-words):
587         Don't use `char-length' and `char-next-index'.
588
589         * emacs-lisp/mule-caesar.el: Don't require `emu', `poe' and
590         `poem'.
591
592         * emacs-lisp/filename.el: Don't require `emu', `poe' and `poem'.
593         (char-int): New alias.
594         (functionp): New function.
595         (filename-special-filter): Don't use `char-length'.
596
597 2000-12-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
598
599         * mime/smime.el (smime-process-region): Don't use
600         `as-binary-process'.
601         (smime-verify-region): Use `binary-write-region' instead of
602         `write-region-as-binary'; use `binary-insert-file-contents'
603         instead of `insert-file-contents-as-binary'.
604
605         * mime/semi-def.el: Don't require `poe'.
606
607         * mime/pgg-pgp5.el (pgg-pgp5-process-region): Don't use
608         `as-binary-process'.
609         (pgg-scheme-verify-region): Use `binary-write-region' instead of
610         `write-region-as-binary'.
611         (pgg-scheme-snarf-keys-region): Don't use
612         `write-region-as-raw-text-CRLF'.
613
614         * mime/pgg-pgp.el (pgg-pgp-process-region): Don't use
615         `as-binary-process'.
616         (pgg-scheme-verify-region): Use `binary-write-region' instead of
617         `write-region-as-binary'.
618         (pgg-scheme-snarf-keys-region): Don't use
619         `write-region-as-raw-text-CRLF'.
620
621         * mime/pgg-parse.el: Don't require `poem'; require `custom'
622         instead of `pcustom'.
623
624         * mime/pgg-gpg.el (pgg-gpg-process-region): Don't use
625         `as-binary-output-file' and
626         `insert-file-contents-as-raw-text-CRLF'.
627
628         * mime/mime-view.el: Don't require `emu'.
629         (mouse-button-3): New variable.
630
631         * mime/mime-play.el (mime-store-message/partial-piece): Use
632         `binary-insert-file-contents' instead of
633         `insert-file-contents-as-binary'; don't use
634         `as-binary-input-file'; use `binary-write-region' instead of
635         `write-region-as-binary'.
636
637 2000-12-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
638
639         * mime/mel.el: Don't require `path-util'.
640
641 2000-12-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
642
643         * mime/std11.el, mail/smtpmail.el, mime/mime-def.el: Don't require
644         `poe'.
645
646         * mime/mel.el: Don't require `poem'.
647
648 2000-12-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
649
650         * mime/mmexternal.el (mime-write-entity): Don't use
651         `write-region-as-raw-text-CRLF'.
652         (mmexternal-require-buffer): Use `binary-insert-file-contents'
653         instead of `insert-file-contents-as-binary'.
654         (mime-write-entity-body): Use `binary-write-region' instead of
655         `write-region-as-binary'.
656
657         * mail/smtpmail.el (smtpmail-send-it): Use `binary-write-region'
658         instead of `write-region-as-binary'.
659
660         * mail/smtp.el (smtp-open-connection): Don't use
661         `as-binary-process'.
662
663         * mime/mel.el (mime-insert-encoded-file of "base64"): Use
664         `binary-insert-file-contents' instead of
665         `insert-file-contents-as-binary'.
666         (mime-insert-encoded-file of "7bit"): Use
667         `binary-insert-file-contents' instead of
668         `insert-file-contents-as-binary'.
669         (mime-write-decoded-region of "7bit"): Use `binary-write-region'
670         instead of `write-region-as-binary'.
671
672         * mime/mmbuffer.el (mime-write-entity-body): Use
673         `binary-write-region' instead of `write-region-as-binary'.
674         (mime-write-entity): Don't use `write-region-as-raw-text-CRLF'.
675         
676         * mime/mime-def.el: Don't require `poem'.
677         (binary-insert-file-contents): New function.
678         (binary-write-region): New function.
679
680         * mime/mel-u.el (uuencode-external-encode-region): Don't use
681         `as-binary-process'.
682         (uuencode-external-decode-region): Don't use `as-binary-process'
683         and `as-binary-input-file'.
684         (mime-write-decoded-region): Don't use `as-binary-process'.
685
686         * mime/mel-q-ccl.el (quoted-printable-ccl-insert-encoded-file):
687         Don't use `insert-file-contents-as-coding-system'.
688         (quoted-printable-ccl-write-decoded-region): Don't use
689         `write-region-as-coding-system'.
690
691         * mime/mel-b-ccl.el (base64-ccl-insert-encoded-file): Don't use
692         `insert-file-contents-as-coding-system'.
693         (base64-ccl-write-decoded-region): Don't use
694         `write-region-as-coding-system'.
695
696         * mime/std11.el: Don't require `poem'.
697         (std11-parse-ascii-token): Don't use
698         `find-non-ascii-charset-string'.
699
700         * mail/qmtp.el: Don't require `poem'.
701         (qmtp-send-buffer): Don't use `as-binary-process'.
702
703 2000-12-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
704
705         * mime/mime-def.el, mail/qmtp.el, mail/smtp.el, mail/smtpmail.el,
706         mime/std11.el: Require `custom' instead of `pcustom'.
707
708 2000-12-12   Daiki Ueno  <ueno@unixuser.org>
709
710         * mail/sasl.el: Rewrite with luna.
711
712 2000-12-06   Daiki Ueno  <ueno@unixuser.org>
713
714         * mail/md5.el (md5-dl-module): Moved from md5-dl.el.
715         
716         * mail/sha1.el: Don't bind `sha1-string'.
717
718 2000-11-21   Daiki Ueno  <ueno@unixuser.org>
719
720         * mail/sasl.el (sasl-client-set-encoder): New function.
721         (sasl-client-set-decoder): New function.
722         (sasl-client-encoder): New function.
723         (sasl-client-decoder): New function.
724
725         * mail/sasl-digest.el: Require 'cl' when compiling.
726         (sasl-digest-md5-signing-encode-magic): New constant.
727         (sasl-digest-md5-signing-decode-magic): New constant.
728         (sasl-digest-md5-htonl-string): New function.
729         (sasl-digest-md5-make-integrity-encoder): New function.
730         (sasl-digest-md5-make-integrity-decoder): New function.
731         (sasl-digest-md5-ha1): New function.
732         (sasl-digest-md5-response-value): Accept the 1st argument `ha1'.
733         (sasl-digest-md5-response): Use `sasl-digest-md5-ha1'.
734         - Set integrity encoder and decoder of the client.
735
736         * mail/smtp.el: Require `luna'.
737         (smtp-read-response): Accept `smtp-connection' object rather than
738         process-object.
739         (smtp-send-command): Likewise.
740         (smtp-send-data): Likewise.
741
742 2000-12-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
743
744         * emacs-lisp/luna.el: Moved from mime/.
745
746 2000-12-13  Kenichi Handa     <handa@etl.go.jp>
747
748         * mime/mmbabyl.el, mime/luna.el: Fix and add DOCs and comments;
749         fix coding style.
750
751 2000-12-13  Kenichi Handa     <handa@etl.go.jp>
752
753         * emacs-lisp/alist.el: Fix and add DOCs and comments; fix coding
754         style.
755
756 2000-12-09  MORIOKA Tomohiko  <tomo@m17n.org>
757
758         * mime/mmbabyl.el (mime-insert-header): Ignore `invisible-fields'
759         and `visible-fields'.
760
761 2000-12-09  MORIOKA Tomohiko  <tomo@m17n.org>
762
763         * mime/mmbuffer.el (mmbuffer-parse-multipart): Add new optional
764         argument `representation-type'.
765         (mmbuffer-parse-encapsulated): Likewise.
766
767         * mime/mmbabyl.el: New file.
768
769 2000-12-07  MORIOKA Tomohiko  <tomo@m17n.org>
770
771         * mime/mmdbuffer.el: Deleted.
772
773         * mime/mmexternal.el: Must require `mmgeneric'.
774
775         * mime/mime-w3.el: Avoid error even if `w3' is not found.
776
777         * mail/md5-dl.el, mail/sha1-dl.el: Deleted.
778
779         * mail/sha1.el: Don't use `defun-maybe'.
780
781 2000-11-26  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
782
783         * mime/mime-view.el: Use `mime-conf' instead of `mailcap'.
784
785         * mime/mime-play.el (mime-activate-mailcap-method): Use
786         `mime-format-mailcap-command' instead of `mailcap-format-command'.
787
788 2000-10-19  Takanori Saneto  <sanewo@ba2.so-net.ne.jp>
789
790         * mime/pgg-pgp.el (pgg-pgp-process-region): bind
791         process-environment locally so that setenv's effect won't last
792         forever.
793
794         * mime/pgg-pgp5.el (pgg-pgp5-process-region): Ditto.
795
796 2000-09-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
797
798         * mime/mime-edit.el (mime-file-types): Fix to use
799         application/msword instead of application/winword.
800
801 2000-12-04   Daiki Ueno  <ueno@unixuser.org>
802
803         * mime/luna.el (luna-class-find-functions): Don't quote colon
804         keywords.
805         (luna-send): Ditto.
806         (luna-call-next-method): Ditto.
807
808 2000-11-28   Daiki Ueno  <ueno@unixuser.org>
809
810         * mime/luna.el: Don't require `static'.
811         (luna-define-class-function): Don't bind colon keywords.
812         (luna-class-find-functions): Quote colon keywords.
813         (luna-send): Likewise.
814         (luna-call-next-method): Likewise.
815
816 2000-11-12   Daiki Ueno  <ueno@unixuser.org>
817
818         * mime/luna.el (luna-define-method): Clear method cache.
819         (luna-apply-generic): New function.
820         (luna-define-generic): Use `luna-apply-generic' instead of
821         `luna-send'.
822
823 2000-12-04   Daiki Ueno  <ueno@unixuser.org>
824
825         * mail/smtpmail.el (smtpmail-send-it): Use `smtp-send-buffer'
826         instead of `smtp-via-smtp'.
827         (smtpmail-send-queued-mail): Ditto.
828
829 2000-11-24  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
830
831         * mime/mailcap.el: Completely rewrote to use mime-conf.el.
832
833         * mime/mime-conf.el: New file.
834
835 2000-11-16  Kenichi OKADA <okada@opaopa.org>
836
837         * mail/sasl-digest.el (sasl-digest-md5-response): Fix typo.
838
839 2000-11-12   Daiki Ueno  <ueno@unixuser.org>
840
841         * mail/smtp.el (smtp-primitive-data): Use `beginning-of-line'
842         instead of `forward-char'.
843         (smtp-read-response): Don't bind `case-fold-search'.
844         (smtp-send-data): Don't save excursion.
845
846 2000-11-10   Daiki Ueno  <ueno@unixuser.org>
847
848         * mail/sasl-digest.el (sasl-digest-md5-challenge): Abolish.
849         (sasl-digest-md5-syntax-table): Rename from
850         `sasl-digest-md5-parse-digest-challenge-syntax-table'.
851         (sasl-digest-md5-parse-string): Rename from
852         `sasl-digest-md5-parse-digest-challenge'; only return a property
853         list.
854         (sasl-digest-md5-challenge): Abolish.
855         (sasl-digest-md5-build-response-value-1): Abolish.
856         (sasl-digest-md5-response-value): Define as function.
857         (sasl-digest-md5-response): Rewrite.
858
859 2000-11-07   Kenichi OKADA  <okada@opaopa.org>
860
861         * mail/sasl.el (sasl-login-response-1): Fix.
862         (sasl-login-response-2): Fix.
863
864 2000-11-07   Daiki Ueno  <ueno@unixuser.org>
865
866         * mail/smtp.el (smtp-sasl-properties): New user option.
867         (smtp-sasl-user-realm): Abolish.
868
869 2000-11-05   Daiki Ueno  <ueno@unixuser.org>
870
871         * mail/qmtp.el (qmtp-send-package): Don't check "K" reply per
872         recipient.
873         (qmtp-via-smtp): Mark as obsolete.
874         (qmtp-send-buffer): New function.
875
876 2000-11-05   Daiki Ueno  <ueno@unixuser.org>
877
878         * mail/sasl.el (sasl-step-data): New function.
879         (sasl-step-set-data): New function.
880
881 2000-11-04   Daiki Ueno  <ueno@unixuser.org>
882
883         * mail/sasl.el: Don't require 'poe'
884         - Rename `sasl-*instantiator*' to `sasl-*client*'.
885         - Rename `sasl-*authenticator*' to `sasl-*mechanism*'.
886         - Rename `sasl-*continuations*' to `sasl-*steps*'.
887         (sasl-make-client): Accept 1st argument `mechanism'.
888         (sasl-next-step): Rename from `sasl-evaluate-challenge'.
889
890 2000-11-04   Daiki Ueno  <ueno@unixuser.org>
891
892         * mail/sasl.el (sasl-make-instantiator): Define as function.
893         (sasl-instantiator-name): Ditto.
894         (sasl-instantiator-service): Ditto.
895         (sasl-instantiator-server): Ditto.
896         (sasl-instantiator-set-properties): Ditto.
897         (sasl-instantiator-set-property): Ditto.
898         (sasl-instantiator-property): Ditto.
899         (sasl-instantiator-properties): Ditto.
900         (sasl-authenticator-mechanism): Ditto.
901         (sasl-authenticator-continuations): Ditto.
902
903 2000-11-02   Daiki Ueno  <ueno@unixuser.org>
904
905         * mail/sasl.el: Rename `sasl-*principal*' to
906         `sasl-*instantiator*'.
907         (sasl-make-instantiator): Abolish optional 4th argument.
908         (sasl-instantiator-set-properties): New function.
909         (sasl-instantiator-put-property): New function.
910         (sasl-instantiator-property): New function.
911         (sasl-instantiator-properties): New function.
912
913         * mail/smtp.el (smtp-sasl-user-name): Rename from
914         `smtp-sasl-principal-user'.
915         (smtp-sasl-user-realm): Rename from `smtp-sasl-principal-realm'.
916
917 2000-11-02   Daiki Ueno  <ueno@unixuser.org>
918
919         * mail/sasl.el (sasl-mechanisms): Add `LOGIN' and `ANONYMOUS'.
920         (sasl-mechanism-alist): Likewise.
921         (sasl-error): Define.
922         (sasl-login-continuations): New variable.
923         (sasl-login-response-1): New function.
924         (sasl-login-response-2): New function.
925         (sasl-anonymous-continuations): New variable.
926         (sasl-anonymous-response): New function.
927
928         * mail/smtp.el (smtp-error): Define.
929         (smtp-via-smtp): Use it.
930
931 2000-11-02   Daiki Ueno  <ueno@unixuser.org>
932
933         * mail/smtp.el (smtp-via-smtp): Mark as obsolete.
934         (smtp-send-buffer): Rename from `smtp-via-smtp'.
935
936 2000-11-02   Daiki Ueno  <ueno@unixuser.org>
937
938         * mail/sasl.el (sasl-make-authenticator): Allocate a freshly
939         generated symbol for each continuation.
940
941 2000-11-02   Daiki Ueno  <ueno@unixuser.org>
942
943         * mail/sasl-digest.el (sasl-digest-md5-response-1): Rename from
944         `sasl-digest-md5-digest-response'.
945         (sasl-digest-md5-response-2): New alias.
946         (sasl-digest-md5-parse-digest-challenge): Save excursion.
947
948         * mail/sasl.el (sasl-mechanism-alist): Rename from
949         `sasl-mechanisms'.
950         (sasl-mechanisms): New variable.
951         (sasl-find-authenticator): Check `sasl-mechanisms' rather than
952         `sasl-mechanism-alist'.
953
954         * mail/smtp.el (smtp-submit-package): Use `smtp-primitive-ehlo'.
955         (smtp-primitive-auth): Check authenticator.
956
957 2000-11-02   Daiki Ueno  <ueno@unixuser.org>
958
959         * mail/smtp.el (smtp-sasl-principal-realm): New user option.
960
961         * mail/sasl.el (sasl-plain-response): New function.
962         (sasl-mechanisms): Add `DIGEST-MD5' and `PLAIN'.
963         (sasl-unique-id-function): New variable.
964         (sasl-plain-continuations): New variable.
965         (sasl-unique-id): New function.
966         (sasl-unique-id-char): New variable.
967
968         * mail/sasl-digest.el: New file.
969
970 2000-11-01   Daiki Ueno  <ueno@unixuser.org>
971
972         * mail/smtp.el: Bind `sasl-mechanisms'; add autoload settings for
973         `sasl-make-principal', `sasl-find-authenticator',
974         `sasl-authenticator-mechanism-internal' and
975         `sasl-evaluate-challenge'.
976         (smtp-use-sasl): New user option.
977         (smtp-sasl-principal-name): New user option.
978         (smtp-sasl-mechanisms): New user option.
979         (smtp-submit-package): Call `smtp-primitive-starttls' and
980         `smtp-primitive-auth'.
981         (smtp-primitive-ehlo): Don't modify the rest of a extension line.
982         (smtp-primitive-auth): New function.
983         (smtp-primitive-starttls): Check the response code.
984
985         * mail/sasl.el: New implementation.
986
987         * mail/sasl-cram.el: New file.
988
989 2000-11-01   Daiki Ueno  <ueno@unixuser.org>
990
991         * mail/smtp.el: Add autoload settings for `starttls-open-stream'
992         and `starttls-negotiate'.
993         (smtp-connection-set-extensions-internal): New macro.
994         (smtp-connection-extensions-internal): New macro.
995         (smtp-make-connection): Set the `extension' slot to nil.
996         (smtp-primitive-ehlo): New function.
997         (smtp-submit-package): Rename from `smtp-commit'.
998         (smtp-submit-package-function): Rename from
999         `smtp-commit-function'.
1000         (smtp-primitive-starttls): New function.
1001         (smtp-extensions): New group.
1002         (smtp-use-8bitmime): New variable.
1003         (smtp-use-size): New variable.
1004         (smtp-use-starttls): New variable.
1005         (smtp-via-smtp): Bind `smtp-open-connection-function'.
1006
1007 2000-10-31   Daiki Ueno  <ueno@unixuser.org>
1008
1009         * mail/smtp.el: New implementation.
1010
1011 2000-08-16   Daiki Ueno  <ueno@unixuser.org>
1012
1013         * mail/qmtp.el: New file.
1014
1015 2000-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
1016
1017         * mime/eword-encode.el (eword-encode-mailboxes-to-rword-list): New
1018         inline function.
1019         (eword-encode-address-to-rword-list): Ditto.
1020         (eword-encode-addresses-to-rword-list): Use
1021         `eword-encode-address-to-rword-list' instead of
1022         `eword-encode-mailbox-to-rword-list'.
1023
1024         * mime/std11.el (std11-address-string): Fix for group list.
1025
1026 2000-08-12  MORIOKA Tomohiko  <tomo@m17n.org>
1027
1028         * mime/mime-edit.el (mime-edit-split-message-sender-alist): Add
1029         setting for `mail-mode'.
1030
1031         * mime/mcs-20.el (default-mime-charset): Use `x-unknown' as
1032         default value.
1033
1034         * mime/mcharset.el (default-mime-charset-for-write): Don't refer
1035         `default-mime-charset'.
1036
1037         * mail/sendmail.el (mail-setup-hook): Add `turn-on-mime-edit' into
1038         default value.
1039         (mail-send-hook): Add `mime-edit-maybe-translate' into default
1040         value.
1041
1042 2000-08-12  MORIOKA Tomohiko  <tomo@m17n.org>
1043
1044         * poe/poe.el (butlast): Use `defun' instead of `defun-maybe'.
1045         (nbutlast): Likewise.
1046
1047 2000-08-11  MORIOKA Tomohiko  <tomo@m17n.org>
1048
1049         * mime/mime-view.el (mime-display-text/plain): Display warning
1050         message when `mime-insert-text-content' fails.
1051
1052 2000-08-11  MORIOKA Tomohiko  <tomo@m17n.org>
1053
1054         * mime/mcharset.el, mime/mcs-20.el, mime/mcs-e20.el: Moved from
1055         emacs-lisp/.
1056
1057         * emacs-lisp/mcharset.el, emacs-lisp/mcs-20.el,
1058         emacs-lisp/mcs-e20.el: Moved to mime/.
1059
1060 2000-08-11  MORIOKA Tomohiko  <tomo@m17n.org>
1061
1062         * poe/poem-e20.el, poe/poem-e20_3.el, poe/poem.el, poe/product.el,
1063         poe/pym.el, poe/static.el, poe/apel-ver.el, poe/broken.el,
1064         poe/emu.el, poe/inv-19.el, poe/invisible.el, poe/pccl-20.el,
1065         poe/pccl.el, poe/pces-20.el, poe/pces-e20.el, poe/pces.el,
1066         poe/pcustom.el, poe/poe.el: Moved from emacs-lisp/.
1067
1068         * emacs-lisp/pccl-20.el, emacs-lisp/pccl.el,
1069         emacs-lisp/pces-20.el, emacs-lisp/pces-e20.el, emacs-lisp/pces.el,
1070         emacs-lisp/pcustom.el, emacs-lisp/poe.el, emacs-lisp/poem-e20.el,
1071         emacs-lisp/poem-e20_3.el, emacs-lisp/poem.el,
1072         emacs-lisp/product.el, emacs-lisp/pym.el, emacs-lisp/static.el,
1073         emacs-lisp/apel-ver.el, emacs-lisp/broken.el, emacs-lisp/emu.el,
1074         emacs-lisp/inv-19.el, emacs-lisp/invisible.el: Moved to poe/.
1075
1076 2000-07-11  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1077
1078         * mime/mime-pgp.el (mime-view-application/pgp): Setup local
1079         variable `mime-view-temp-message-buffer' of preview-buffer.
1080         (mime-view-application/pkcs7-mime): Likewise.
1081
1082         * mime/mime-play.el
1083         (mime-preview-quitting-method-for-mime-show-message-mode): Don't
1084         use `mime-entity-buffer'; refer `mime-view-temp-message-buffer'.
1085         (mime-store-message/partial-piece): Use
1086         `insert-file-contents-as-binary' instead of
1087         `(as-binary-input-file (insert-file-contents ...))'; use
1088         `write-region-as-binary' instead of
1089         `(as-binary-output-file (write-region ...)); setup local variable
1090         `mime-view-temp-message-buffer' of preview-buffer.
1091
1092 2000-06-23  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093
1094         * mime/mime-edit.el (mime-edit-preview-message): Set up local
1095         variable `mime-edit-temp-message-buffer'.
1096         (mime-edit-quitting-method): Refer `mime-edit-temp-message-buffer'
1097         to avoid to use `mime-entity-buffer'.
1098
1099 2000-06-21  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1100
1101         * mime/mime-view.el (mime-view-mode): Use
1102         `mime-entity-set-content-type' and `mime-entity-set-encoding'
1103         instead of `mime-entity-set-content-type-internal' and
1104         `mime-entity-set-encoding-internal'.
1105
1106         * mime/mime-w3.el (mime-preview-text/html): Use
1107         `mime-find-root-entity'.
1108
1109 2000-04-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1110
1111         * mime/mime-edit.el (mime-charset-type-list): Add `iso-2022-jp-3'.
1112
1113 2000-03-01  MORIOKA Tomohiko  <tomo@m17n.org>
1114
1115         * mime/mime-view.el (mime-view-define-keymap): Add new binding
1116         `mime-preview-show-header' for C-c C-v C-f and C-c C-v h; add new
1117         binding `mime-preview-show-content' for C-c C-v C-c; add new
1118         binding `mime-preview-hide-header' for C-c C-d C-f and C-c C-d h;
1119         add new binding `mime-preview-hide-content' for C-c C-d C-c.
1120         (mime-preview-toggle-display): New function.
1121         (mime-preview-toggle-header): Add new optional argument
1122         `force-visible'; use `mime-preview-toggle-display'.
1123         (mime-preview-toggle-content): Likewise.
1124         (mime-preview-show-header): New function.
1125         (mime-preview-show-content): New function.
1126         (mime-preview-hide-header): New function.
1127         (mime-preview-hide-content): New function.
1128
1129 2000-02-25  MORIOKA Tomohiko  <tomo@m17n.org>
1130
1131         * mime/mime-view.el (mime-situation-examples-file-coding-system):
1132         New variable.
1133         (mime-save-situation-examples): Use `with-temp-buffer'; try to
1134         save as `mime-situation-examples-file-coding-system'.
1135         - Use with-temp-buffer to load `mime-situation-examples-file';
1136         setup `mime-situation-examples-file-coding-system' when
1137         mime-situation-examples-file is loaded;
1138
1139 2000-02-25  MORIOKA Tomohiko  <tomo@m17n.org>
1140
1141         * mime/mime-view.el (mime-view-define-keymap): Change keybind for
1142         `mime-preview-toggle-header' to C-c C-t h and C-c C-t C-f.
1143
1144 2000-02-24  Mito              <mit@nines.nec.co.jp>
1145
1146         * mime/mime-edit.el (mime-edit-normalize-body): Fix number of
1147         arguments against enriched-encode.
1148
1149 2000-02-23  Daiki Ueno        <ueno@ueda.info.waseda.ac.jp>
1150
1151         * mime/mime-image.el (mime-image-normalize-xbm-buffer): New inline
1152         function.
1153         (mime-image-create) [XEmacs || Emacs21]: Use it for XBM data.
1154         (mime-display-image): Don't create temporary file.
1155
1156 2000-02-22  MORIOKA Tomohiko  <tomo@m17n.org>
1157
1158         * mime/mime-view.el (mime-delq-null-situation): Accept multiple
1159         ignored values.
1160         (mime-unify-situations): t is also regarded as an ignored-value.
1161         (mime-preview-follow-current-entity): Eliminate unused local
1162         variable `str'.
1163
1164 2000-02-22  MORIOKA Tomohiko  <tomo@m17n.org>
1165
1166         * mime/mime-play.el (mime-play-find-every-situations): Renamed
1167         from `mime-view-find-every-situations'.
1168
1169         * mime/mime-view.el (mime-view-find-every-situations): Moved to
1170         mime-play.el.
1171
1172 2000-02-22  MORIOKA Tomohiko  <tomo@m17n.org>
1173
1174         * mime/mime-play.el (mime-play-entity): Specify
1175         `mime-view-find-every-situations' as an optional argument
1176         `every-situations'.
1177
1178         * mime/mime-view.el (mime-unify-situations): Add new optional
1179         argument `every-situations'; use it instead of
1180         `mime-view-find-every-situations'.
1181         (mime-display-multipart/alternative): Modify `body' property
1182         instead of `body-presentation-method' property of
1183         preview-situation.
1184
1185         * mime/semi-setup.el: Use `eval-after-load' for text/html related
1186         setting.
1187
1188 2000-02-21   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
1189
1190         * mime/semi-def.el (mime-user-interface-product): Bump up to EMIKO
1191         1.13.12.
1192
1193         * mime/pgg.el (pgg-temp-buffer-show-function): Use
1194         `shrink-window-if-larger-than-buffer'.
1195
1196         * mime/pgg-gpg.el (pgg-gpg-process-region): Fix cleanup form.
1197
1198         * mime/pgg-pgp.el (pgg-pgp-process-region): Ditto.
1199
1200         * mime/pgg-pgp5.el (pgg-pgp5-process-region): Ditto.
1201
1202         * mime/semi-setup.el (mime-setup-enable-inline-image): Remove
1203         checking of bitmap-mule; use `eval-after-load' instead of
1204         `call-after-loaded' to require `mime-image'.
1205
1206         * mime/mime-image.el (mime-display-image): Set default umask to
1207         077.
1208         (mime-image-create): Use `nothing-image-instance-p'.
1209
1210         * mime/mime-pgp.el: When it is compiled, define
1211         `smime-output-buffer' and `smime-errors-buffer' to avoid compiler
1212         warning.
1213
1214         * mime/mime-edit.el: Ditto.
1215
1216         * mime/mime-pgp.el (mime-view-application/pkcs7-mime): Regard
1217         smime-type as "enveloped-data" unless it is specified.
1218
1219         * mime/smime.el (smime-directory-files): Abolish.
1220         (smime-verify-region): Abolish local variable `args'.
1221
1222 2000-02-20   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
1223
1224         * mime/mime-image.el: Remove X-Face setting; require cl when
1225         compiling.
1226         (mime-image-format-alist): Remove image/x-mag and image/x-pic.
1227         (mime-image-type-available-p): New function.
1228         (mime-image-create): New function.
1229         (mime-image-insert): New function.
1230         (mime-display-image): Rewrite.
1231
1232         * mime/mime-edit.el (mime-edit-define-charset): Handle
1233         'mime-charset-comment.
1234
1235 2000-02-18  MORIOKA Tomohiko  <tomo@m17n.org>
1236
1237         * mime/mime-view.el (mime-view-define-keymap): Change binding of
1238         `mime-preview-toggle-content' from C-c C-t C-b to C-c C-t C-c.
1239         (mime-preview-toggle-content): Renamed from
1240         `mime-preview-toggle-body'.
1241
1242 2000-02-17  MORIOKA Tomohiko  <tomo@m17n.org>
1243
1244         * mime/mime-view.el (mime-view-define-keymap): Add new binding
1245         `mime-preview-toggle-body' for C-c C-t C-b.
1246         (mime-preview-toggle-body): New command.
1247
1248         * mime/semi-def.el (mime-add-button): Don't use overlay.
1249
1250 2000-02-17  MORIOKA Tomohiko  <tomo@m17n.org>
1251
1252         * mime/mime-view.el (mime-preview-condition): Add default setting
1253         of multipart; declare body of message/partial, message/rfc822 and
1254         message/news are visible.
1255         (mime-display-entity): Check `*body' or `body' property of
1256         situation.
1257
1258 2000-02-17  MORIOKA Tomohiko  <tomo@m17n.org>
1259
1260         * mime/mime-view.el (mime-display-entity): Find
1261         `header-presentation-method' only if `header-is-visible'.
1262
1263 2000-02-10  MORIOKA Tomohiko  <tomo@m17n.org>
1264
1265         * mime/mime-view.el (mime-display-entity): Don't use
1266         `mime-goto-header-start-point'.
1267
1268 2000-02-10  MORIOKA Tomohiko  <tomo@m17n.org>
1269
1270         * mime/mime-view.el (mime-display-message): Use `major-mode' of
1271         current-buffer as default value of `original-major-mode'; don't
1272         use `mime-entity-header-buffer'.
1273         (mime-preview-follow-current-entity): Use `mime-insert-header' to
1274         insert header; don't use `mime-entity-header-buffer',
1275         `mime-entity-header-start-point' and
1276         `mime-entity-header-end-point'.
1277
1278 2000-02-10  MORIOKA Tomohiko  <tomo@m17n.org>
1279
1280         * mime/mime-view.el (mime-preview-follow-current-entity): Use
1281         `mime-view-entity-body' to find body.
1282
1283 2000-02-10  MORIOKA Tomohiko  <tomo@m17n.org>
1284
1285         * mime/mime-view.el (mime-preview-find-boundary-info): Fix problem
1286         when entity is in boundary of mother entity.
1287         (mime-preview-follow-current-entity): Check header information of
1288         `mime-view-situation' property.
1289
1290 2000-02-09  MORIOKA Tomohiko  <tomo@m17n.org>
1291
1292         * mime/mime-view.el (mime-preview-find-boundary-info): Use <last
1293         point> - 1 instead of <last point> to get `mime-view-entity'
1294         property.
1295
1296         * mime/mime-view.el (mime-preview-follow-current-entity): Fix
1297         problem in multipart entity.
1298
1299 2000-02-07  Yoshiki Hayashi  <yoshiki@xemacs.org>
1300
1301         * mime/mime-pgp.el: Fix doc string.
1302         * pgg-def.el: Ditto.
1303         * pgg-gpg.el: Ditto.
1304         * pgg-parse.el: Ditto.
1305         * pgg-pgp.el: Ditto.
1306         * pgg-pgp5.el: Ditto.
1307         * pgg.el: Ditto.
1308
1309 2000-08-10  MORIOKA Tomohiko  <tomo@m17n.org>
1310
1311         * mime/mmgeneric.el: Enclose definition of class `mime-entity' and
1312         its internal accessors by `eval-and-compile'.
1313
1314         * mime/luna.el: Define `luna-class-name' before it is used in
1315         macros.
1316
1317 2000-07-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1318
1319         * mime/mmexternal.el (initialize-instance): Deleted.
1320         (mmexternal-require-file-name): New function.
1321         (mmexternal-require-buffer): Use `mmexternal-require-file-name'.
1322
1323 2000-06-30  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1324
1325         * mime/mime.el (mime-entity-read-field): Fix a bug when FIELD-NAME
1326         is a string.
1327
1328 2000-06-23  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1329
1330         * mime/mmexternal.el (initialize-instance): New method.
1331         (mime-entity-name): Fixed.
1332         (mmexternal-require-buffer): New function.
1333         (mime-insert-entity): New implementation.
1334         (mime-write-entity): Likewise.
1335         (mime-entity-body): New method.
1336         (mime-insert-entity-body): New method.
1337         (mime-write-entity-body): New implementation.
1338         (mime-entity-content): Likewise.
1339         (mime-insert-entity-content): Likewise.
1340         (mime-write-entity-content): Likewise.
1341         (mime-entity-fetch-field): Likewise.
1342         (mime-insert-header): Likewise.
1343
1344         * mime/mmbuffer.el (initialize-instance): Store buffer instead of
1345         name of buffer to `buffer' slot.
1346
1347 2000-06-21  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1348
1349         * mime/mmgeneric.el (mime-entity-children): Deleted.
1350
1351         * mime/mmbuffer.el (mime-insert-entity-body): New method.
1352         (mmbuffer-parse-multipart): New function.
1353         (mmbuffer-parse-encapsulated): New function.
1354         (mime-entity-children): New function.
1355
1356 2000-06-21  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1357
1358         * mime/mime.el (mime-find-root-entity): New function.
1359         (mime-entity-header-buffer): Comment out.
1360         (mime-goto-header-start-point): Likewise.
1361         (mime-entity-header-start-point): Likewise.
1362         (mime-entity-header-end-point): Likewise.
1363         (mime-entity-body-buffer): Likewise.
1364         (mime-goto-body-start-point): Likewise.
1365         (mime-goto-body-end-point): Likewise.
1366         (mime-entity-body-start-point): Likewise.
1367         (mime-entity-body-end-point): Likewise.
1368         (mime-entity-body-start): Likewise.
1369         (mime-entity-body-end): Likewise.
1370         (mime-entity-buffer): Likewise.
1371         (mime-entity-point-min): Likewise.
1372         (mime-entity-point-max): Likewise.
1373         (mime-insert-entity-body): New generic function.
1374         (mime-entity-uu-filename): Use `mime-insert-entity-body'.
1375         (mime-entity-set-content-type): New function.
1376         (mime-entity-set-encoding): New function.
1377
1378         * mime/mime-parse.el (mime-parse-multipart): Comment out.
1379         (mime-parse-encapsulated): Likewise.
1380         (mime-parse-external): Likewise.
1381
1382         * mime/mmbuffer.el (mime-entity-header-buffer): Comment out.
1383         (mime-goto-header-start-point): Likewise.
1384         (mime-entity-header-start-point): Likewise.
1385         (mime-entity-header-end-point): Likewise.
1386         (mime-entity-body-buffer): Likewise.
1387         (mime-goto-body-start-point): Likewise.
1388         (mime-goto-body-end-point): Likewise.
1389         (mime-entity-body-start-point): Likewise.
1390         (mime-entity-body-end-point): Likewise.
1391         (mime-entity-buffer): Likewise.
1392         (mime-entity-point-min): Likewise.
1393         (mime-entity-point-max): Likewise.
1394
1395 2000-05-30  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1396
1397         * mime/eword-encode.el (eword-charset-encoding-alist): Add
1398         `iso-2022-jp-3'.
1399
1400 2000-05-09  Katsumi Yamaoka   <yamaoka@jpl.org>
1401
1402         * mail/smtp.el (smtp-deduce-address-list): Set `case-fold-search'
1403         to `t' in the working buffer.
1404
1405 2000-04-26  Yoshiki Hayashi  <yoshiki@xemacs.org>
1406
1407         * mime/mime.el (mime-entity-body): New function.
1408
1409         * mime/mmbuffer.el (mime-entity-body): Implement it.
1410
1411 2000-03-03  Keiichi Suzuki  <keiichi@nanap.org>
1412
1413         * mime/mime.el (mime-entity-node-id): Change to function.
1414
1415 2000-03-03  MORIOKA Tomohiko  <tomo@m17n.org>
1416
1417         * mime/mmdbuffer.el, mime/mmbuffer.el (initialize-instance): Don't
1418         setup `mime-message-structure'.
1419
1420         * mime/mime-parse.el (mime-parse-buffer): Don't setup
1421         `mime-message-structure'.
1422
1423 2000-03-02  MORIOKA Tomohiko  <tomo@m17n.org>
1424
1425         * mime/mmgeneric.el (mime-visible-field-p): Moved from
1426         mmbuffer.el.
1427         (mime-insert-header-from-buffer): Moved from mmbuffer.el.
1428
1429         * mime/mmexternal.el, mime/mmdbuffer.el, mime/mmbuffer.el
1430         (mime-visible-field-p): Moved to mmgeneric.el.
1431         (mime-insert-header-from-buffer): Moved to mmgeneric.el.
1432
1433 2000-03-02  MORIOKA Tomohiko  <tomo@m17n.org>
1434
1435         * mime/mmgeneric.el: New file.
1436
1437         * mime/mmbuffer.el: Require `mmgeneric'.
1438
1439         * mime/mime.el: Require `mmgeneric' when compiling.
1440
1441         * mime/mime-def.el: Move mime-entity related definitions to
1442         mmgeneric.el.
1443
1444 2000-03-01  MORIOKA Tomohiko  <tomo@m17n.org>
1445
1446         * mime/mime.el (mime-find-entity-from-number): Now second argument
1447         `message' is not an optional argument.
1448         (mime-find-entity-from-node-id): Likewise.
1449         (mime-find-entity-from-content-id): Likewise.
1450         (mime-fetch-field): Delete obsolete function.
1451         (mime-read-field): Likewise.
1452
1453 2000-03-01  MORIOKA Tomohiko  <tomo@m17n.org>
1454
1455         * mime/mime.el (mime-entity-header-buffer): Mark it as obsolete.
1456         (mime-goto-header-start-point): Likewise.
1457         (mime-entity-header-start-point): Likewise.
1458         (mime-entity-header-end-point): Likewise.
1459         (mime-entity-body-start): Use `defalias'; don't recommend to use
1460         `mime-entity-body-start-point' instead.
1461         (mime-entity-body-end): Use `defalias'; don't recommend to use
1462         `mime-entity-body-end-point' instead.
1463         (mime-entity-body-buffer): Mark it as obsolete.
1464         (mime-goto-body-start-point): Likewise.
1465         (mime-goto-body-end-point): Likewise.
1466         (mime-entity-body-start-point): Likewise.
1467         (mime-entity-body-end-point): Likewise.
1468         (mime-entity-buffer): Don't recommend to use
1469         `mime-entity-header-buffer' or `mime-entity-body-buffer' instead.
1470         (mime-entity-point-min): Don't recommend to use
1471         `mime-entity-header-start-point' instead.
1472         (mime-entity-point-max): Don't recommend to use
1473         `mime-entity-body-end-point' instead.
1474
1475         * mime/mime-def.el (mime-library-version): update to 1.14.1.
1476         - Add autoload setting for `mime-parse-external'.
1477
1478
1479 2000-08-10  MORIOKA Tomohiko  <tomo@m17n.org>
1480
1481         * emacs-lisp/poem-e20_3.el: Require `pym'.
1482
1483 2000-07-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1484
1485         * emacs-lisp/alist.el (vassoc): New function [to be compatible
1486         with XEmacs 21.2.32 or later].
1487
1488 2000-03-25  Mikio Nakajima  <minakaji@osaka.email.ne.jp>
1489
1490         * emacs-lisp/pym.el: Define edebug specs for `static-if',
1491         `static-when', `static-unless', `static-condition-case',
1492         `static-defconst' and `static-cond'.
1493
1494 2000-03-08  Akihiro Arisawa  <ari@atesoft.advantest.co.jp>
1495
1496         * emacs-lisp/poe.el (format-time-string): Fix problem when
1497         `format' contains "%d" or "%D".
1498
1499 2000-03-04   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
1500
1501         * emacs-lisp/poe.el (remassq,remassoc,remrassoc): Rewrite.
1502         (remrassq): New function.
1503
1504 2000-02-21  Makoto Nakagawa  <Makoto.Nakagawa@jp.compaq.com>
1505
1506         * emacs-lisp/poe.el (format-time-string): New function for Emacs
1507         19.28 and earlier.
1508         (format-time-month-list): New constant for `format-time-string'.
1509         (format-time-week-list): New constant for `format-time-string'.
1510
1511 2000-02-21   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
1512
1513         * emacs-lisp/poe.el (remassq): New function.
1514         (remassoc): New function.
1515         (remrassoc): New function.
1516         (get-buffer-window-list): New function.
1517         (save-selected-frame): New macro.
1518
1519 2000-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1520
1521         * emacs-lisp/poe.el (replace-match): Redefined to add `STRING'
1522         optional argument.
1523
1524 2000-02-05  MORIOKA Tomohiko  <tomo@m17n.org>
1525
1526         * emacs-lisp/mcs-20.el (mime-charset-coding-system-alist): Add
1527         `iso-2022-jp-3'.
1528
1529 2000-02-04  Katsumi Yamaoka   <yamaoka@jpl.org>
1530
1531         * emacs-lisp/poe.el (read-file-name): Replacement for Emacs 19.28
1532         and earlier
1533         (except for Emacs 18) or XEmacs 19.13 and earlier, for
1534         compatibility.
1535
1536 2000-02-04  Yuuichi Teranishi  <teranisi@gohome.org>
1537
1538         * emacs-lisp/timezone.el (timezone-floor): Eliminated.
1539         (timezone-fix-time-2): Use `floor' instead of `timezone-floor'.
1540
1541         * emacs-lisp/poe.el (completing-read): Redefined to adjust
1542         optional arguments for some emacsen.
1543
1544 2000-02-03  MORIOKA Tomohiko  <tomo@m17n.org>
1545
1546         * subdirs.el: Add `mime' directory.
1547
1548         * mime/emh-comp.el, mime/emh-face.el, mime/emh-setup.el,
1549         mime/emh.el, mime/eword-decode.el, mime/eword-encode.el,
1550         mime/luna.el, mime/mail-mime-setup.el, mime/mailcap.el,
1551         mime/mel-b-ccl.el, mime/mel-g.el, mime/mel-q-ccl.el,
1552         mime/mel-q.el, mime/mel-u.el, mime/mel.el, mime/mime-bbdb.el,
1553         mime/mime-def.el, mime/mime-edit.el, mime/mime-image.el,
1554         mime/mime-parse.el, mime/mime-partial.el, mime/mime-pgp.el,
1555         mime/mime-play.el, mime/mime-setup.el, mime/mime-view.el,
1556         mime/mime-w3.el, mime/mime.el, mime/mmbuffer.el, mime/mmcooked.el,
1557         mime/mmdbuffer.el, mime/mmexternal.el, mime/pgg-def.el,
1558         mime/pgg-gpg.el, mime/pgg-parse.el, mime/pgg-pgp.el,
1559         mime/pgg-pgp5.el, mime/pgg.el, mime/postpet.el, mime/semi-def.el,
1560         mime/semi-setup.el, mime/signature.el, mime/smime.el,
1561         mime/std11.el: New files.
1562
1563         * richtext.el: New file.
1564
1565         * mail/feedmail.el (feedmail-buffer-to-smtpmail): Use `smtp'
1566         instead of `smtpmail'.
1567
1568         * mail/smtpmail.el: Use `smtp'.
1569
1570         * mail/smtp.el: New file.
1571
1572         * emacs-lisp/alist.el, emacs-lisp/apel-ver.el,
1573         emacs-lisp/broken.el, emacs-lisp/calist.el, emacs-lisp/emu.el,
1574         emacs-lisp/filename.el, emacs-lisp/install.el,
1575         emacs-lisp/inv-19.el, emacs-lisp/invisible.el,
1576         emacs-lisp/mcharset.el, emacs-lisp/mcs-20.el,
1577         emacs-lisp/mcs-e20.el, emacs-lisp/mule-caesar.el,
1578         emacs-lisp/path-util.el, emacs-lisp/pccl-20.el,
1579         emacs-lisp/pccl.el, emacs-lisp/pces-20.el, emacs-lisp/pces-e20.el,
1580         emacs-lisp/pces.el, emacs-lisp/pcustom.el, emacs-lisp/poe.el,
1581         emacs-lisp/poem-e20.el, emacs-lisp/poem-e20_3.el,
1582         emacs-lisp/poem.el, emacs-lisp/product.el, emacs-lisp/pym.el,
1583         emacs-lisp/static.el: New files.
1584
1585 ;; Local Variables:
1586 ;; coding: iso-2022-7bit
1587 ;; End: