81891c3b5dec10207c9a512456d6b7e0871c4d82
[elisp/wanderlust.git] / elmo / ChangeLog
1 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-version.el (elmo-version): Up to 2.11.22.
4
5 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6
7         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
8
9 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
10
11         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
12         if the message dose not exist.
13
14 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
15
16         * elmo-version.el (elmo-version): Up to 2.11.21.
17
18 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
19
20         * modb-standard.el (toplevel): Don't require mime.
21
22 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
23
24         * elsp-bogofilter.el (toplevel): Don't require path-util.
25         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
26         (elmo-spam-bogofilter-header): Abolish.
27         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
28         (elmo-spam-bogofilter-args): New user option.
29         (elsp-bogofilter-call-bogofilter): New internal function.
30         (elmo-spam-buffer-spam-p): Use it.
31         (elsp-bogofilter-register-buffer): Renamed from
32         `elmo-spam-bogofilter-register-buffer';
33         Use `elsp-bogofilter-call-bogofilter'.
34         (elmo-spam-register-spam-buffer): Follow the change above.
35         (elmo-spam-register-good-buffer): Ditto.
36
37 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
38
39         * modb-standard.el (elmo-msgdb-append-entity): If entity or
40         message-id is nil do nothing.
41
42 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
43
44         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
45         Revival.
46         (elmo-imap4-session): Removed use-flag slot.
47         (elmo-imap4-session-select-mailbox): Undo last change.
48         (elmo-folder-use-flag-p): Use
49         elmo-imap4-disuse-server-flag-mailbox-regexp.
50
51 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
52
53         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
54         (elmo-imap4-session-select-mailbox): Set it up.
55         (elmo-folder-use-flag-p): Return value of use-flag slot.
56
57 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
58
59         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
60         message-id is nil.
61         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
62
63         * modb-entity.el (elmo-message-entity-handler): Likewise.
64
65 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
66
67         * elmo.el (toplevel): Remove setting of autoloding for
68         elmo-global-flag-initialize.
69         (elmo-init): Don't call elmo-global-flag-initialize.
70         (toplevel): Added autoload setting for elmo-global-mark-migrate.
71
72         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
73         (elmo-global-mark-migrate): Don't call it.
74         (elmo-global-mark-upgrade): Ditto.
75
76 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
77
78         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
79         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
80
81         * elmo-vars.el (elmo-init-hook): New user option.
82
83         * elmo.el (elmo-init): Run the elmo-init-hook.
84
85         * elmo-flag.el (elmo-global-mark-migrate): New function.
86
87 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
88
89         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
90         Undo last change (move to elmo-msgdb-unset-flag).
91         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
92         flag is unset.
93
94 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
95
96         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
97         read flag is set.
98         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
99         (elmo-msgdb-unset-flag): Ditto.
100
101 2003-11-05  Andreas Fuchs <asf@boinkor.net>
102
103         * elmo-split.el (elmo-split): Return split message count.
104
105 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
106
107         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
108         is nil.
109
110 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
111
112         * elmo.el (elmo-folder-unflag-important): Call
113         `elmo-global-flag-detach' with 4th argument delete-if-none that is
114         a symbol `always'.
115
116         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
117         before unset flag.
118         (elmo-global-flag-detach): Delete the message from flag folder, if
119         `delete-if-none' is a symbol `always'.
120
121 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
122
123         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
124         `elmo-spam-spamfilter-decode-buffer'.
125         (elsp-spamfilter-register-buffer-internal): New internal function.
126         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
127         (elmo-spam-register-spam-buffer): Ditto.
128         (elmo-spam-register-good-buffer): Ditto.
129
130         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
131         change.
132         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
133         (elmo-spam-register-spam-buffer): Follow the API change.
134         (elmo-spam-register-good-buffer): Ditto.
135
136         * elmo-split.el (toplevel): Require elmo-spam when copmile.
137         (elmo-split-spam-p): Added argument plist; Call
138         `elmo-spam-buffer-spam-p' with new argument register.
139
140         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
141         `register'.
142         (elmo-spam-message-spam-p): Ditto.
143         (elmo-spam-register-spam-buffer): Added optional argument
144         `restore'.
145         (elmo-spam-register-good-buffer): Ditto.
146         (elmo-spam-register-spam-messages): Ditto.
147         (elmo-spam-register-good-messages): Ditto.
148
149 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
150
151         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
152         register into good corpus.
153         (elmo-spam-register-good-buffer): Fixed to register into bad
154         corpus.
155
156 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
157
158         * elmo-version.el (elmo-version): Up to 2.11.20.
159
160         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
161         change.
162
163         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
164         flag without depending on \Recent flag.
165
166 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
167
168         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
169         (elmo-spam-modified-p): Defined.
170         (elmo-spam-save-status): Set `modified' slot to nil.
171         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
172         (elmo-spam-register-good-buffer): Ditto.
173
174         * elmo-spam.el (elmo-spam-modified-p): New API.
175
176 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
177
178         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
179         duplicate definition.
180
181         * elmo-util.el (elmo-unfold-field-body): New function.
182         (elmo-msgdb-get-message-id-from-buffer): Use it.
183
184         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
185         Fixed the last change; Use elmo-unfold-field-body.
186
187 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
188
189         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
190         Unfold date value.
191
192 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
193
194         * elmo-spam.el (elmo-spam-save-status): New API.
195
196         * elsp-spamfilter.el: New file.
197
198 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
199
200         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
201
202 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
203
204         * elmo-split.el (elmo-split-spam-p): New function.
205
206         * elmo-spam.el: New file.
207
208         * elsp-bogofilter.el: Ditto.
209
210 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
211
212         * elmo.el (elmo-folder-next-message-number): New API.
213         (elmo-folder-next-message-number): Define.
214         (elmo-message-field): Don't check folder length.
215
216         * elmo-net.el (elmo-folder-next-message-number): Define.
217         (elmo-folder-next-message-number-unplugged): Define.
218
219         * elmo-map.el (elmo-folder-next-message-number): Define.
220         (elmo-folder-delete-messages): Clear hash value.
221
222         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
223
224         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
225         (elmo-folder-delete-messages-dop-delayed): Always return t.
226
227         * elmo-version.el (elmo-version): Up to 2.11.19.
228
229 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
230
231         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
232         change.
233
234         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
235         identical cons cell into the mark-alist and the hash table.
236
237 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
238
239         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
240         elmo-folder-list-messages with argument `visible-only' as t.
241
242         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
243         (elmo-folder-msgdb-create): Check the target folder.
244
245 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
246
247         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
248         `permanentflag' instead of `flags'.
249         (elmo-folder-open): Ditto.
250         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
251         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
252         (elmo-folder-use-flag-p): Always return t.
253         (elmo-imap4-session-select-mailbox): Use value of `flags' if
254         `permanentflags' does not exist.
255         (elmo-folder-open): Ditto.
256
257 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
258
259         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
260         is nil.
261         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
262
263         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
264         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
265         response.
266         (elmo-folder-open): Ditto.
267         (elmo-imap4-set-flag): Send store flag command only when the `flags'
268         slot of the session includes the flag.
269         (elmo-imap4-session-flag-available-p): New function.
270         (elmo-imap4-folder-list-flagged): Ditto.
271         (elmo-folder-list-unreads-plugged): Use it.
272         (elmo-folder-list-importants-plugged): Ditto.
273         (elmo-folder-list-answereds-plugged): Ditto.
274         (elmo-imap4-search-internal-primitive): Ditto.
275         (elmo-imap4-folder-list-any-plugged,
276         elmo-imap4-folder-list-digest-plugged): Abolish.
277
278         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
279         if numbers is nil.
280
281 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
282
283         * elmo-util.el (toplevel): Require emu for char-list-to-string.
284
285 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
286
287         * elmo-util.el (elmo-get-hash-val): Simplify.
288         (elmo-set-hash-val): Rewrite.
289
290 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
291
292         * elmo.el (elmo-folder-list-messages): Append killed messages into
293         result if `visible-only' is nil and `in-msgdb' is non-nil.
294
295         * elmo-util.el (elmo-uniq-list): Added optional argument
296         `delete-function'.
297
298         * modb.el (elmo-msgdb-flag-count): New API.
299
300         * modb-standard.el (modb-standard): Added slot flag-count.
301         (modb-standard-countup-flags): New function.
302         (modb-standard-load-flag): Call it.
303         (elmo-msgdb-append): Ditto.
304         (elmo-msgdb-clear): Clear slot flag-count.
305         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
306         (elmo-msgdb-unset-flag): Treat `all' flag and call
307         modb-standard-countup-flags.
308         (elmo-msgdb-flag-count): Define.
309         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
310         (elmo-msgdb-delete-messages): Ditto.
311
312         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
313         (elmo-msgdb-flag-count): Define.
314
315         * elmo.el (elmo-folder-list-messages): Undo last change.
316         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
317         (elmo-folder-kill-messages): Unset all flags to numbers.
318
319         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
320         elmo-folder-kill-messages.
321
322         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
323         (elmo-nntp-folder-delete-messages): Abolish.
324
325         * elmo-version.el (elmo-version): Up to 2.11.18.
326
327 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
328
329         * elmo.el (elmo-folder-kill-messages-before): Abolish.
330         (elmo-folder-kill-messages-range): New function.
331         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
332         instead of elmo-folder-kill-messages-before.
333
334 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
335
336         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
337         elmo-imap4-current-msgdb to decide entity handler.
338
339 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
340
341         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
342
343         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
344         inline function.
345         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
346         (elmo-msgdb-overview-entity-set-number,
347         elmo-msgdb-overview-entity-get-references,
348         elmo-msgdb-overview-entity-set-references,
349         elmo-msgdb-overview-entity-get-from-no-decode,
350         elmo-msgdb-overview-entity-get-from,
351         elmo-msgdb-overview-entity-set-from,
352         elmo-msgdb-overview-entity-get-subject,
353         elmo-msgdb-overview-entity-get-subject-no-decode,
354         elmo-msgdb-overview-entity-set-subject,
355         elmo-msgdb-overview-entity-get-date,
356         elmo-msgdb-overview-entity-set-date,
357         elmo-msgdb-overview-entity-get-to,
358         elmo-msgdb-overview-entity-get-cc,
359         elmo-msgdb-overview-entity-get-size,
360         elmo-msgdb-overview-entity-set-size,
361         elmo-msgdb-overview-entity-get-extra,
362         elmo-msgdb-overview-entity-set-extra,
363         elmo-msgdb-overview-entity-get-extra-field,
364         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
365         (elmo-msgdb-make-index): Use
366         `elmo-msgdb-overview-entity-get-number-internal'.
367         (elmo-msgdb-clear-index): Ditto.
368         (elmo-msgdb-append-entity): Ditto;
369         Use `elmo-msgdb-overview-entity-get-id-internal'.
370
371         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
372         elmo-msgdb-overview-entity-set-number,
373         elmo-msgdb-overview-entity-get-references,
374         elmo-msgdb-overview-entity-set-references,
375         elmo-msgdb-overview-entity-get-from-no-decode,
376         elmo-msgdb-overview-entity-get-from,
377         elmo-msgdb-overview-entity-set-from,
378         elmo-msgdb-overview-entity-get-subject,
379         elmo-msgdb-overview-entity-get-subject-no-decode,
380         elmo-msgdb-overview-entity-set-subject,
381         elmo-msgdb-overview-entity-get-date,
382         elmo-msgdb-overview-entity-set-date,
383         elmo-msgdb-overview-entity-get-to,
384         elmo-msgdb-overview-entity-get-cc,
385         elmo-msgdb-overview-entity-get-size,
386         elmo-msgdb-overview-entity-set-size,
387         elmo-msgdb-overview-entity-get-extra,
388         elmo-msgdb-overview-entity-set-extra,
389         elmo-msgdb-overview-entity-get-extra-field,
390         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
391         and rewrote for backward compatibility.
392
393 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
394
395         * elmo.el (elmo-message-entity-number,
396         elmo-message-entity-set-number,
397         elmo-message-entity-field,
398         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
399
400         * elmo-msgdb.el (elmo-message-entity-number,
401         elmo-message-entity-set-number,
402         elmo-message-entity-field,
403         elmo-message-entity-set-field): Moved from elmo.el.
404
405 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
406
407         * elmo.el (toplevel): Changed definition orders.
408
409 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
410
411         * modb.el (elmo-msgdb-search): New API .
412         (elmo-msgdb-match-condition): Ditto.
413
414         * modb-standard.el (elmo-msgdb-search): Define.
415
416         * modb-legacy.el (elmo-msgdb-search): Ditto.
417
418         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
419         from elmo-msgdb-match-condition-internal.
420
421         * elmo.el (elmo-folder-search-fast): Abolish.
422         (elmo-folder-search): Use elmo-msgdb-search and
423         elmo-with-progress-display.
424
425         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
426         as msgdb API.
427
428         * elmo.el (elmo-folder): Remove slot message-modified and
429         flag-modified.
430         (elmo-folder-set-message-modified): Abolish.
431         (elmo-generic-folder-commit): Follow the change above.
432         (elmo-folder-synchronize): Ditto.
433
434         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
435
436         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
437
438         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
439
440 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
441
442         * modb-standard.el (modb-standard-make-message-entity,
443         elmo-msgdb-make-message-entity,
444         elmo-msgdb-create-message-entity-from-buffer,
445         elmo-msgdb-message-entity-number,
446         elmo-msgdb-message-entity-set-number,
447         elmo-msgdb-message-entity-field,
448         elmo-msgdb-message-entity-set-field,
449         elmo-msgdb-copy-message-entity,
450         elmo-msgdb-match-condition-internal): Remove.
451
452         * modb-entity.el: New file (again).
453
454         * modb.el (toplevel): Require modb-entity.
455         (elmo-msgdb-message-entity-handler): New method.
456
457         * modb-standard.el (modb-standard-entity-id): Use
458         elmo-message-entity-handler.
459         (modb-standard-load-entity): Ditto.
460         (elmo-msgdb-append-entity): Ditto.
461         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
462
463         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
464         elmo-msgdb-decoded-cache-hashtb,
465         (modb-legacy-make-message-entity,
466         elmo-msgdb-make-message-entity,
467         elmo-msgdb-create-message-entity-from-buffer,
468         elmo-msgdb-message-entity-number,
469         elmo-msgdb-message-entity-set-number,
470         elmo-msgdb-message-entity-field,
471         elmo-msgdb-message-entity-set-field,
472         elmo-msgdb-copy-message-entity,
473         elmo-msgdb-match-condition-internal,
474         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
475
476         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
477         (elmo-message-entity-set-number): Ditto.
478         (elmo-message-entity-field): Ditto.
479         (elmo-message-entity-set-field): Ditto.
480
481         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
482
483         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
484
485         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
486
487         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
488         (elmo-nntp-msgdb-create-message): Ditto.
489
490         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
491         (elmo-folder-msgdb-create): Add unread flag.
492
493         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
494
495         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
496
497         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
498
499         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
500
501         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
502         elmo-msgdb-messge-entity-handler.
503         * elmo-version.el (elmo-version): Up to 2.11.17.
504
505 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
506
507         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
508         change.
509
510 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
511
512         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
513
514         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
515         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
516         (elmo-msgdb-flag-table): Ditto.
517         (elmo-msgdb-sort-by-date): Ditto.
518
519         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
520
521         * modb-standard.el (toplevel): Require mime.
522         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
523         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
524         elmo-msgdb-message-entity-number.
525         (elmo-msgdb-append-entity): Ditto.
526         (elmo-msgdb-create-message-entity-from-file): Remove.
527         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
528         corresponds to the entity.
529         (elmo-msgdb-message-entity-number): Do nothing currently.
530         (elmo-msgdb-message-entity-field): Ditto.
531         (elmo-msgdb-message-entity-set-field): Ditto.
532         (elmo-msgdb-copy-message-entity): Ditto.
533         (elmo-msgdb-match-condition-internal): Ditto.
534
535         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
536         elmo-util.el.
537         (elmo-msgdb-create-message-entity-from-file): Remove.
538
539         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
540         modb-legacy.el.
541         (elmo-multiple-field-body): Moved from elmo-util.el.
542
543         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
544
545 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
546
547         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
548         (elmo-msgdb-message-entity-field): Ditto.
549         (elmo-msgdb-message-entity-number): Ditto.
550
551 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
552
553         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
554         Fixed how to set extra field into entity.
555         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
556         symbol.
557
558         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
559         Fixed how to set extra field into entity.
560         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
561         symbol.
562
563 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
564
565         * modb.el (elmo-message-entity-db): New function.
566         (elmo-msgdb-make-message-entity): New API.
567         (elmo-msgdb-message-entity-number): Ditto.
568         (elmo-msgdb-message-entity-set-number): Ditto.
569         (elmo-msgdb-message-entity-field): Ditto.
570         (elmo-msgdb-message-entity-set-field): Ditto.
571         (elmo-msgdb-copy-message-entity): Ditto.
572         (elmo-msgdb-create-message-entity-from-file): Ditto.
573         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
574         (elmo-msgdb-match-condition-internal): Ditto.
575
576         * modb-standard.el (modb-legacy): Require modb-legacy.
577         (modb-standard-make-message-entity): New inline function.
578         (elmo-msgdb-make-message-entity): Define.
579         (elmo-msgdb-create-message-entity-from-file): Ditto.
580         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
581         (elmo-msgdb-message-entity-field): Ditto.
582         (elmo-msgdb-message-entity-set-field): Ditto.
583         (elmo-msgdb-copy-message-entity): Ditto.
584         (elmo-msgdb-match-condition-internal): Ditto.
585
586         * modb-legacy.el: Don't require modb-entity.
587         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
588         (elmo-msgdb-match-condition-primitive): Ditto.
589         (elmo-msgdb-get-decoded-cache): Ditto.
590         (elmo-msgdb-overview-entity-get-id): Ditto.
591         (elmo-msgdb-overview-entity-get-number): Ditto.
592         (elmo-msgdb-overview-entity-set-number): Ditto.
593         (elmo-msgdb-overview-entity-get-references): Ditto.
594         (elmo-msgdb-overview-entity-set-references): Ditto.
595         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
596         (elmo-msgdb-overview-entity-get-from): Ditto.
597         (elmo-msgdb-overview-entity-set-from): Ditto.
598         (elmo-msgdb-overview-entity-get-subject): Ditto.
599         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
600         (elmo-msgdb-overview-entity-set-subject): Ditto.
601         (elmo-msgdb-overview-entity-get-date): Ditto.
602         (elmo-msgdb-overview-entity-set-date): Ditto.
603         (elmo-msgdb-overview-entity-get-to): Ditto.
604         (elmo-msgdb-overview-entity-get-cc): Ditto.
605         (elmo-msgdb-overview-entity-get-size): Ditto.
606         (elmo-msgdb-overview-entity-set-size): Ditto.
607         (elmo-msgdb-overview-entity-get-extra): Ditto.
608         (elmo-msgdb-overview-entity-set-extra): Ditto.
609         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
610         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
611         (elmo-msgdb-number-load): Ditto.
612         (elmo-msgdb-overview-load): Ditto.
613         (elmo-msgdb-mark-load): Ditto.
614         (elmo-msgdb-number-save): Ditto.
615         (elmo-msgdb-mark-save): Ditto.
616         (elmo-msgdb-overview-save): Ditto.
617         (modb-legacy-make-message-entity): New inline function.
618         (elmo-msgdb-insert-file-header): Ditto.
619         (elmo-msgdb-make-message-entity): Define.
620         (elmo-msgdb-create-message-entity-from-file): Ditto.
621         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
622         (elmo-msgdb-message-entity-number): Ditto.
623         (elmo-msgdb-message-entity-set-number): Ditto.
624         (elmo-msgdb-message-entity-field): Ditto.
625         (elmo-msgdb-message-entity-set-field): Ditto.
626         (elmo-msgdb-copy-message-entity): Ditto.
627         (elmo-msgdb-match-condition-internal): Ditto.
628
629         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
630         (elmo-message-copy-entity): Rewrite.
631         (elmo-message-entity-number): Ditto.
632         (elmo-message-entity-set-number): Ditto.
633         (elmo-message-entity-field): Use elmo-message-entity-db.
634         (elmo-message-entity-set-field): Ditto.
635         (elmo-message-field): Rewrite.
636
637         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
638         elmo-msgdb.el
639         (elmo-msgdb-get-message-id-from-buffer): Ditto.
640
641         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
642         elmo-message-entity-field.
643         (elmo-shimbun-folder-shimbun-header): Ditto.
644         (elmo-shimbun-entity-to-header): Ditto.
645         (elmo-folder-msgdb-create): Ditto.
646         (elmo-shimbun-msgdb-create-entity): Ditto;
647         Use elmo-msgdb-create-message-entity-from-buffer.
648         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
649         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
650
651         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
652         elmo-msgdb-create-message-entity-from-file and 
653         elmo-message-entity-field.
654
655         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
656         elmo-message-entity-number.
657         (elmo-pop3-msgdb-create-message): Use
658         elmo-msgdb-create-message-entity-from-buffer,
659         elmo-message-entity-set-field, elmo-message-entity-number and
660         elmo-message-entity-set-number.
661
662         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
663         the API change in elmo-msgdb-make-message-entity.
664         (elmo-nntp-msgdb-create-message): Use
665         elmo-msgdb-create-message-entity-from-buffer.
666
667         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
668         elmo-message-entity-field and
669         elmo-msgdb-create-message-entity-from-file.
670
671         * elmo-msgdb.el (toplevel): Don't require modb-entity.
672         (elmo-msgdb-get-field): Abolish.
673         (elmo-msgdb-get-number): Rewrite.
674         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
675         (elmo-msgdb-flag-table): Ditto.
676         (elmo-msgdb-get-last-message-id,
677         elmo-msgdb-number-load, elmo-msgdb-overview-load,
678         elmo-msgdb-mark-load, elmo-msgdb-number-save,
679         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
680         (elmo-msgdb-create-overview-from-buffer,
681         elmo-msgdb-overview-get-parent-entity): Abolish.
682
683         * elmo-mime.el (elmo-mime-display-as-is): Use
684         elmo-message-entity-field.
685
686         * elmo-map.el (elmo-folder-pack-numbers): Use
687         elmo-message-entity-set-number.
688
689         * elmo-maildir.el (elmo-folder-msgdb-create): 
690         elmo-msgdb-create-message-entity-from-file instead of
691         elmo-msgdb-create-overview-entity-from-file.
692
693         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
694         msgdb.
695         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
696         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
697
698         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
699         elmo-messge-entity-field and elmo-message-entity-number.
700         (elmo-imap4-fetch-callback-1): Call
701         elmo-msgdb-create-message-entity-from-buffer instead of
702         elmo-msgdb-create-overview-from-buffer. 
703         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
704         (elmo-find-fetch-strategy): Likewise.
705
706         * elmo-flag.el (elmo-folder-msgdb-create): Call 
707         elmo-localdir-msgdb-create-entity with argument msgdb.
708
709         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
710         and elmo-message-entity-set-number.
711
712         * elmo-cache.el (elmo-folder-msgdb-create): Use
713         elmo-message-entity-field.
714         (elmo-folder-msgdb-create): Call
715         elmo-msgdb-create-message-entity-from-file instead of
716         elmo-msgdb-create-overview-entity-from-file.
717
718         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
719         argument msgdb; Call elmo-msgdb-create-message-from-buffer
720         instead of elmo-msgdb-create-overview-from-buffer.
721         (elmo-archive-msgdb-create-entity): Ditto.
722         (elmo-archive-msgdb-create-as-numlist-subr1): Use
723         elmo-message-entity-field.
724         (elmo-archive-parse-mmdf): Ditto.
725
726         * modb-entity.el: Removed.
727
728         * elmo-version.el (elmo-version): Up to 2.11.16.
729
730 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
731
732         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
733         `is-local'.
734         (elmo-folder-flag-as-answered): Ditto.
735
736 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
737
738         * modb-standard.el: New file.
739
740         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
741         elmo-msgdb-convert-type is `sync'.
742
743         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
744         (elmo-msgdb-convert-type): New user option.
745
746         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
747         (elmo-load-msgdb): Auto detect saved type.
748
749         * elmo-version.el (elmo-version): Up to 2.11.15.
750
751 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
752
753         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
754
755         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
756         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
757         with argument `delete-if-none' when dst-folder is 'null.
758
759         * elmo-flag.el (elmo-folder-append-messages): Defined.
760         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
761
762 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
763
764         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
765
766 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
767
768         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
769         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
770         (elmo-folder-commit): Ditto.
771
772 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
773
774         * elmo-flag.el: New file.
775
776         * elmo-mark.el: Removed.
777
778         * modb-legacy.el (modb-legacy-new-mark,
779         modb-legacy-unread-uncached-mark,
780         modb-legacy-unread-cached-mark,
781         modb-legacy-read-uncached-mark,
782         modb-legacy-answered-cached-mark,
783         modb-legacy-answered-uncached-mark,
784         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
785         All other related portions are changed.
786
787         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
788         (elmo-folder-list-messages-with-global-mark): Abolish.
789         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
790         (elmo-folder-flag-as-important): Ditto.
791         (elmo-folder-unflag-read): Ditto.
792         (elmo-folder-flag-as-read): Ditto.
793         (elmo-folder-unflag-answered): Ditto.
794         (elmo-folder-flag-as-answered): Ditto.
795         (elmo-message-encache): Return the cache path.
796         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
797         (elmo-message-set-flag): Transitional implementation.
798         (elmo-message-unset-flag): Ditto.
799         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
800         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
801         (elmo-init): Call elmo-global-flag-initialize.
802         (toplevel): Added autoload settings for elmo-flag.
803
804         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
805
806         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
807         (elmo-file-cache-delete): Don't treat global-mark.
808
809         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
810
811         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
812
813         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
814         `elmo-global-flags-set'.
815
816         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
817         `flag'.
818         (elmo-folder-unflag-read): Ditto.
819         (elmo-folder-unflag-important): Ditto.
820         (elmo-folder-flag-as-important): Ditto.
821         (elmo-folder-unflag-answered): Ditto.
822         (elmo-folder-flag-as-answered): Ditto.
823
824         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
825         `elmo-global-flags-set'.
826         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
827
828         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
829
830         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
831         `flag'.
832         (elmo-folder-flag-as-important): Ditto.
833         (elmo-folder-unflag-important): Ditto.
834         (elmo-folder-flag-as-important): Ditto.
835         (elmo-folder-unflag-read): Ditto.
836         (elmo-folder-flag-as-read): Ditto.
837         (elmo-folder-unflag-answered): Ditto.
838         (elmo-folder-flag-as-answered): Ditto.
839
840         * elmo-multi.el (elmo-folder-list-importants): Don't call
841         elmo-folder-list-messages-with-global-mark.
842         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
843         (elmo-folder-unflag-important): Ditto.
844         (elmo-folder-flag-as-read): Ditto.
845         (elmo-folder-unflag-read): Ditto.
846         (elmo-folder-flag-as-answered): Ditto.
847         (elmo-folder-unflag-answered): Ditto.
848
849         * elmo-msgdb.el (elmo-msgdb-new-mark,
850         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
851         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
852         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
853         (Moved to modb-legacy.el).
854         (elmo-flag-table-get): Treat important flag too.
855
856         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
857         `mark' to `flag'.
858         (elmo-map-folder-flag-as-important): Ditto.
859         (elmo-map-folder-unflag-read): Ditto.
860         (elmo-map-folder-flag-as-read): Ditto.
861         (elmo-map-folder-unflag-answered): Ditto.
862         (elmo-map-folder-flag-as-answered): Ditto.
863         (elmo-folder-unflag-important): Ditto.
864         (elmo-folder-flag-as-important): Ditto.
865         (elmo-folder-unflag-read): Ditto.
866         (elmo-folder-flag-as-read): Ditto.
867         (elmo-folder-unflag-answered): Ditto.
868         (elmo-folder-flag-as-answered): Ditto.
869
870         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
871         (elmo-map-folder-flag-as-important): Renamed from `mark' to
872         `flag'.
873         (elmo-map-folder-unflag-important): Ditto.
874         (elmo-map-folder-flag-as-read): Ditto.
875         (elmo-map-folder-unflag-read): Ditto.
876         (elmo-map-folder-flag-as-answered): Ditto.
877         (elmo-map-folder-unflag-answered): Ditto.
878
879         * elmo-localdir.el (elmo-folder-msgdb-create): Call
880         `elmo-global-flags-set'.
881         (elmo-global-flags-set): Added autoload setting.
882
883         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
884         `flag'.
885
886         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
887         `elmo-msgdb-global-mark-set'.
888         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
889         Call `elmo-global-flags-set'.
890         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
891         `flag'.
892         (elmo-folder-flag-as-important-plugged): Ditto.
893         (elmo-folder-unflag-read-plugged): Ditto.
894         (elmo-folder-flag-as-read-plugged): Ditto.
895         (elmo-folder-unflag-answered-plugged): Ditto.
896         (elmo-folder-flag-as-answered-plugged): Ditto.
897         (elmo-global-flags-set): Added autoload setting.
898
899         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
900         `flag'.
901         (elmo-folder-unflag-read): Ditto.
902         (elmo-folder-flag-as-important): Ditto.
903         (elmo-folder-unflag-important): Ditto.
904         (elmo-folder-flag-as-answered): Ditto.
905         (elmo-folder-unflag-answered): Ditto.
906
907         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
908         change of `mark'->`flag'.
909         (elmo-dop-queue-method-name-alist): Ditto.
910         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
911         (elmo-folder-unflag-read-dop): Ditto.
912         (elmo-folder-flag-as-important-dop): Ditto.
913         (elmo-folder-unflag-important-dop): Ditto.
914         (elmo-folder-flag-as-answered-dop): Ditto.
915         (elmo-folder-unflag-answered-dop): Ditto.
916
917         * elmo-cache.el (elmo-folder-msgdb-create): Call
918         `elmo-global-flags-set'.
919
920         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
921         Call `elmo-global-flags-set'.
922         (elmo-archive-msgdb-create-as-numlist-subr2): Call
923         elmo-archive-parse-mmdf with argument `folder'.
924         (elmo-archive-parse-mmdf): Added argument `folder';
925         Call `elmo-global-flags-set'.
926
927         * elmo-version.el (elmo-version): Up to 2.11.14.
928
929 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
930
931         * modb.el (elmo-msgdb-length): Define.
932
933         * elmo.el (elmo-make-folder): Fixed.
934         (elmo-generic-folder-append-messages): Follow the API change.
935
936         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
937         API change.
938
939 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
940
941         * modb.el: New file.
942
943         * modb-entity.el: Ditto.
944
945         * modb-legacy.el: Ditto.
946
947         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
948         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
949         of `elmo-msgdb-overview-get-entity'.
950         (elmo-msgdb-get-field): Ditto.
951         (elmo-msgdb-merge): Moved to `elmo.el'.
952         (elmo-msgdb-length): Removed; redefine as modb method.
953         (elmo-msgdb-change-mark): Abolish.
954         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
955         (elmo-msgdb-match-condition): Don't use mark.
956         (elmo-msgdb-overview-get-entity): Abolish.
957         Split modb part into `modb*.el'.
958
959         * elmo-vars.el (elmo-msgdb-default-type): New user option.
960
961         * elmo-shimbun.el (shimbun-mua-search-id): Use
962         `elmo-msgdb-message-entity' instead of
963         `elmo-msgdb-overview-get-entity'.
964         (elmo-shimbun-folder-shimbun-header): Ditto.
965         (elmo-shimbun-get-headers): Ditto.
966         (elmo-shimbun-update-overview): Ditto.
967
968         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
969
970         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
971
972         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
973         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
974
975         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
976         `elmo-msgdb-mark-to-flags'.
977
978         * elmo-map.el (elmo-folder-pack-numbers): Don't use
979         `elmo-msgdb-set-path'.
980
981         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
982  
983         * elmo-version.el (elmo-version): Up to 2.11.13.
984
985         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
986
987         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
988         of mark.
989
990 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
991
992         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
993         mismatch.
994
995 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
996
997         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
998         instead of `elmo-msgdb-get-cached'.
999         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
1000
1001         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
1002         (elmo-msgdb-set-cached): Ditto.
1003         (elmo-msgdb-set-flag): Rewrite.
1004         (elmo-msgdb-unset-flag): Ditto.
1005
1006         * elmo-msgdb.el: Rewrite with luna.
1007
1008         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
1009         (elmo-folder-msgdb): Follow the change above.
1010         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
1011         (elmo-folder-unmark-important): Follow the API change.
1012         (elmo-folder-mark-as-important): Ditto.
1013         (elmo-folder-unmark-read): Ditto.
1014         (elmo-folder-mark-as-read): Ditto.
1015         (elmo-folder-unmark-answered): Ditto.
1016         (elmo-folder-mark-as-answered): Ditto.
1017         (elmo-folder-clear): Likewise.
1018
1019         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
1020         instead of `elmo-msgdb-load' (renamed).
1021
1022         * elmo-version.el (elmo-version): Up to 2.11.12.
1023
1024 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1025
1026         * elmo.el (elmo-generic-folder-append-messages): Follow the API
1027         change.
1028         (elmo-message-mark): Abolish.
1029         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
1030         instead of `elmo-msgdb-change-mark'.
1031
1032         * elmo-pipe.el (elmo-message-mark): Abolish.
1033
1034         * elmo-multi.el (elmo-message-mark): Ditto.
1035
1036         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
1037         (elmo-msgdb-unread-uncached-mark): Ditto.
1038         (elmo-msgdb-unread-cached-mark): Ditto.
1039         (elmo-msgdb-read-uncached-mark): Ditto.
1040         (elmo-msgdb-answered-cached-mark): Ditto.
1041         (elmo-msgdb-answered-uncached-mark): Ditto.
1042         (elmo-msgdb-important-mark): Ditto.
1043         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
1044         `use-cache'.
1045         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
1046         `flags'.
1047         (elmo-flag-table-load): Changed flag to list of flag.
1048         (elmo-flag-table-set): If flags is nil, set read flag.
1049         (elmo-flag-table-get): Return derived flags from global mark,
1050         cache status and saved flags.
1051         (elmo-msgdb-flag-table): Follow the change above.
1052         (elmo-msgdb-out-of-date-messages): New function.
1053
1054         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
1055
1056         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1057
1058         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1059
1060         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
1061         (elmo-nntp-msgdb-create-message): Ditto.
1062
1063         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1064
1065         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
1066         independent.
1067         (elmo-folder-msgdb-create): Follow the API change.
1068
1069         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1070         (elmo-folder-append-messages): Ditto.
1071
1072         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1073         (elmo-folder-append-buffer): Ditto.
1074
1075         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1076
1077         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1078
1079         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
1080         (elmo-archive-parse-mmdf): Ditto.
1081
1082         * elmo-version.el (elmo-version): Up to 2.11.11.
1083
1084 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1085
1086         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
1087         `elmo-msgdb-mark'.
1088
1089         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
1090
1091         * elmo-pipe.el (elmo-message-flags): Defined.
1092
1093         * elmo-multi.el (elmo-message-flags): Ditto.
1094
1095 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1096
1097         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
1098         `elmo-msgdb-delete-msgs'.
1099
1100         * elmo.el (elmo-folder-count-flags): Don't use
1101         `elmo-msgdb-get-mark-alist'.
1102         (elmo-folder-detach-messages): Follow the API change.
1103
1104         * elmo.el (elmo-folder-list-messages): Append killed messages into
1105         result if `visible-only' is nil.
1106
1107         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
1108         canceled messages.
1109         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
1110         (elmo-folder-update-number): Likewise.
1111
1112         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
1113         (elmo-pop3-sort-msgdb-by-original-number): Use
1114         `elmo-msgdb-sort-entities'.
1115
1116         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
1117         (elmo-msgdb-sort-by-date): Use it.
1118         (elmo-msgdb-overview-sort-by-date): Abolish.
1119
1120         * elmo-dop.el (elmo-folder-status-dop): Fixed.
1121
1122         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
1123         (elmo-msgdb-flags): New function.
1124         (elmo-msgdb-merge): Use elmo-msgdb-append.
1125
1126         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
1127         change.
1128
1129         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1130
1131         * elmo-dop.el (elmo-folder-status-dop): Use
1132         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
1133
1134 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1135
1136         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
1137
1138         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
1139
1140         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
1141
1142         * elmo-util.el (elmo-with-progress-display): New macro.
1143
1144         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
1145
1146 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1147
1148         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
1149         `elmo-folder-list-message-entities' instead of
1150         `elmo-msgdb-get-overview'.
1151         (elmo-map-folder-list-message-locations): Ditto.
1152
1153         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
1154         methods instead of treat directly).
1155         (elmo-msgdb-clear): Ditto.
1156         (elmo-msgdb-delete-msgs): Ditto.
1157         (elmo-msgdb-sort-by-date): Ditto.
1158
1159         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
1160         local variables.
1161         (elmo-nntp-folder-msgdb-create): Follow the API change.
1162
1163         * elmo-version.el (elmo-version): Up to 2.11.10.
1164
1165 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1166
1167         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
1168         (elmo-msgdb-flags-to-mark): Ditto.
1169         (elmo-msgdb-append-entity): Ditto.
1170
1171         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
1172         Use `elmo-msgdb-append-entity' instead of construct msgdb.
1173         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
1174         (elmo-archive-parse-mmdf): Ditto.
1175
1176         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1177
1178         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1179
1180         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1181
1182         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
1183
1184         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
1185
1186         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
1187
1188         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1189
1190         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1191
1192         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1193         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
1194         to empty msgdb.
1195
1196         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
1197         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
1198         instead of directly construction.
1199         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
1200         instead of construct msgdb.
1201
1202         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
1203         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
1204         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
1205         instead of construct msgdb.
1206
1207 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
1210         when field is from or subject.
1211
1212 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
1213
1214         * elmo-multi.el (elmo-message-entity-parent): Define.
1215         (elmo-folder-search): Rewrite.
1216
1217 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1218
1219         * elmo-multi.el (elmo-message-cached-p): Define.
1220
1221         * elmo.el (elmo-message-cached-p): New method.
1222         (elmo-message-accessible-p): Use it instead of msgdb API directly.
1223         (elmo-message-flags): New method.
1224         (elmo-message-flagged-p): New function.
1225
1226         * elmo-version.el (elmo-version): Up to 2.11.9.
1227
1228 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1229
1230         * elmo-version.el (elmo-version): Up to 2.11.8.
1231
1232         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
1233
1234         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
1235
1236 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
1237
1238         * elmo.el (elmo-folder-detach-messages): Undo last change.
1239
1240 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
1241
1242         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
1243
1244         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
1245         only when src folder type is pop3.
1246
1247 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
1248
1249         * elmo-msgdb.el (elmo-msgdb-make-index): Use
1250         elmo-msgdb-overview-entity-get-number instead of
1251         elmo-message-entity-number.
1252
1253 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1254
1255         * elmo-version.el (elmo-version): Up to 2.11.7.
1256
1257 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
1258
1259         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
1260         function.
1261
1262         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
1263         (elmo-msgdb-merge): New function.
1264         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
1265         (elmo-msgdb-make-index): Rewrite.
1266
1267         * elmo-version.el (elmo-version): Up to 2.11.6.
1268
1269         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
1270         use it as a the path for loading message entities.
1271
1272         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
1273
1274 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
1275
1276         * elmo-filter.el (elmo-folder-set-message-modified): Set 
1277         message-modified slot of itself if it does not require target msgdb.
1278
1279         * elmo-mime.el (elmo-mime-message-display): Display message entirely
1280         if folder length is zero.
1281         (elmo-mime-display-as-is): Ditto.
1282
1283         * elmo-filter.el (elmo-folder-set-message-modified): Define.
1284
1285         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
1286
1287 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1288
1289         * elmo.el (elmo-folder-set-message-modified): New method.
1290         (elmo-generic-folder-commit): Use it.
1291         (elmo-folder-synchronize): Ditto.
1292
1293         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
1294         (elmo-folder-commit): Remove duplicate definition.
1295
1296 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
1297
1298         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
1299
1300 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1301
1302         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
1303         (elmo-strict-folder-diff): Ditto.
1304         (elmo-folder-set-info-max-by-numdb): Simplify.
1305
1306         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
1307         elmo-msgdb-list-messages.
1308
1309         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
1310         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
1311
1312 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
1313
1314         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
1315         visible-only is non-nil.
1316         (elmo-folder-confirm-appends): Changed message.
1317         (elmo-folder-synchronize): Added argument disable-killed.
1318
1319         * elmo-multi.el (elmo-folder-synchronize): Added argument
1320         disable-killed.
1321
1322         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
1323
1324         * elmo-version.el (elmo-version): Up to 2.11.5.
1325
1326         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
1327         elmo-list-filter.
1328
1329         * elmo-util.el (elmo-list-filter): Simplify.
1330
1331         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
1332         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
1333         (elmo-generic-folder-diff): Abolish argument.
1334         (elmo-msgdb-load): Don't use number-alist.
1335
1336         * elmo-filter.el (elmo-folder-diff): Abolish argument.
1337
1338         * elmo-pipe.el (elmo-folder-diff): Ditto.
1339
1340         * elmo-nmz.el (elmo-folder-diff): Ditto.
1341
1342         * elmo-net.el (elmo-folder-diff): Ditto.
1343
1344         * elmo-maildir.el (elmo-folder-diff): Ditto.
1345
1346         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
1347
1348         * elmo-multi.el (elmo-folder-diff): Ditto
1349         (elmo-multi-folder-diff): Rewrite.
1350
1351 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1352
1353         * elmo-pipe.el (elmo-folder-msgdb): Define.
1354
1355 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
1356
1357         * elmo.el (elmo-message-set-cached): Define as a method.
1358
1359         * elmo-pipe.el (elmo-message-set-cached): Define.
1360         (elmo-find-fetch-strategy): Ditto.
1361
1362         * elmo-multi.el (elmo-message-set-cached): Define.
1363         (elmo-find-fetch-strategy): Rewrite.
1364
1365         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
1366
1367         * elmo-pipe.el (elmo-message-folder): Fixed definition.
1368
1369 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
1370
1371         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
1372         instead of number-alist.
1373
1374         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
1375         mark nor message-id when msgdb of source folder is not loaded.
1376
1377         * elmo.el (elmo-generic-folder-append-messages): Ditto.
1378
1379         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1380
1381 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
1382
1383         * elmo.el (elmo-folder-length): Don't require msgdb.
1384
1385 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
1386
1387         * elmo.el (elmo-message-mark): Cause an error when empty folder.
1388         (elmo-message-field): Ditto.
1389
1390         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
1391         (elmo-map-folder-list-message-locations): Setup `answered-locations'
1392         slot.
1393         (elmo-map-folder-list-answereds): Define.
1394         (elmo-maildir-list-location): Treat 'R' info.
1395         (elmo-folder-msgdb-create): Treat flag-table.
1396         (elmo-folder-append-messages): Save flag-table.
1397
1398 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
1399
1400         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
1401         Use SELECT when elmo-imap4-use-select-to-update-status is t.
1402
1403 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1404
1405         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
1406
1407         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
1408         'read when mark is null.
1409
1410 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
1411
1412         * elmo-version.el (elmo-version): Up to 2.11.4.
1413
1414 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1415
1416         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
1417         (elmo-folder-mark-as-answered): Ditto.
1418
1419 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
1420
1421         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
1422         (elmo-pop3-get-session): Make msgdb directory after session.
1423         (elmo-folder-exists-p): Check exactly at the first time even when the
1424         elmo-pop3-exists-exactly is nil.
1425
1426         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
1427         (elmo-folder-list-messages): Define instead of
1428         elmo-folder-list-messages-internal.
1429         (elmo-folder-check): Check destination folder.
1430         (elmo-folder-synchronize): Drain the pipe.
1431
1432         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
1433         when msgdb is not loaded.
1434
1435         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
1436
1437         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
1438         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
1439         messages.
1440
1441         * elmo.el (elmo-folder-kill-messages-before): New function.
1442         (elmo-folder-kill-messages): Ditto.
1443         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
1444
1445         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
1446         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
1447         killed not by synchronize (e.g. scoring).
1448
1449 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1450
1451         * elmo.el (elmo-folder-search-fast): Return t if condition is not
1452         treated.
1453         (elmo-folder-search): Follow the change above.
1454
1455         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
1456         into the candidates of search field.
1457
1458 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
1459
1460         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
1461         (elmo-msgdb-unset-flag): Ditto.
1462
1463         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
1464
1465 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
1466
1467         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
1468         (elmo-folder-commit): Define.
1469         (elmo-folder-synchronize): Ditto.
1470         (elmo-folder-list-flagged): Ditto.
1471         (elmo-folder-commit): Ditto.
1472         (elmo-folder-length): Ditto.
1473         (elmo-folder-count-flags): Ditto.
1474         (elmo-message-mark): Ditto.
1475         (elmo-message-field): Ditto.
1476         (elmo-message-entity): Ditto.
1477         (elmo-message-folder): Ditto.
1478
1479 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
1480
1481         * elmo.el (elmo-message-field): Define as a method.
1482
1483         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
1484         (elmo-message-field): Define.
1485
1486         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
1487         (elmo-folder-list-importants): Ditto.
1488         (elmo-folder-list-answereds): Ditto.
1489
1490         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
1491         qualifier.
1492         (elmo-folder-mark-as-read): Ditto.
1493         (elmo-folder-unmark-read): Ditto.
1494         (elmo-folder-mark-as-answered): Ditto.
1495         (elmo-folder-unmark-answered): Ditto.
1496         (elmo-folder-list-flagged): Define.
1497         (elmo-folder-commit): Ditto.
1498         (elmo-folder-length): Ditto.
1499         (elmo-folder-count-flags): Ditto.
1500
1501 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
1502
1503         * elmo.el (elmo-folder-detach-messages): New method.
1504         (elmo-folder-move-messages): Use it.
1505         (elmo-folder-synchronize): Ditto.
1506
1507         * elmo-multi.el (elmo-folder-detach-messages): Define.
1508
1509         * elmo.el (elmo-message-copy-entity): New function.
1510         (elmo-message-entity-set-number): Ditto.
1511         (elmo-message-mark): Define as method.
1512
1513         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
1514         (elmo-folder-synchronize): Return 0 (Should be reconsider).
1515         (elmo-message-entity): Fixed last change.
1516         (elmo-message-mark): Define.
1517         (elmo-folder-msgdb-create): Abolish.
1518         (elmo-multi-folder-append-msgdb): Ditto.
1519         (elmo-multi-folder-diff): Fixed.
1520         (elmo-multi-split-number-alist): Removed.
1521         (elmo-multi-split-mark-alist): Removed.
1522         (elmo-folder-list-messages): Define.
1523         (elmo-folder-list-messages-internal): Removed.
1524
1525         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
1526         local file messages.
1527         (elmo-folder-msgdb-create): Fixed read mark.
1528
1529 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1530
1531         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
1532         if mark is nil.
1533
1534 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
1535
1536         * elmo.el (elmo-folder-list-message-entities): Define as inline
1537         function.
1538         (elmo-folder-messages): Abolish.
1539
1540         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
1541         folder.
1542         (elmo-folder-synchronize): Define.
1543         (elmo-message-entity): Define.
1544
1545 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
1546
1547         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
1548         elmo-imap4-session-select-mailbox.
1549
1550         * elmo.el (elmo-folder-move-messages): Don't display any message.
1551
1552         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
1553         parsing.
1554         (elmo-imap4-session-check): Don't wait CHECK response.
1555         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
1556
1557 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
1558
1559         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
1560
1561 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
1562
1563         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
1564         API.
1565         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
1566
1567
1568         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
1569         (elmo-folder-list-message-entities): Added argument in-msgdb and
1570         numbers.
1571         (elmo-folder-synchronize): Define as a method.
1572
1573         * elmo-nntp.el (elmo-folder-initialize): Don't use
1574         elmo-nntp-default-user if zero-length username is specified
1575         explicitly.
1576
1577 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1578
1579         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
1580         server name in case with username.
1581         (XXX: this is ad-hoc fix against username includes "@", it
1582         should be solved fundamentally)
1583
1584 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
1585
1586         * elmo-nntp.el (elmo-nntp-debug): New function.
1587         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
1588         (elmo-network-authenticate-session): Hide auth-info from the log.
1589
1590         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
1591         user name if it is equal to elmo-nntp-default-user.
1592
1593 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
1594
1595         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
1596         instead of shimbun-server-internal;
1597         Use shimbun-current-group instead of shimbun-current-group-internal.
1598         (elmo-folder-plugged-p): Use shimbun-server instead of
1599         shimbun-server-internal.
1600         (elmo-folder-set-plugged): Ditto.
1601         (elmo-net-port-info): Ditto.
1602         (elmo-folder-check): Ditto.
1603         (elmo-folder-expand-msgdb-path): Ditto.
1604         (elmo-folder-list-subfolders): Ditto.
1605
1606 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1607
1608         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
1609         Convert field-name to lower case.
1610         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1611
1612 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1613
1614         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
1615         `message' and `error' take format string.
1616
1617 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1618
1619         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
1620
1621 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1622
1623         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
1624         recursive call (can't byte compile on emacs 20.7).
1625
1626 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
1627
1628         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
1629         (elmo-folder-list-message-entities): New API.
1630         (elmo-message-entity): Ditto.
1631         (elmo-message-entity-parent): Ditto.
1632         (elmo-folder-do-each-message-entity): Ditto.
1633         (elmo-message-entity-number): Ditto.
1634         (elmo-message-entity-field): Ditto.
1635         (elmo-message-entity-set-field): Ditto.
1636         (elmo-folder-count-flags): Ditto.
1637         (elmo-folder-length): Ditto.
1638
1639         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
1640         not.
1641
1642         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
1643         (elmo-msgdb-count-marks): Abolish.
1644         (elmo-msgdb-make-entity): Ditto.
1645         (elmo-msgdb-do-each-entity): Ditto.
1646         (elmo-msgdb-message-entity): New inline function.
1647         (elmo-msgdb-message-entity-field): Ditto.
1648         (elmo-msgdb-message-entity-set-field): Ditto.
1649         (elmo-msgdb-make-message-entity): New function.
1650
1651 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
1652
1653         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
1654         to flag. (All other related portions are changed.)
1655         (elmo-folder-msgdb-create): Likewise.
1656         (elmo-generic-folder-append-messages): Use flag-table instead of
1657         seen-list.
1658         (elmo-folder-move-messages): Removed redundant process.
1659         (elmo-folder-synchronize): Likewise.
1660
1661         * elmo-msgdb.el (elmo-flag-table-get): New function.
1662         (elmo-flag-table-save): Fixed.
1663         (elmo-msgdb-length): New inline function.
1664         (elmo-msgdb-flag-table): New function.
1665         (elmo-msgdb-mark): Add optional argument new.
1666         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
1667         (elmo-msgdb-seen-list): Ditto.
1668         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
1669
1670
1671 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
1672
1673         * elmo.el (elmo-message-set-mark): Abolish.
1674         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
1675         (All related portions are changed.)
1676
1677         * elmo-msgdb.el (toplevel): Added comment.
1678         (elmo-load-msgdb): Added 4th element `path'.
1679         (elmo-msgdb-append): Follow the change above.
1680         (elmo-msgdb-clear): Ditto.
1681         (elmo-msgdb-delete-msgs): Ditto.
1682         (elmo-msgdb-get-path): New inline function.
1683         (elmo-msgdb-set-path): Ditto.
1684         (elmo-flag-table-filename): New variable.
1685         (elmo-flag-table-load): New function.
1686         (elmo-flag-table-set): Ditto.
1687         (elmo-flag-table-save): Ditto.
1688         (elmo-msgdb-get-field-value): Abolish.
1689         (elmo-msgdb-overview-get-entity-by-number): Ditto.
1690
1691 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
1692
1693         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
1694         the folder has been deleted successfully.
1695         * elmo-imap4.el (elmo-folder-delete): Ditto.
1696         * elmo-archive.el (elmo-folder-delete): Ditto.
1697         * elmo-localdir.el (elmo-folder-delete): Ditto.
1698         * elmo-maildir.el (elmo-folder-delete): Ditto.
1699
1700 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
1701
1702         * elmo-util.el (elmo-string-member-ignore-case): New function.
1703         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
1704         (elmo-imap4-fetch-callback-1-subr): Likewise.
1705
1706 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
1707
1708         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
1709         the case of the name attribute "\Noselect".
1710
1711 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1712
1713         * elmo.el (elmo-folder-rename-internal): New method to cause error.
1714
1715         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
1716         flist, is not always a member of onum-alist.
1717
1718 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1719
1720         * elmo-version.el (elmo-version): Up to 2.11.3.
1721
1722 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1723
1724         * elmo-maildir.el (elmo-folder-rename-internal): New method,
1725         copied from localdir's one.
1726
1727         * elmo-pipe.el (elmo-folder-rename): New method, rename
1728         destination folder with leaving source folder as it is.
1729
1730 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
1731
1732         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
1733         replace-regexp.
1734
1735 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1736
1737         * elmo-version.el (elmo-version): Up to 2.11.2.
1738
1739 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1740
1741         * elmo-shimbun.el (elmo-folder-initialize): Do not call
1742         shimbun-open in case of "@".
1743         (elmo-folder-open-internal): Cope with shimbun = nil case.
1744         (elmo-folder-plugged-p): Ditto.
1745         (elmo-folder-list-subfolders): Make list for "@/" group.
1746
1747 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1748
1749         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
1750         mailbox (e.g. for %~/something).
1751
1752 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1753
1754         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
1755         Replace nested conditional with guard clauses.
1756
1757 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
1758
1759         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
1760         error [wl:11327].
1761
1762         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
1763         print-depth.
1764
1765 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1766
1767         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
1768         Replace nested conditional with guard clauses.
1769
1770 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1771
1772         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
1773         (elmo-passwd-alist-save): Ditto.
1774         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
1775
1776 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1777
1778         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
1779         dir-name only if it is absolute path.
1780         (TODO: distinguish +/something and +something)
1781
1782 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1783
1784         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
1785         path for "+~/something".
1786
1787 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1788
1789         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
1790         as non-directory, cause error before rename-file.
1791         * elmo-archive.el (elmo-folder-rename-internal): Create directory
1792         apropriately, mimic localdir's one.
1793         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
1794
1795 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
1796
1797         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
1798
1799 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
1800
1801         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
1802
1803         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
1804         
1805         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
1806         is included in the global-mark or not.
1807
1808 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1809
1810         * utf7.el (toplevel): Avoid error when the function
1811         find-coding-system does not exist.
1812
1813 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1814
1815         * elmo-nntp.el (elmo-folder-search): Body search is to search from
1816         cache even if the folder is plugged.
1817         (elmo-nntp-search-primitive): Do nothing when body search is
1818         invoked (although it is not used by the change above).
1819         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
1820
1821 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
1822
1823         * elmo-version.el (elmo-version): Up to 2.11.1.
1824
1825 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
1826
1827         * elmo-archive.el: Specify charset.
1828
1829 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
1830
1831         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
1832         process buffer lives or not.
1833
1834         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
1835         while flushing queues (It causes infinite loop).
1836
1837 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
1838
1839         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
1840
1841 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
1842
1843         * utf7.el (toplevel): Check the ucs features dynamically.
1844         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
1845
1846         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
1847         folder is creatabe or not if it already exists.
1848
1849 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
1850
1851         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
1852
1853         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
1854
1855         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
1856         (elmo-imap4-read-response): Take care of garbage response.
1857
1858 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1859
1860         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
1861         just return nil instead of error.
1862
1863 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1864
1865         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
1866         search-key is "body".
1867
1868 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
1869
1870         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
1871         of elmo-string-matched-assoc to use match-data.
1872         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
1873
1874 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1875
1876         * elmo-split.el (elmo-split->): New function.
1877         (elmo-split-<): Ditto.
1878
1879 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
1880
1881         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
1882         workaround for invalid message-id.
1883
1884 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
1885
1886         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
1887         return normal pop3 session or pop3 biff session.
1888
1889 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
1890
1891         * elmo-maildir.el (elmo-maildir-update-current): Don't append
1892         info part to the cur files when the new files already have it.
1893         (Adviced by Jared Rhine <jared@wordzoo.com>)
1894
1895 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1896
1897         * elmo-split.el (elmo-split-default-action): New variable.
1898         (elmo-split-subr): Use it if all other conditions are passed.
1899         Extend `fname' and rename it as `action'. (implemented
1900         Teranishi-san's idea in [wl:10800])
1901
1902 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1903
1904         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
1905         * elmo-util.el: Ditto.
1906
1907 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
1908
1909         * elmo.el (elmo-message-accessible-p): Renamed from
1910         elmo-message-cached-p and rewritten.
1911
1912 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
1913
1914         * elmo.el (elmo-folder-list-flagged): New generic function.
1915         (elmo-folder-list-importants): New implementation.
1916         (elmo-folder-list-answereds): Ditto.
1917         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
1918         Added 'digest'.
1919         (elmo-message-cached-p): New function.
1920         (elmo-message-set-flag): Ditto (no content).
1921         (elmo-message-unset-flag): Ditto.
1922         (elmo-folder-list-messages-mark-match): Abolish.
1923
1924         * elmo-util.el (elmo-regexp-opt): New function.
1925
1926         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
1927         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
1928         Added 'digest'.
1929         (elmo-msgdb-list-flagged): New function.
1930
1931         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
1932         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
1933         Added 'digest'.
1934
1935         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
1936
1937 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
1938
1939         * elmo-version.el (elmo-version): Up to 2.11.0.
1940
1941 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1942
1943         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
1944         `elmo-file-cache-exists-p'; use proper mark that depends on
1945         `use-cache'.
1946         (elmo-msgdb-unset-flag): Ditto.
1947         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
1948
1949         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
1950         with 4th argument `use-cache'.
1951
1952 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
1953
1954         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
1955         (elmo-folder-mark-as-important): Ditto.
1956         (elmo-folder-unmark-read): Ditto.
1957         (elmo-folder-mark-as-read): Ditto.
1958         (elmo-folder-unmark-answered): Ditto.
1959         (elmo-folder-mark-as-answered): Ditto.
1960
1961         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
1962         message status.
1963         (elmo-msgdb-mark): Likewise.
1964         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
1965         (elmo-msgdb-unset-flag): Likewise.
1966
1967         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
1968
1969 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1970
1971         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
1972         `last:' filter.
1973
1974 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1975
1976         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
1977         set spool-length to 0.
1978
1979 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1980
1981         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
1982         (elmo-dop-queue-flush): Fixed last change.
1983
1984 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1985
1986         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
1987         if require-msgdb slot is nil.
1988         (elmo-folder-list-importants): Likewise.
1989
1990 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1991
1992         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
1993         mark is changed.
1994
1995         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
1996         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
1997         is changed.
1998
1999 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2000
2001         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
2002
2003 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2004
2005         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
2006
2007         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
2008
2009 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2010
2011         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
2012         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
2013
2014 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2015
2016         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
2017         the problem reported by Sean Rima [wl-en:180].
2018
2019 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2020
2021         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
2022
2023         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
2024
2025         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
2026
2027         * elmo-map.el (elmo-folder-unmark-read): Ditto.
2028
2029         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
2030
2031         * elmo-net.el (elmo-folder-unmark-read): Ditto.
2032
2033         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
2034
2035 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2036
2037         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
2038         status number.
2039
2040 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
2041
2042         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
2043         (elmo-folder-mark-as-read): Follow the API change.
2044         (elmo-message-set-cached): New function.
2045
2046         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
2047
2048         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
2049
2050         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
2051         (elmo-folder-mark-as-important): Ditto.
2052         (elmo-folder-unmark-read): Ditto.
2053         (elmo-folder-mark-as-read): Ditto.
2054         (elmo-folder-unmark-answered): Ditto.
2055         (elmo-folder-mark-as-answered): Ditto.
2056
2057         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
2058         (elmo-folder-unmark-important): Ditto.
2059         (elmo-folder-mark-as-read): Ditto.
2060         (elmo-folder-unmark-read): Ditto.
2061         (elmo-folder-mark-as-answered): Ditto.
2062         (elmo-folder-unmark-answered): Ditto.
2063
2064         * elmo-mark.el (toplevel): Removed some mark method definitions.
2065
2066         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
2067         (elmo-map-folder-mark-as-answered): Ditto.
2068         (elmo-folder-unmark-important): Add :before qualifier.
2069         (elmo-folder-mark-as-important): Ditto.
2070         (elmo-folder-unmark-read): Ditto.
2071         (elmo-folder-mark-as-read): Ditto.
2072         (elmo-folder-unmark-answered): Define.
2073         (elmo-folder-mark-as-answered): Ditto.
2074
2075         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
2076         (elmo-map-folder-unmark-answered): Ditto.
2077
2078         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
2079
2080         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
2081         (elmo-folder-mark-as-important): Ditto.
2082         (elmo-folder-unmark-read): Ditto.
2083         (elmo-folder-mark-as-read): Ditto.
2084         (elmo-folder-unmark-answered): Ditto.
2085         (elmo-folder-mark-as-answered): Ditto.
2086
2087         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
2088         `mark'; evaluate mark condition.
2089         (elmo-msgdb-match-condition-internal): New function.
2090         (elmo-msgdb-match-condition): Call it; changed argument.
2091
2092         * elmo.el (elmo-folder-search): Follow the API change on
2093         `elmo-msgdb-match-condition'.
2094
2095 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2096
2097         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
2098         original mark is non-nil.
2099
2100 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
2101
2102         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
2103         (elmo-map-folder-list-answereds): New method.
2104         (elmo-folder-list-unreads): Add :around qualifier.
2105         (elmo-folder-list-importants): Ditto.
2106         (elmo-folder-list-answereds): Ditto.
2107
2108 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
2109
2110         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
2111
2112         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
2113         method if msgdb is not required.
2114         (elmo-filter-folder-list-importants): Don't treat global-mark.
2115
2116         * elmo.el (elmo-folder-list-importants): Ditto.
2117
2118         * elmo-net.el (elmo-folder-list-importants): Ditto.
2119
2120         * elmo-map.el (elmo-folder-list-importants): Ditto.
2121
2122         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
2123
2124         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
2125         (elmo-imap4-folder-list-any-plugged): New function.
2126         (elmo-imap4-search-internal-primitive): Use it.
2127
2128         * elmo-filter.el (elmo-folder-check): Synchronize original folder
2129         only when require-msgdb slot is non-nil.
2130         (elmo-folder-close): Clear target folder's msgdb.
2131
2132 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
2133
2134         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
2135         (elmo-pop3-msgdb-create-by-header): Ditto.
2136         (elmo-pop3-msgdb-create-message): Ditto.
2137
2138         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2139
2140         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2141
2142         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
2143
2144         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2145         (elmo-folder-msgdb-create): Ditto.
2146         (elmo-nntp-folder-msgdb-create): Ditto.
2147         (elmo-nntp-msgdb-create-by-header): Ditto.
2148         (elmo-nntp-msgdb-create-message): Ditto.
2149         (elmo-folder-list-unreads): Define.
2150
2151         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
2152         (elmo-folder-append-messages): Ditto.
2153         (elmo-folder-list-unreads): Define.
2154         (elmo-folder-list-importants): Ditto.
2155         (elmo-folder-list-answereds): Ditto.
2156
2157         * elmo-net.el (elmo-folder-list-unreads): Define.
2158         (elmo-folder-list-importants): Ditto.
2159         (elmo-folder-list-answereds): Ditto.
2160         (elmo-folder-list-answereds-plugged): Ditto.
2161         (elmo-folder-msgdb-create): Follow the API change.
2162         (elmo-folder-msgdb-create-unplugged): Ditto.
2163         (elmo-folder-unmark-answered): Define.
2164         (elmo-folder-mark-as-answered-unplugged): Ditto.
2165         (elmo-folder-unmark-answered-unplugged): Ditto.
2166
2167         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
2168         (elmo-msgdb-unread-uncached-mark): Ditto.
2169         (elmo-msgdb-unread-cached-mark): Ditto.
2170         (elmo-msgdb-read-uncached-mark): Ditto.
2171         (elmo-msgdb-answered-cached-mark): Ditto.
2172         (elmo-msgdb-answered-uncached-mark): Ditto.
2173         (elmo-msgdb-important-mark): Ditto.
2174         (elmo-msgdb-set-mark): Rewrite.
2175         (elmo-msgdb-count-marks): Rewrite.
2176         (elmo-msgdb-mark-alist-set): Abolish.
2177         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
2178         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
2179
2180         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
2181         (elmo-folder-close): Define.
2182         (elmo-folder-msgdb-create): Follow the API change.
2183         (elmo-folder-list-unreads): Rewrite.
2184         (elmo-folder-mark-as-important): Ditto.
2185         (elmo-folder-unmark-important): Ditto.
2186         (elmo-folder-mark-as-read): Ditto.
2187         (elmo-folder-unmark-read): Ditto.
2188         (elmo-folder-mark-as-answered): Define.
2189         (elmo-folder-unmark-answered): Ditto.
2190
2191         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
2192         (elmo-folder-append-messages): Ditto.
2193
2194         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
2195
2196         * elmo-map.el (elmo-folder-list-unreads): Ditto.
2197         (elmo-folder-list-importants): Ditto.
2198
2199         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2200         (elmo-folder-append-messages): Ditto.
2201
2202         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
2203         change.
2204         (elmo-folder-msgdb-create-plugged): Ditto.
2205         (elmo-folder-append-messages): Ditto.
2206         (elmo-folder-list-answereds-plugged): Define.
2207         (elmo-imap4-search-internal-primitive): Add `mark' processing.
2208         (elmo-folder-unmark-answered-plugged): Define.
2209         (elmo-folder-mark-as-answered-plugged): Ditto.
2210         (elmo-folder-search-requires-msgdb-p): Ditto.
2211
2212         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
2213         (elmo-folder-initialize): Set it.
2214         (elmo-folder-msgdb): Define.
2215         (elmo-folder-check): Call elmo-folder-synchronize.
2216         (elmo-folder-close): Define.
2217         (elmo-folder-commit): Ditto.
2218         (elmo-folder-msgdb-create): Rewrite.
2219         (elmo-folder-list-unreads): Ditto.
2220         (elmo-folder-list-importants): Ditto.
2221         (elmo-folder-mark-as-read): Ditto.
2222         (elmo-folder-unmark-read): Ditto.
2223         (elmo-folder-mark-as-important): Ditto.
2224         (elmo-folder-unmark-important): Ditto.
2225         (elmo-folder-mark-as-answered): Define.
2226         (elmo-folder-unmark-answered): Ditto.
2227
2228         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
2229         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
2230         (elmo-dop-queue-method-name-alist): Likewise.
2231         (elmo-folder-mark-as-answered-dop): New inline function.
2232         (elmo-folder-unmark-answered-dop): Ditto.
2233         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
2234
2235         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
2236         (elmo-folder-msgdb-create): Ditto.
2237         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2238         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
2239         (elmo-archive-parse-mmdf): Ditto.
2240
2241         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2242         (elmo-folder-list-unreads-internal): Ditto.
2243
2244         * elmo.el (elmo-folder-msgdb): Define as generic function.
2245         (elmo-folder-list-messages): Added argument `in-msgdb'.
2246         (elmo-folder-list-unreads): Define as generic function.
2247         (elmo-folder-list-importants): Ditto.
2248         (elmo-folder-list-answereds): Ditto.
2249         (elmo-folder-list-messages-with-global-mark): New function.
2250         (elmo-folder-msgdb-create): Removed mark arguments.
2251         (elmo-folder-unmark-answered): New generic function.
2252         (elmo-folder-mark-as-answered): Ditto.
2253         (elmo-folder-append-messages): Removed argunment `unread-marks'
2254         (elmo-folder-list-unreads-internal): Abolish.
2255         (elmo-folder-list-importants-internal): Ditto.
2256         (elmo-folder-search-requires-msgdb-p): New generic function.
2257         (elmo-folder-search-requires-msgdb-p-internal): New function.
2258         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
2259         elmo-msgdb-load.
2260         (elmo-folder-search-fast): Added key 'mark'.
2261         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
2262         instead of unread-marks argument.
2263         (elmo-folder-move-messages): Removed argunment `unread-marks'
2264         (elmo-folder-unmark-important): Define.
2265         (elmo-folder-mark-as-important): Ditto.
2266         (elmo-folder-unmark-read): Ditto.
2267         (elmo-folder-mark-as-read): Ditto.
2268         (elmo-folder-unmark-answered): Ditto.
2269         (elmo-folder-mark-as-answered): Ditto.
2270         (elmo-folder-replace-marks): Abolish.
2271         (elmo-generic-folder-append-msgdb): Append msgdb before checking
2272         duplicates.
2273         (elmo-folder-synchronize): Removed mark arguments;
2274         return crosspost only number.
2275
2276 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2277
2278         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
2279         Remove redundunt connectivity check.
2280
2281 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2282
2283         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
2284         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
2285
2286 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
2287
2288         * pldap.el (ldap-decode-string): Return string as-is if
2289         `ldap-coding-system' is nil.
2290         (ldap-encode-string): Ditto.
2291         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
2292         (ldap-default-host): Fixed docstring.
2293
2294 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
2295
2296         * elmo-util.el (elmo-warning): Define as a macro which uses
2297         `display-warning' if it is defined as a function.
2298
2299         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
2300         (elmo-split-equal): Use it.
2301         (elmo-split-match): Ditto.
2302         (elmo-split-message-entity): New buffer-local variable.
2303         (elmo-split-subr): Set it.
2304
2305         * elmo-version.el (elmo-version): Up to 2.9.15.
2306
2307 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
2308
2309         * elmo-imap4.el (elmo-network-initialize-session):
2310         Check capability after starttls.
2311
2312 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
2313
2314         * elmo-util.el (elmo-list-delete): Added optional argument
2315         DELETE-FUNCTION.
2316
2317         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
2318
2319         * elmo-util.el (elmo-warning): Ignore errors while recenter.
2320
2321         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
2322
2323         * elmo-imap4.el (elmo-folder-initialize): Don't use
2324         elmo-imap4-default-mailbox.
2325
2326 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2327
2328         * elmo-split.el (toplevel): Use `product-provide'.
2329         (elmo-split): Checkdoc.
2330
2331 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
2332
2333         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
2334         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
2335         the function `elmo-imap4-debug-1'.
2336
2337 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2338
2339         * elmo-split.el (elmo-split): Moved to run hooks and to show
2340         message from elmo-split-subr.
2341         (elmo-split-subr): Follow the change above.
2342
2343         * elmo-split.el (elmo-split-subr): New function (renamed from
2344         elmo-split-subr).
2345         (elmo-split): Changed to call elmo-split-subr by element of
2346         elmo-split-folder.
2347         (elmo-split-folder): Changed customization type to choice.
2348
2349 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2350
2351         * elmo-split.el (elmo-split-and): Fixed condition.
2352
2353 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
2354
2355         * elmo-split.el: New file.
2356         (elmo-split): Fixed logic.
2357         Display "Test:" instead of "Folder:" when reharsal.
2358
2359         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
2360         explicitly.
2361
2362         * elmo-version.el (elmo-version): Up to 2.9.14.
2363
2364         * elmo-util.el (elmo-expand-newtext): New function (renamed from
2365         wl-expand-newtext).
2366
2367 2002-06-10  Kenichi Sato <ksato@sonycom.com>
2368
2369         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
2370         message with no message-id field.
2371
2372 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
2373
2374         * elmo-version.el (elmo-version): Up to 2.9.13.
2375
2376         * elmo-dop.el (elmo-folder-status-dop): Fix.
2377
2378 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
2379
2380         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
2381
2382         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
2383         changing default value of default-mime-charset.
2384         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
2385
2386         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
2387
2388         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
2389         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
2390         instead of elmo-dop-queue-method-name-alist to check merging queue.
2391         (elmo-folder-delete-messages-dop): Delete from queue if negative
2392         message number.
2393         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
2394         file is already removed.
2395
2396 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2397
2398         * elmo-vars.el: Bind colon keywords for old Emacsen.
2399
2400 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2401
2402         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
2403         against non-exsisting charset.
2404
2405 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
2406
2407         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
2408         Use eword-decode-and-unfold-unstructured-field-body.
2409
2410         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
2411         (elmo-msgdb-create-overview-from-buffer): Use document charset if
2412         exists to decode raw subject string.
2413         (toplevel): Require 'mime.
2414
2415         * elmo-version.el (elmo-version): Up to 2.9.12.
2416
2417 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
2418
2419         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
2420         (elmo-msgdb-set-mark): Ditto.
2421
2422         * elmo-version.el (elmo-version): Up to 2.9.11.
2423
2424 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
2425
2426         * elmo-util.el (elmo-delete-match-files): New function.
2427
2428         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
2429         instead of elmo-delete-directory.
2430
2431         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
2432         elmo-hash-minimun-size as 63.
2433
2434         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
2435         elmo-diff-unread is nil.
2436
2437         * elmo-imap4.el (elmo-folder-open): Fix.
2438
2439         * elmo.el (elmo-message-mark): Rewrite.
2440         (elmo-message-field): Ditto.
2441         (elmo-message-set-mark): Ditto.
2442         (elmo-folder-replace-marks): New function.
2443         (elmo-generic-folder-append-msgdb): Removed third argument for
2444         elmo-msgdb-append.
2445         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
2446         (elmo-msgdb-load): New implementation.
2447
2448         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
2449
2450         * elmo-util.el (elmo-list-insert): New implementation.
2451
2452         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
2453         argument for elmo-msgdb-append.
2454         
2455
2456         * elmo-msgdb.el (elmo-load-msgdb): New function.
2457         (elmo-make-msgdb): Ditto.
2458         (elmo-msgdb-get-index): New inline function.
2459         (elmo-msgdb-set-index): Ditto.
2460         (elmo-msgdb-get-entity-hashtb): Ditto.
2461         (elmo-msgdb-get-mark-hashtb): Ditto.
2462         (elmo-msgdb-get-mark): Ditto.
2463         (elmo-msgdb-set-mark): Ditto.
2464         (elmo-msgdb-count-marks): Ditto.
2465         (elmo-msgdb-get-number): Ditto.
2466         (elmo-msgdb-get-field): Ditto.
2467         (elmo-msgdb-seen-list): Ditto.
2468         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
2469         (elmo-msgdb-delete-msgs): Follow the changes above.
2470         (elmo-msgdb-overview-get-entity): Ditto.
2471         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
2472         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
2473         and rewritten.
2474         (elmo-msgdb-make-index): Likewise.
2475         (elmo-msgdb-append): Removed third argument.
2476         (elmo-msgdb-clear): Clear index as nil.
2477         (elmo-folder-set-info-hashtb): Removed.
2478         (elmo-folder-set-info-max-by-numdb): Ditto.
2479         (elmo-folder-info-make-hashtb): Ditto.
2480
2481         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
2482
2483         * elmo-map.el (elmo-folder-pack-number): Ditto.
2484
2485 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
2486
2487         * elmo-version.el (elmo-version): Up to 2.9.10.
2488
2489         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
2490
2491         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
2492
2493 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
2494
2495         * elmo-utils.el (elmo-make-directory): Add option.
2496         Default file mode is 700.
2497
2498 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2499
2500         * elmo-shimbun.el (elmo-folder-local-p): Defined.
2501
2502 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
2503
2504         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
2505         mime-charset.
2506
2507         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
2508         and "smaller".
2509
2510 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2511
2512         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
2513         (elmo-shimbun-folder-entity-hash): New function.
2514         (elmo-shimbun-folder-shimbun-header): Ditto.
2515         (elmo-shimbun-entity-to-header): Ditto.
2516         (elmo-shimbun-msgdb-to-headers): Removed.
2517         (elmo-shimbun-folder-setup): Ditto.
2518         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
2519         for hash key.
2520         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
2521         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
2522         Removed useless local bind.
2523         (elmo-folder-open-internal): Don't call
2524         `elmo-shimbun-folder-setup'.
2525         (elmo-folder-close-internal): Clear entity-hash slot.
2526         (elmo-folder-clear): Ditto.
2527         (elmo-shimbun-msgdb-create-entity): Use
2528         `elmo-shimbun-folder-shimbun-header'.
2529         (elmo-map-message-fetch): Ditto.
2530         (elmo-shimbun-update-overview): Use overview entity instead of
2531         shimbun header to lookup id by references.
2532         (elmo-map-folder-list-message-locations): Use not only headers but
2533         also overviews to list locations.
2534
2535 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2536
2537         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
2538         msgdb path.
2539
2540         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
2541
2542 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2543
2544         * elmo-util.el (elmo-read-search-condition-internal): Give default
2545         value for date.
2546
2547 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
2548
2549         * elmo-util.el (elmo-condition-parse-search-value): Accept
2550         YYYY-MM-DD format to search.
2551         * elmo-date.el (elmo-date-get-datevec): Likewise.
2552
2553 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
2554
2555         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
2556         debugging code.
2557
2558 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2559
2560         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
2561         from t.
2562
2563         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
2564
2565         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
2566         case from `elmo-folder-exists-p'.
2567         (elmo-folder-exists-p): Removed.
2568         (elmo-folder-creatable-p) Ditto.
2569
2570         * elmo-net.el (elmo-folder-create): Defined.
2571         (elmo-folder-create-unplugged): New function.
2572         (elmo-folder-exists-p): Changed default value to nil from t.
2573
2574         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
2575         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
2576
2577         * elmo-dop.el (elmo-folder-create-dop): Renamed from
2578         `elmo-create-folder-dop' and append queue
2579         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
2580         (elmo-folder-create-dop-delayed): New function.
2581
2582         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
2583
2584         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
2585
2586         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
2587         (elmo-folder-writable-p) : Ditto.
2588
2589         * elmo-version.el (elmo-version): Up to 2.9.9.
2590
2591 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2592
2593         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
2594         `elmo-message-use-cache-p' returns nil.
2595         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2596         (ignore cache file and refer the substance in local folders)
2597
2598 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2599
2600         * elmo-version.el (elmo-version): Up to 2.9.8.
2601
2602 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
2603
2604         * elmo-version.el (elmo-version): Up to 2.9.7.
2605
2606         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
2607
2608 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
2609
2610         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
2611
2612 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2613
2614         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
2615         from --early.
2616         (elmo-map-folder-list-message-locations): Reverse location list.
2617
2618 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
2619
2620         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
2621
2622 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
2623
2624         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
2625         as a key.
2626         (elmo-nntp-folder-list-subfolders): Follow the change above.
2627
2628 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
2629
2630         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
2631         name if authentication type is specified.
2632
2633 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
2634
2635         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
2636         variable.
2637         (elmo-default-nntp-stream-type): Ditto.
2638         (elmo-default-pop3-stream-type): Ditto.
2639
2640 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2641
2642         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
2643
2644 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2645
2646         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
2647         elmo-vars.el.
2648         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
2649
2650         * elmo-vars.el (elmo-localnews-folder-path): Removed.
2651         (elmo-maildir-folder-path): Ditto.
2652         (elmo-maildir-list): Ditto (abolished).
2653
2654 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
2655
2656         * elmo-version.el (elmo-version): Up to 2.9.6.
2657
2658 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2659
2660         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
2661         (elmo-maildir-folder-path): Ditto.
2662         (elmo-msgdb-directory): Ditto.
2663         (elmo-passwd-life-time): Ditto.
2664         (elmo-msgdb-extra-fields): Ditto.
2665         (elmo-enable-disconnected-operation): Ditto.
2666
2667 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
2668
2669         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2670         other choices.
2671         (elmo-pop3-default-authenticate-type): Ditto.
2672
2673 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2674
2675         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2676         choices for custom.
2677         (elmo-pop3-default-authenticate-type): Ditto.
2678
2679 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
2680
2681         * elmo-imap4.el (elmo-folder-rename-internal): Change current
2682         mailbox to new-folder.
2683
2684 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
2685
2686         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
2687         less than new, set new as unread.
2688
2689         * elmo-util.el (elmo-string): Don't put text-property if nil.
2690
2691 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
2692
2693         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
2694         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
2695
2696 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
2697
2698         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2699         is nil on `completing-read'.
2700
2701 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
2702
2703         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
2704         for namespace part.
2705         (elmo-imap4-parse-namespace-subr): Ditto.
2706         (elmo-folder-list-subfolders): Append a delimiter when the specified
2707         folder path is a root with namespace and does not end with delimiter.
2708
2709 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2710
2711         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
2712         was used.
2713
2714 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2715
2716         * elmo-util.el (elmo-save-buffer): The first argument of message
2717         is a format control string.
2718
2719 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2720
2721         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
2722         `elmo-folder-diff').
2723         (elmo-diff-unread): Likewise.
2724
2725 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
2726
2727         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2728         is t on `completing-read'.
2729
2730 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2731
2732         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
2733         method of target folder with self mark-alist if MARK-ALIST is nil.
2734
2735 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
2736
2737         * elmo-version.el (elmo-version): Up to 2.9.5.
2738
2739 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
2740
2741         * elmo-dop.el (elmo-dop-queue-merge): Implement.
2742         (elmo-dop-merge-funcs): Remove.
2743
2744 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2745
2746         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
2747         Return t if PATH is directory, too.
2748         Use `dolist' instead of while loop.
2749
2750 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2751
2752         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
2753         is deleted.
2754
2755 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2756
2757         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
2758         return value to t.
2759         (elmo-folder-list-messages-unplugged): Return t if
2760         elmo-enable-disconnected-operation is nil.
2761
2762         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
2763         `elmo-folder-list-messages-internal'.
2764
2765 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
2766
2767         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
2768         Change to looking-at `[23][0-9]+'.
2769         (elmo-network-initialize-session): Use 'error-msg'
2770         * elmo-net.el (elmo-network-open-session): Set unplugged
2771         if elmo-network-initialize-session returns 'elmo-open-err.
2772
2773 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
2774
2775         * elmo-version.el (elmo-version): Up to 2.9.4.
2776
2777 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
2778
2779         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
2780         `elmo-folder-list-messages-internal'.
2781
2782 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2783
2784         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
2785         (elmo-message-match-condition): New method.
2786         (elmo-folder-search-fast): New inline function.
2787         (elmo-msgdb-search): Removed.
2788
2789         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
2790         target folder if it is unplugged.
2791         (elmo-folder-list-messages-internal): Return t if target folder is
2792         unplugged and itself is persistent; In this case, use list be
2793         searched already.
2794
2795         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
2796         (elmo-msgdb-search-internal-primitive): Ditto.
2797         (elmo-msgdb-match-condition): New function.
2798         (elmo-msgdb-match-condition-primitive): Ditto.
2799
2800         * elmo-util.el (elmo-filter-condition-p): New macro.
2801
2802         * elmo-cache.el (elmo-folder-search): Removed.
2803
2804         * elmo-localdir.el (elmo-folder-search): Ditto.
2805
2806         * elmo-maildir.el (elmo-folder-search): Ditto.
2807
2808         * elmo-mark.el (elmo-folder-search): Ditto.
2809
2810         * elmo-nmz.el (elmo-folder-search): Ditto.
2811
2812         * elmo-sendlog.el (elmo-folder-search): Ditto.
2813
2814         * elmo-shimbun.el (elmo-folder-search): Ditto.
2815
2816         * elmo-imap4.el (elmo-folder-search): Call method of parent class
2817         if folder is unplugged.
2818
2819         * elmo-nntp.el (elmo-folder-search): Likewise.
2820         (elmo-nntp-search-internal): New function.
2821
2822         * elmo-version.el (elmo-version): Up to 2.9.3.
2823
2824 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2825
2826         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
2827
2828 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
2829
2830         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
2831
2832 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
2833
2834         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
2835
2836 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
2837
2838         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
2839         (elmo-map-folder-list-message-locations): Do drive letter conversion
2840         on Windows environment.
2841         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
2842         (elmo-map-message-fetch): Ditto.
2843
2844 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
2845
2846         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
2847         (elmo-network-initialize-session): Ditto.
2848
2849 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
2850
2851         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
2852
2853         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2854
2855         * elmo-util.el (elmo-progress-clear): Ditto.
2856
2857         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
2858         `DD-Mon-YYYY' type date.
2859
2860 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2861
2862         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2863         `elmo-date-make-sortable-string' instead of
2864         `timezone-make-date-sortable'.
2865
2866         * elmo-date.el (elmo-date-make-sortable-string): Use
2867         `timezone-make-time-string'.
2868
2869 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
2870
2871         * elmo.el (elmo-folder-synchronize): Delete important messages too.
2872
2873         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
2874         `since'; Fix timezone.
2875
2876         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
2877
2878         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
2879
2880 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2881
2882         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
2883
2884 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2885
2886         * elmo.el (elmo-generic-folder-append-messages): Make
2887         fetch-strategy with `use-cache' as 'maybe. Check return value of
2888         `elmo-message-fetch'.
2889         (elmo-message-fetch): Return return value of
2890         `elmo-message-fetch-with-cache-process'.
2891         (elmo-message-fetch-with-cache-process): Return non-nil if
2892         fetching was succeed. Load cache when fetching was failed and
2893         fetch-strategy-use-cache is 'maybe.
2894
2895         * elmo-util.el (elmo-file-cache-load): New function.
2896
2897         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
2898         defun.
2899
2900         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
2901         non-nil if fetching was succeed.
2902
2903         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
2904
2905         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
2906
2907         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
2908         (elmo-message-fetch-with-cache-process): Likwise.
2909
2910         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
2911
2912         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
2913
2914         * elmo-version.el (elmo-version): Up to 2.9.2.
2915
2916 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
2917
2918         * elmo.el (elmo-folder-delete): Delete msgdb path.
2919
2920         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
2921
2922         * elmo-maildir.el (elmo-folder-delete): Ditto.
2923
2924         * elmo-localdir.el (elmo-folder-delete): Ditto.
2925
2926         * elmo-imap4.el (elmo-folder-delete): Ditto.
2927
2928 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
2929
2930         * elmo.el (luna-define-class): Added `biff' slot.
2931
2932         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
2933         (elmo-pop3-debug-inhibit-logging): Abolished.
2934         (elmo-network-close-session): Eliminated needless let.
2935         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
2936         (elmo-pop3-send-command): Added `no-log' argument.
2937         (elmo-pop3-process-filter): Use `with-current-buffer'.
2938         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
2939         if login failure.
2940         (elmo-pop3-auth-apop): Likewise.
2941         (elmo-network-authenticate-session): Likewise.
2942
2943         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
2944         if biff folder.
2945
2946         * elmo-net.el (elmo-network-session-password-key): Use class symbol
2947         string to determine protocol.
2948         (elmo-network-session-name-prefix): Abolished.
2949         (elmo-network-session-cache-key): Follow the change above.
2950         (elmo-network-open-session): Ditto.
2951
2952         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
2953         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
2954
2955         * elmo-version.el (elmo-version): Up to 2.9.1.
2956
2957         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
2958         unmatch condition checking.
2959
2960         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
2961         condition.
2962
2963 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2964
2965         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
2966
2967 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
2968
2969         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
2970         test for while loop to execute at least one SEARCH command.
2971
2972 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
2973
2974         * elmo-version.el (elmo-version): Up to 2.9.0.
2975
2976 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
2977
2978         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
2979         (elmo-archive-folder-path): Define.
2980         (elmo-folder-initialize): Setup `dir-name' slot.
2981         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
2982         Use `dir-name' as prefix of each subfolders.
2983         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
2984
2985 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2986
2987         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
2988         (elmo-pipe-folder-list-target-messages): New internal function.
2989         (elmo-pipe-drain): Use new argument `ignore-list' instead of
2990         `killed-list'.
2991         (elmo-pipe-folder-copied-list-load): New function.
2992         (elmo-pipe-folder-copied-list-save): Ditto.
2993         (elmo-folder-open-internal): Follow the change above.
2994         (elmo-folder-status): Fixed for copy.
2995
2996 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
2997
2998         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
2999
3000 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
3001
3002         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
3003         elmo-copy-file instead of elmo-add-name-to-file.
3004
3005         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
3006
3007         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
3008         "file://..." index.
3009
3010         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
3011         of accept-process-output as 1.
3012         (elmo-pop3-read-contents): Ditto.
3013         (elmo-pop3-read-body): Ditto.
3014
3015 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3016
3017         * elmo-version.el (product-version-as-string): Remove define.
3018
3019 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
3020
3021         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
3022         (elmo-imap4-copy-messages): Chop number set using
3023         `elmo-imap4-number-set-chop-length'.
3024         (elmo-imap4-set-flag): Ditto.
3025         (elmo-imap4-search-internal-primitive): Ditto.
3026
3027 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3028
3029         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
3030         `elmo-folder-make-temp-dir'
3031
3032         * elmo-vars.el (elmo-cache-directory): New variable.
3033         (elmo-cache-dir): Abolished.
3034         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
3035
3036         * elmo-version.el (elmo-version): Up to 2.7.7.
3037
3038 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
3039
3040         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
3041         defcustom; Set default value as t.
3042
3043 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
3044
3045         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
3046         (ldap-search-program-arguments): Changed default value.
3047         (ldap-search-basic): Accept exit status 4.
3048         (ldap/field-body): Parse options.
3049         (ldap/collect-field): Ditto.
3050         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
3051
3052         * elmo-imap4.el (elmo-imap4-process-bye): New function.
3053         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
3054         (elmo-imap4-accept-ok): Ditto.
3055         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
3056         'notify-bye, only BYE error is reported.
3057         (elmo-folder-exists-p-plugged): Set no-error argument of
3058         `elmo-imap4-session-select-mailbox' as 'notify-bye.
3059
3060         * elmo.el (elmo-imap4-bye-error): Changed message.
3061
3062         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
3063         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
3064         queues (It causes infinite loop).
3065
3066 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3067
3068         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
3069         (RECENT UNSEEN MESSAGES) extension.
3070
3071 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
3072
3073         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
3074         Check number of overview fields.
3075
3076 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
3077
3078         * elmo.el (elmo-folder-confirm-appends): Changed message.
3079         (elmo-folder-confirm-appends): Ditto.
3080
3081         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
3082         `with-temp-buffer'.
3083         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
3084
3085 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
3086
3087         * elmo.el (elmo-folder-confirm-appends): Check whether the value
3088         of elmo-folder-update-threshold is nil, which can be set by
3089         wl-summary-update-confirm-threshold.
3090
3091 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
3092
3093         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
3094         (elmo-nmz-index-alias-alist): Ditto.
3095         (elmo-map-folder-list-message-locations): Follow the change above.
3096
3097 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3098
3099         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
3100
3101         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
3102
3103         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
3104
3105         * elmo-util.el (elmo-read): Ditto.
3106         (elmo-display-error): Ditto.
3107
3108         * elmo-vars.el (elmo-date-match): Ditto.
3109
3110         * pldap.el (ldap-coding-system): Ditto.
3111
3112         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
3113         `elmo-inhibit-number-mapping' as nil.
3114
3115 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
3116
3117         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
3118         space delimiter for list response.
3119
3120 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
3121
3122         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
3123
3124 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
3125
3126         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
3127         (elmo-map-message-fetch): Fix.
3128         * elmo-map.el (elmo-folder-status): Fix for killed.
3129
3130 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
3131
3132         * elmo-sendlog.el: New file.
3133         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
3134
3135 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
3136
3137         * acap.el (acap-logging-out): New buffer local variable.
3138         (acap-close): Set it.
3139         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
3140         an error.
3141
3142 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
3143
3144         * acap.el (acap-response-bye-p): New function.
3145         (acap-response-bye-message): Ditto.
3146         (acap-wait-for-response): If bye response is received, cause an error.
3147         (acap-parse-response): Make bye response when 'Bye' is received.
3148
3149 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
3150
3151         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3152
3153 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3154
3155         * elmo-util.el (elmo-copy-file): Added argument
3156         `ok-if-already-exists'.
3157         (elmo-copy-file): Fixed typo.
3158
3159 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
3160
3161         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3162
3163 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
3164
3165         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
3166
3167 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
3168
3169         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
3170         to killed-list.
3171
3172 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
3173
3174         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
3175         (elmo-folder-initialize): Fix for `copy'.
3176         (elmo-pipe-drain): Ditto.
3177         (elmo-folder-open-internal): Ditto.
3178         (elmo-folder-newsgroups): Fix.
3179
3180 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
3181
3182         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
3183         for each message.
3184
3185         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
3186         recent value is returned from imap folder.
3187
3188         * elmo.el (elmo-folder-newsgroups): New generic function.
3189
3190         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
3191         (elmo-folder-initialize): Set it.
3192         (elmo-folder-expand-msgdb-path): Use it.
3193         (elmo-folder-newsgroups): Define.
3194
3195         * elmo-filter.el (elmo-folder-newsgroups): Define.
3196
3197         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
3198
3199         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
3200
3201         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
3202
3203 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3204
3205         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
3206         user option.
3207         (elmo-shimbun-header-extra-field): New inline function.
3208         (elmo-shimbun-header-set-extra-field): Ditto.
3209         (elmo-shimbun-folder-header-hash-setup): Ditto.
3210         (elmo-shimbun-update-overview): Ditto.
3211         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
3212         (elmo-shimbun-folder-setup): Use
3213         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
3214         (elmo-shimbun-get-headers): Ditto.
3215         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
3216         Insert `X-Shimbun-Id:' header if extra field is set.
3217         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
3218         field's value instead of `shimbun-header-id'.
3219
3220         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
3221         inline function.
3222         (elmo-msgdb-overview-entity-set-date): Ditto.
3223         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3224
3225 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3226
3227         * mmimap.el (mmimap-entity-section): Changed body node number from
3228         "0" to "1".
3229
3230 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3231
3232         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
3233         `elmo-folder-delete-messages'.
3234
3235         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
3236         (elmo-folder-initialize): Changed to expand alias into index path.
3237
3238         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
3239         `elmo-mime-insert-header-from-buffer' with 6th arg
3240         `sorted-fields'.
3241
3242 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
3243
3244         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
3245
3246         * elmo.el (elmo-diff-new): New inline function.
3247         (elmo-diff-unread): Ditto.
3248         (elmo-diff-all): Ditto.
3249
3250         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
3251         value from responseb.
3252         (elmo-imap4-folder-diff-plugged): Ditto.
3253         (elmo-imap4-server-diff-async): Added recent argument.
3254         (elmo-server-diff-async): Ditto.
3255         (elmo-imap4-folder-diff-plugged): Ditto.
3256
3257         * elmo-version.el (elmo-version): Up to 2.7.6.
3258
3259 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3260
3261         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
3262         in quoted-stirng.
3263
3264 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3265
3266         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
3267
3268         * elmo-imap4.el (elmo-folder-initialize): Ditto.
3269
3270         * elmo-nntp.el (elmo-folder-initialize): Ditto.
3271
3272         * elmo-multi.el (elmo-folder-initialize): Ditto.
3273
3274         * elmo-util.el (elmo-parse-token): New function.
3275         (elmo-parse-prefixed-element): Ditto.
3276
3277 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
3278
3279         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
3280         delete process.
3281         (elmo-imap4-accept-ok): Ditto.
3282
3283 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3284
3285         * mmimap.el (mime-imap-entity-header-string): Don't check first
3286         element of node-id is `0' (Follow last change).
3287
3288 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3289
3290         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
3291         assigned irregular node-id to nested multipart section.
3292         (initialize-instance): Followed above change.
3293
3294 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3295
3296         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
3297         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
3298         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
3299         `elmo-shimbun-get-headers');
3300         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
3301         visible article on summary exists in headers).
3302         (elmo-map-message-fetch): Cause an error when folder is unplugged.
3303
3304 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3305
3306         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
3307         definition.
3308
3309 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
3310
3311         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
3312
3313 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3314
3315         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
3316         header separator into loop condition.
3317
3318 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3319
3320         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
3321         Return duplicate folder if it has subfolder.
3322
3323 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
3324
3325         * elmo.el (elmo-make-folder): Add folder name error check.
3326
3327         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
3328         (elmo-nntp-encode-group-string): New inline function.
3329         (elmo-nntp-decode-group-string): Ditto.
3330         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
3331         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
3332         Use `not' instead of `null';
3333         Use elmo-nntp-decode-group-string.
3334
3335         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
3336
3337         * elmo-version.el (elmo-version): Up to 2.7.5.
3338
3339 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3340
3341         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
3342         Hide progress gauge if `elmo-folder-move-messages' exits
3343         nonlocally.
3344
3345 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
3346
3347         * elmo-imap4.el (elmo-folder-initialize): Use
3348         `elmo-imap4-encode-folder-string' for folder name.
3349
3350 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3351
3352         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
3353         `done'.
3354
3355 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3356
3357         * elmo-util.el (elmo-progress-counter-alist): New internal
3358         variable.
3359         (elmo-progress-counter-value): New macro.
3360         (elmo-progress-counter-all-value): Ditto.
3361         (elmo-progress-counter-format): Ditto.
3362         (elmo-progress-counter-set-value): Ditto.
3363         (elmo-progress-set): New function.
3364         (elmo-progress-clear): Ditto.
3365         (elmo-progress-notify): Ditto.
3366
3367         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
3368         counter.
3369
3370         * elmo.el (elmo-generic-folder-append-messages): Call
3371         `elmo-progress-notify'.
3372         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
3373
3374         * elmo-archive.el (elmo-folder-append-messages): Call
3375         `elmo-progress-notify'.
3376
3377         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
3378
3379         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
3380
3381         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3382
3383 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
3384
3385         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
3386         'Create'.
3387         (elmo-message-encache-dop): Added argument `read'.
3388
3389         * elmo-shimbun.el (elmo-message-encache): Ditto.
3390
3391         * elmo-net.el (elmo-message-encache): Ditto.
3392
3393         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
3394         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
3395         elmo-imap4-seen-messages.
3396         (elmo-folder-msgdb-create-plugged): Initialize
3397         elmo-imap4-seen-messages;
3398         Set seen mark on elmo-imap4-seen-messages.
3399
3400         * elmo-pipe.el (elmo-folder-message-file-p): Define.
3401
3402         * elmo.el (elmo-generic-folder-append-messages): Check return value of
3403         elmo-folder-append-buffer.
3404         (elmo-folder-encache): Added optional argument `read'.
3405         (elmo-message-encache): Ditto.
3406
3407         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
3408
3409         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
3410
3411         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
3412         if append buffer content succeds.
3413
3414 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
3415
3416         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
3417         elmo-display-progress.
3418
3419         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
3420         Set 4th argument of mime-display-message.
3421         (elmo-mime-display-as-is): Ditto.
3422
3423 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
3424
3425         * elmo-nmz.el (toplevel): Require 'mime-edit.
3426         (elmo-nmz-content-type-alist): Abolished.
3427         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
3428         content is not a message.
3429         (elmo-map-message-fetch): Changed behavior exept for message content;
3430         Detect mime-charset automatically, Use `mime-find-file-type' to detect
3431         content-type, Add From: and Subject: field.
3432
3433 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3434
3435         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
3436         (elmo-map-message-fetch): Add `Content-Type' field if contents is
3437         not a message.
3438
3439 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3440
3441         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
3442         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
3443
3444         * elmo-archive.el (elmo-folder-writable-p): Defined.
3445
3446         * elmo-cache.el (elmo-folder-writable-p): Ditto.
3447
3448         * elmo-filter.el (elmo-folder-writable-p): Ditto.
3449
3450         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
3451
3452         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
3453
3454         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
3455
3456         * elmo-mark.el (elmo-folder-writable-p): Ditto.
3457
3458         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
3459
3460         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
3461
3462 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3463
3464         * elmo-util.el (elmo-address-quote-specials): New function;
3465         Renamed from `wl-address-quote-specials'.
3466
3467 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3468
3469         * elmo-version.el (elmo-version): Up to 2.7.4.
3470
3471 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
3472
3473         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
3474
3475 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3476
3477         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
3478         both compile-time and run-time to avoid byte-compile warning.
3479
3480 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
3481
3482         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
3483
3484 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
3485
3486         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
3487         option.
3488         (elmo-mime-display-as-is-internal): Use it.
3489
3490         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
3491         if `read-passwd' is not defined.
3492
3493 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
3494
3495         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
3496         by original number.
3497         (elmo-folder-status): Call `elmo-folder-open-internal';
3498         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
3499         (elmo-folder-close-internal): Set location-alist as nil.
3500         (elmo-folder-clear): Define.
3501         (elmo-folder-check): Don't set location-alist as nil.
3502
3503         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
3504
3505 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
3506
3507         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
3508         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
3509
3510         * mmimap.el (mime-imap-entity::requested): New slot.
3511         (mime-imap-location-fetch-entity-p): New generic function.
3512         (mime-decode-parameters): Define using `defun-maybe'.
3513         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
3514         content-type structure.
3515         (mime-entity-body): Return empty body if
3516         `mime-imap-location-fetch-entity-p' returns nil in the first request.
3517
3518         * elmo.el (elmo-message-displaying): New variable.
3519
3520         * elmo-mime.el (elmo-mime-message-display): Bind
3521         elmo-message-displaying as t.
3522
3523         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
3524
3525 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
3526
3527         * acap.el (acap-open): erase buffer before starting network process.
3528         (acap-store): Rewrite.
3529
3530 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
3531
3532         * elmo-imap4.el (elmo-imap4-default-mailbox,
3533         elmo-imap4-default-server
3534         elmo-imap4-default-authenticate-type,
3535         elmo-imap4-default-user,
3536         elmo-imap4-default-port,
3537         elmo-imap4-default-stream-type,
3538         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
3539
3540         * elmo-pop3.el (elmo-pop3-default-user,
3541         elmo-pop3-default-server,
3542         elmo-pop3-default-authenticate-type,
3543         elmo-pop3-default-port,
3544         elmo-pop3-default-stream-type,
3545         elmo-pop3-stream-type-alist): Ditto.
3546
3547         * elmo-nntp.el (elmo-nntp-default-server,
3548         elmo-nntp-default-user,
3549         elmo-nntp-default-port,
3550         elmo-nntp-default-stream-type,
3551         elmo-nntp-stream-type-alist): Ditto.
3552
3553         * elmo-vars.el: Follow changes above.
3554         (elmo-setting): New custom group; added 'elmo-setting group to
3555         above variables.
3556
3557         * elmo-version.el (elmo-version): Up to 2.7.3.
3558
3559         * acap.el (acap-parse-response): Don't delete process when BYE
3560         response (It causes hang-up on slow network environment).
3561         (toplevel): Added comment.
3562
3563 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
3564
3565         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
3566
3567         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
3568         parsing NIL.
3569         (acap-parse-return-metadata): Ditto.
3570
3571         * slp.el: New file.
3572         (toplevel): Fixed typo.
3573
3574         * acap.el: New file.
3575         (acap-network-stream-open): Show "Connecting..." message.
3576         (acap-parse-response): Fixed problem for BYE untagged response.
3577         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
3578         (toplevel): Added tiny comments.
3579
3580 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
3581
3582         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
3583         space delimiter for uidl response.
3584
3585 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
3586
3587         * elmo-vars.el (elmo-use-semi): Eliminated.
3588
3589         * elmo-util.el (elmo-string-assoc-all): New function.
3590
3591 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3592
3593         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
3594         property 'mime-preview-situation for `mime-preview-quit'.
3595
3596 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3597
3598         * elmo.el (elmo-message-fetch-with-cache-process): Call
3599         elmo-message-fetch-internal instead of causing an error when fetch
3600         strategy is 'entire but only 'section cache is available.
3601
3602 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
3603
3604         * elmo-version.el (elmo-version): Up to 2.7.2.
3605
3606         * elmo.el (elmo-generic-folder-append-messages): Make
3607         fetch-strategy with `use-cache'.
3608
3609         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
3610         (elmo-dop-queue-method-name): New macro.
3611
3612 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3613
3614         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
3615         unbalanced parenthesis.
3616
3617 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
3618
3619         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
3620
3621 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
3622
3623         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
3624         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
3625
3626 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3627
3628         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
3629         local variables.
3630
3631 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3632
3633         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
3634         (elmo-message-use-cache-p): Define.
3635         (elmo-folder-msgdb-create): Treat cache.
3636
3637 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
3638
3639         * elmo-nntp.el (elmo-network-initialize-session): Call
3640         `elmo-nntp-send-mode-reader'.
3641         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
3642
3643 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
3644
3645         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
3646         alist.
3647         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
3648         assoc.
3649
3650         * elmo-net.el (elmo-network-get-session): Set stream-type argument
3651         for `elmo-plugged-p'.
3652         (elmo-open-network-stream): Fixed stream-type argument.
3653
3654 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
3655
3656         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
3657         unknown archive type is specified.
3658
3659 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
3660
3661         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
3662
3663         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
3664         while loading msgdb.
3665
3666         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
3667         (elmo-folder-open-internal): Rewrite.
3668
3669 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3670
3671         * elmo-mime.el (elmo-mime-display-as-is-internal):
3672         Adjust buffer-multibyte status.
3673
3674 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3675
3676         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
3677         of elmo-condition-find-key.
3678
3679         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
3680         (elmo-condition-in-msgdb-p): Ditto.
3681         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
3682         argument.
3683
3684 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3685
3686         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
3687
3688 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
3689
3690         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
3691         label for elmo-display-progress.
3692
3693 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
3694
3695         * elmo.el (elmo-folder-clear): New method.
3696         (elmo-folder-clear): Define.
3697         (elmo-folder-synchronize): Call `elmo-folder-clear'.
3698
3699         * elmo-shimbun.el (elmo-folder-check): Rewrite.
3700         (elmo-folder-clear): Define.
3701
3702         * elmo-map.el (elmo-folder-clear): Define.
3703
3704         * elmo-version.el (elmo-version): Up to 2.7.1.
3705
3706 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
3707
3708         * elmo.el (elmo-folder-synchronize): Return list of nil when no
3709         updates.
3710
3711 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
3712
3713         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
3714         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
3715
3716 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
3717
3718         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
3719
3720         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
3721         and re-written.
3722
3723         * elmo-imap4.el (elmo-folder-initialize): Use
3724         elmo-get-network-stream-type.
3725
3726         * elmo-nntp.el (elmo-folder-initialize): Ditto.
3727
3728         * elmo-pop3.el (elmo-folder-initialize): Ditto.
3729
3730 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
3731
3732         * elmo.el (elmo-message-encache): Set unread argument for
3733         elmo-message-fetch.
3734
3735         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
3736
3737         * elmo.el (elmo-net-port-info): New method.
3738
3739         * elmo-shimbun.el (elmo-net-port-info): Define.
3740         (elmo-message-encache): Ditto.
3741
3742         * elmo-net.el (elmo-net-port-info): Define as method.
3743
3744         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
3745         unplugged status when elmo-enable-disconnected-operation is t.
3746
3747         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
3748         of spool folder before checking new number.
3749
3750 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
3751
3752         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
3753         (elmo-network-setup-session): Ditto.
3754         (elmo-message-fetch-plugged): Ditto.
3755         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
3756         (elmo-network-initialize-session): Ditto.
3757         (elmo-pop3-read-response): Abolish 3rd argument.
3758         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
3759         (elmo-pop3-read-contents): Ditto.
3760         (elmo-pop3-read-body): Ditto.
3761         (elmo-folder-status): Call elmo-folder-close.
3762         (elmo-pop3-lock): Abolish.
3763         (elmo-pop3-unlock): Ditto.
3764         (elmo-pop3-locked-p): Ditto.
3765         (elmo-folder-check): Don't call elmo-pop3-locked-p.
3766
3767 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
3768
3769         * elmo-version.el (elmo-version): Up to 2.7.0.
3770
3771         * elmo-pop3.el (elmo-pop3-debug): New variable.
3772         (elmo-pop3-debug-inhibit-logging): Ditto.
3773         (elmo-pop3-debug): New function.
3774         (elmo-pop3-send-command): Call elmo-pop3-debug.
3775         (elmo-pop3-read-response): Added keep-lock optional argument;
3776         Don't unlock if keep-lock is non-nil.
3777         (elmo-pop3-process-filter): Call elmo-pop3-debug.
3778         (elmo-network-authenticate-session): Bind
3779         elmo-pop3-debug-inhibit-logging as t.
3780         (elmo-network-setup-session): Call elmo-pop3-read-response with
3781         keep-lock argument.
3782         (elmo-pop3-read-msg): Ditto.
3783         (elmo-pop3-locked-p): Call elmo-pop3-debug.
3784         (elmo-pop3-read-body): Call elmo-pop3-unlock.
3785         (elmo-network-initialize-session): Call elmo-pop3-lock.
3786         (elmo-folder-close-internal): Don't clear location-alist slot.
3787         (elmo-folder-check): Clear location-alist slot.
3788
3789 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
3790
3791         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
3792         (elmo-pop3-send-command): Call elmo-pop3-lock.
3793         (elmo-pop3-read-response): Call elmo-pop3-unlock.
3794         (elmo-pop3-read-contents): Ditto.
3795         (elmo-pop3-lock): New function.
3796         (elmo-pop3-unlock): Ditto.
3797         (elmo-pop3-locked-p): Ditto.
3798         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
3799         returns t.
3800
3801 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
3802
3803         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
3804
3805         * elmo-util.el (elmo-file-field-primitive-condition-match):
3806         New inline function (Don't fetch file content if "first" or "last").
3807         (elmo-file-field-condition-match): Use
3808         elmo-file-field-primitive-condition-match.
3809
3810         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
3811         "first".
3812
3813         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
3814         (elmo-message-fetch-plugged): Fixed.
3815
3816         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
3817
3818 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
3819
3820         * elmo.el (elmo-folder-move-messages): Bind
3821         elmo-inhibit-display-retrieval-progress as t while moving messages.
3822
3823         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
3824         New variable.
3825         (elmo-inhibit-display-retrieval-progress): Ditto.
3826
3827         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
3828         for retrieval progress;
3829         Don't display progress when total buffer size is smaller than
3830         elmo-display-retrieval-progress-threshold.
3831         (elmo-message-fetch-plugged): Don't display progress when
3832         elmo-inhibit-display-retrieval-progress is non-nil.
3833
3834         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
3835         for retrieval progress;
3836         Don't display progress when literal size is smaller than
3837         elmo-display-retrieval-progress-threshold.
3838         (elmo-imap4-message-fetch): Don't display progress when
3839         elmo-inhibit-display-retrieval-progress is non-nil.
3840
3841 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3842
3843         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
3844         (elmo-imap4-find-next-line): Display progress whille literal fetching.
3845         (elmo-imap4-message-fetch): Likewise.
3846
3847         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
3848         (elmo-shimbun-index-range-alist): Ditto.
3849         (elmo-shimbun-use-entire-index): Abolish.
3850         (shimbun-mua-use-entire-index): Ditto.
3851         (elmo-shimbun-folder): Added new slot `range'.
3852         (elmo-folder-initialize): Setup slot `range'.
3853
3854 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
3855
3856         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
3857         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
3858         (elmo-shimbun-get-headers): Use return value of
3859         `shimbun-article-expiration-days'.
3860         (elmo-folder-close-internal): Clean up last-check slot.
3861
3862         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
3863         (elmo-pop3-total-size): New variable.
3864         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
3865
3866         * elmo.el (elmo-folder-reserve-status-p): New method.
3867
3868         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
3869         (elmo-shimbun-use-entire-index): New user option.
3870         (shimbun-elmo-mua): New class.
3871         (shimbun-mua-search-id): Define.
3872         (shimbun-mua-use-entire-index): Ditto.
3873         (elmo-shimbun-folder:last-check): New slot.
3874         (elmo-shimbun-headers-cache-header-list): Abolish.
3875         (elmo-shimbun-headers-cache-set-header-list): Ditto.
3876         (elmo-shimbun-headers-cache-header-hash): Ditto.
3877         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
3878         (elmo-shimbun-headers-cache-last-check): Ditto.
3879         (elmo-shimbun-headers-cache-set-last-check): Ditto.
3880         (elmo-shimbun-headers-check-p): Rewrite.
3881         (elmo-shimbun-msgdb-to-headers): New function.
3882         (elmo-shimbun-get-headers): Rewrite.
3883         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
3884         (elmo-folder-open-internal): Get headers only if
3885         `elmo-shimbun-headers-check-p' is non-nil.
3886         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
3887         is non-nil.
3888         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
3889         (elmo-quit): Removed.
3890
3891         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
3892         function.
3893         (elmo-msgdb-overview-entity-set-extra): Ditto.
3894         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
3895
3896         * elmo-map.el (elmo-folder-status): Don't call
3897         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
3898         is non-nil.
3899
3900 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3901
3902         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
3903         of `elmo-msgdb-search-internal-primitive' when condition's car is
3904         `and' or `or'.
3905
3906 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
3907
3908         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
3909
3910 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3911
3912         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
3913         call `elmo-pipe-drain'.
3914
3915 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3916
3917         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
3918         typo. (elmo-cache-folder -> elmo-mark-folder)
3919
3920 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3921
3922         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
3923         `elmo-message-fetch'.
3924
3925 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3926
3927         * elmo-net.el (elmo-message-encache): Fixed typo.
3928         (elmo-message-fetch-unplugged): Changed call
3929         `elmo-message-fetch-internal' without argument `outbuf'.
3930
3931 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
3932
3933         * elmo.el (elmo-message-encache): Define as generic function.
3934         (elmo-message-fetch-field): New generic function.
3935         (elmo-message-fetch-with-cache-process): Cause an error when
3936         fetch strategy is 'entire but only 'section cache is available.
3937         (toplevel): Fixed nmz folder definition.
3938
3939         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
3940         (elmo-msgdb-resume-list-filename): Ditto.
3941         (elmo-queue-filename): Ditto.
3942         (elmo-enable-disconnected-operation): Changed default value to t.
3943
3944         * elmo-util.el (elmo-cache-path-section-p): New function.
3945         (elmo-file-cache-get): Use it.
3946         (elmo-dop-queue-filename): Moved from elmo-dop.el.
3947         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
3948         (elmo-dop-queue-save): Ditto.
3949
3950         * elmo-net.el (elmo-folder-status-unplugged): Call
3951         elmo-folder-status-dop.
3952         (elmo-folder-list-messages-unplugged): Implemented.
3953         (elmo-folder-delete-messages-unplugged): Define.
3954         (elmo-folder-msgdb-create): Define.
3955         (elmo-folder-msgdb-create-unplugged): Define.
3956         (elmo-folder-mark-as-read-unplugged): Ditto.
3957         (elmo-folder-unmark-read-unplugged): Ditto.
3958         (elmo-folder-mark-as-important-unplugged): Ditto.
3959         (elmo-folder-unmark-important-unplugged): Ditto.
3960         (elmo-message-encache): Ditto.
3961
3962         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
3963         (elmo-dop-queue-save): Ditto.
3964
3965         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
3966         `elmo-folder-msgdb-create'.
3967         (elmo-folder-append-buffer): Implemented unplugged operation.
3968         (elmo-folder-append-messages): Call parent method in unplugged status.
3969         (elmo-message-fetch-unplugged): Removed definition.
3970         (elmo-message-fetch-field): Implemented.
3971
3972         * elmo-dop.el (toplevel): Require 'elmo-localdir.
3973         (elmo-dop-folder): Removed variable definition.
3974         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
3975         (elmo-dop-queue-flush): Implemented.
3976         (elmo-dop-queue-merge): Removed definition (TODO).
3977         (elmo-dop-spool-folder): New function.
3978         (elmo-dop-spool-folder-append-buffer): Ditto.
3979         (elmo-dop-spool-folder-list-messages): Ditto.
3980         (elmo-dop-list-deleting-messages): Ditto.
3981         (elmo-folder-append-buffer-dop): Ditto.
3982         (elmo-folder-delete-messages-dop): Ditto.
3983         (elmo-message-encache-dop): New inline function.
3984         (elmo-create-folder-dop): Ditto.
3985         (elmo-folder-mark-as-read-dop): Ditto.
3986         (elmo-folder-unmark-read-dop): Ditto.
3987         (elmo-folder-mark-as-important-dop): Ditto.
3988         (elmo-folder-unmark-important-dop): Ditto.
3989         (elmo-folder-status-dop): Fixed.
3990         (elmo-folder-append-buffer-dop-delayed): New function.
3991         (elmo-folder-delete-messages-dop-delayed): Ditto.
3992         (elmo-dop-msgdb): Ditto.
3993
3994 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3995
3996         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
3997
3998 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3999
4000         * elmo.el (elmo-folder-move-messages): Fixed problem when
4001         `dst-folder' is 'null.
4002
4003 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4004
4005         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
4006         instead of current mark.
4007
4008         * elmo-multi.el (elmo-folder-list-importants-internal): No
4009         operation if importants is not list.
4010
4011         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
4012         Return t if importants is not list.
4013
4014         * elmo-map.el (elmo-map-folder-list-importants): Define.
4015         (elmo-folder-list-importants-internal): Check return value of
4016         `elmo-map-folder-list-importants-internal'.
4017
4018         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
4019
4020         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
4021
4022         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
4023
4024         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
4025
4026 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
4027
4028         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
4029         (Patch is provided by <kita@coe.nttdata.co.jp>).
4030
4031 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4032
4033         * elmo.el (elmo-folder-synchronize): Don't check important mark in
4034         mark folder.
4035
4036 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4037
4038         * elmo.el (elmo-message-fetch): Define.
4039         (elmo-message-fetch-with-cache-process): New generic method.
4040         (elmo-message-fetch-internal): New generic method.
4041         (elmo-folder-synchronize):
4042
4043         * elmo-archive.el (elmo-message-fetch-internal): Define.
4044         (elmo-message-fetch): Eliminated.
4045
4046         * elmo-localdir.el (elmo-message-fetch-internal): Define.
4047         (elmo-message-fetch): Eliminated.
4048
4049         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
4050         argument OUTBUF.
4051         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
4052
4053         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
4054         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
4055
4056         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
4057         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
4058
4059         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
4060
4061         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
4062
4063         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
4064
4065         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
4066         (elmo-message-fetch-unplugged): New generic method.
4067         (elmo-message-fetch-internal): Remove cache process (Renamed from
4068         `elmo-message-fetch').
4069
4070         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
4071         (elmo-message-fetch): Eliminated.
4072         (elmo-message-fetch-unplugged): Ditto.
4073
4074         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
4075
4076 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4077
4078         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
4079         of `to-be-deleted' from number-alist to number-list.
4080
4081 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4082
4083         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
4084         (elmo-folder-mark-as-important): Ditto.
4085
4086 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
4087
4088         * elmo.el (elmo-folder): Added process-duplicates slot.
4089
4090         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
4091         (elmo-folder-unmark-read): Ditto.
4092         (elmo-folder-unmark-important): Ditto.
4093         (elmo-folder-mark-as-important): Ditto.
4094
4095         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
4096         duplicated message processing.
4097
4098         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
4099
4100 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4101
4102         * elmo-util.el (elmo-list-subdirectories-1): New function.
4103         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
4104         (elmo-mapcar-list-of-list): New function.
4105
4106         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
4107         `elmo-mapcar-list-of-list' instead of `mapcar'.
4108
4109         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
4110
4111         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
4112         `elmo-have-link-count'. Return the fully qualified folder name.
4113
4114 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
4115
4116         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
4117         (elmo-shimbun-headers-cache): New internal variable.
4118         (elmo-shimbun-headers-cache-header-list): New inline function.
4119         (elmo-shimbun-headers-cache-set-header-list): Ditto.
4120         (elmo-shimbun-headers-cache-header-hash): Ditto.
4121         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
4122         (elmo-shimbun-headers-cache-last-check): Ditto.
4123         (elmo-shimbun-headers-cache-set-last-check): Ditto.
4124         (elmo-shimbun-lapse-seconds): Ditto.
4125         (elmo-shimbun-headers-cache-check-p): Ditto.
4126         (elmo-shimbun-get-headers): New function.
4127         (elmo-folder-open-internal): Call it.
4128         (elmo-quit): Define (Clear headers-cache).
4129
4130 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
4131
4132         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
4133
4134         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
4135         (elmo-msgdb-flist-save): Ditto.
4136
4137         * elmo-shimbun.el (elmo-folder-list-subfolders):
4138         Use `shimbun-groups' instead of `shimbun-groups-internal'.
4139         (elmo-folder-exists-p): Ditto.
4140
4141         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
4142         argument for `shimbun-header-insert'.
4143
4144 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
4145
4146         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
4147         at first time.
4148
4149         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
4150         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
4151
4152 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
4153
4154         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
4155         (elmo-folder-plugged-p): Define.
4156         (elmo-folder-set-plugged): Ditto.
4157         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
4158         (elmo-folder-list-messages-internal): Return t if unplugged.
4159         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
4160
4161         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
4162         when elmo-folder-list-messages-internal method of children returns t.
4163
4164         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
4165         pair is nil.
4166         (elmo-folder-open-internal): Don't update if unplugged status.
4167
4168 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
4169
4170         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
4171         new message.
4172
4173 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
4174
4175         * elmo-util.el (elmo-file-cache-save): Ignore errors.
4176
4177         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
4178         saving.
4179
4180 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
4181
4182         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
4183
4184         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
4185         (elmo-folder-open-internal): Set up headers slot.
4186         (elmo-folder-check): Call elmo-folder-close-internal and
4187         elmo-folder-open-internal.
4188         (elmo-folder-close-internal): Clean up headers slot.
4189
4190 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4191
4192         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
4193         exactly folder list.
4194         (elmo-folder-append-messages): Fixed append archive with prefix.
4195
4196         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
4197         make temp files with start-number.
4198
4199         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
4200
4201 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4202
4203         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
4204         argument `visible-only'.
4205         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
4206         instead of `if'.
4207
4208         * elmo-pop3.el (elmo-folder-open-internal): Check
4209         `elmo-inhibit-number-mapping' is non-nil.
4210
4211         * elmo-pipe.el (elmo-folder-status): Fixed.
4212
4213 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
4214
4215         * elmo.el (elmo-dop-queue-flush): Added autload setting.
4216
4217         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
4218         (elmo-folder-open-internal): Setup `header-hash' slot.
4219         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
4220         information.
4221         (elmo-map-message-fetch): Ditto.
4222
4223 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
4224
4225         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4226         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4227         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4228         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
4229
4230         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
4231
4232 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
4233
4234         * sb-airs.el: Added footer.
4235
4236         * shimbun.el (shimbun-article): Define as luna-method.
4237
4238         * sb-tcup.el: New file.
4239
4240         * sb-airs.el (toplevel): Require 'sb-mhonarc.
4241         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
4242
4243 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4244
4245         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
4246         (shimbun-get-headers): Ditto.
4247
4248         * elmo.el: Moved obsolete variable definitions from
4249         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
4250
4251         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
4252         groups.
4253
4254         * shimbun.el: New file.
4255
4256         * elmo-shimbun.el: New file.
4257
4258         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4259         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4260         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4261         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
4262
4263 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
4264
4265         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
4266         hierarchy is t.
4267
4268 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
4269
4270         * elmo.el (elmo-folder-msgdb): Define as macro.
4271         (elmo-folder-open): Added argument `load-msgdb'.
4272         (elmo-generic-folder-open): Ditto.
4273         (elmo-folder-encache): New function.
4274
4275         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
4276
4277         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
4278
4279         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
4280         Eliminated argument FOLDER and added argument MSGDB.
4281         (elmo-dop-queue-load): Moved from elmo-dop.el.
4282         (elmo-dop-queue-save): Ditto.
4283
4284         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
4285
4286         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
4287
4288         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
4289         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
4290         (elmo-filter-folder-list-importants-internal): Ditto.
4291
4292         * elmo-map.el (elmo-folder-pack-number): Ditto.
4293
4294         * elmo-mime.el (elmo-mime-message-display): Ditto.
4295
4296         * elmo.el (elmo-generic-folder-commit): Ditto.
4297         (elmo-folder-list-unreads): Ditto.
4298         (elmo-folder-list-importants): Ditto.
4299         (elmo-generic-folder-commit): Ditto.
4300         (elmo-message-set-mark): Ditto.
4301         (elmo-generic-folder-append-msgdb): Ditto.
4302         (elmo-folder-synchronize): Ditto.
4303         (elmo-folder-messages): Ditto.
4304         (elmo-init): Call elmo-dop-queue-load.
4305         (elmo-folder-list-messages): Ditto.
4306
4307         * elmo-nntp.el (elmo-folder-update-number): Ditto.
4308         (elmo-nntp-folder-process-crosspost): Ditto.
4309         (elmo-folder-list-unreads-internal): Ditto.
4310
4311         * elmo-dop.el: Removed old functions.
4312
4313 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
4314
4315         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
4316         `folder' to `msgdb'.
4317
4318 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
4319
4320         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
4321         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
4322
4323         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
4324         case-fold-search.
4325
4326 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
4327
4328         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
4329         defined.
4330
4331         * mmimap.el (toplevel): Require 'mime-parse and 'static.
4332         (mmimap-parse-parameters-from-list): Define as alias for
4333         `mime-decode-parameter-plist' if it is defined as function.
4334         (mmimap-make-mime-entity): Added argument `number'.
4335         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
4336         as 0.
4337         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
4338
4339         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
4340
4341         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
4342
4343         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
4344
4345 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
4346
4347         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
4348
4349         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
4350         when elmo-imap4-default-authenticate-type is nil.
4351         (elmo-folder-list-subfolders): Ditto
4352         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
4353         (elmo-imap4-fetch-callback-1-subr): Renamed from
4354         `elmo-imap4-fetch-callback-1' and define as inline function.
4355         (elmo-imap4-fetch-callback-1):
4356         Renamed from `elmo-imap4-fetch-callback'.
4357         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
4358
4359         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
4360         msgdb path (To keep compatibility with main trunk).
4361
4362         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
4363
4364         * elmo-util.el (elmo-make-file-cache): Moved position of
4365         some macros.
4366
4367         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
4368         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
4369         instead of `elmo-pop3-inhibit-uidl'.
4370         (elmo-folder-exists-p): Ditto.
4371         (elmo-pop3-folder-list-messages): Ditto.
4372
4373         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
4374         instead of `elmo-pop3-inhibit-uidl'.
4375         (elmo-folder-status): Ditto.
4376
4377         * elmo-dop.el (elmo-dop-folder): New variable.
4378         (elmo-dop-lock-message): Eliminated.
4379         (elmo-dop-unlock-message): Ditto.
4380         (elmo-dop-lock-list-load): Ditto.
4381         (elmo-dop-lock-list-save): Ditto.
4382         (elmo-dop-delete-folder): Ditto.
4383         (elmo-dop-rename-folder): Ditto.
4384
4385         * elmo.el: Removed incomplete commentary.
4386
4387 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4388
4389         * elmo.el (toplevel): Require 'elmo-version first;
4390         for little `recursive-load-depth' settings.
4391         Fix "ends here" comment.
4392
4393 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
4394
4395         * elmo-util.el (toplevel): Require 'poem;
4396         Some functions are moved from elmo-cache.el.
4397
4398         * elmo-net.el (toplevel): Require 'elmo-cache.
4399
4400         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
4401
4402         * elmo.el (toplevel): Ditto.
4403
4404         * elmo-cache.el: Rewrite with luna;
4405         Some functions are moved to elmo-util.el.
4406
4407         * elmo-internal.el (elmo-internal-folder-list): New variable.
4408         (elmo-internal-folder-initialize): Rewrite.
4409         (elmo-folder-list-subfolders): Ditto.
4410
4411         * elmo-cache.el (elmo-cache-search-all): Eliminated.
4412         (elmo-cache-collect-sub-directories): Ditto.
4413
4414 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
4415
4416         * elmo-version.el (elmo-version): Up to 2.5.8.
4417
4418         * elmo.el (elmo-folder-list-messages-mark-match): New function.
4419
4420         * elmo-util.el (elmo-list-insert): New function.
4421
4422 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
4423
4424         * elmo.el (elmo-init): New function.
4425         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
4426
4427         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
4428         (Renamed from `elmo-localdir-header-chop-length').
4429
4430         * elmo-pop3.el (elmo-pop3-use-cache,
4431         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
4432
4433         * elmo-nntp.el (elmo-message-fetch): Define.
4434         (elmo-message-fetch-unplugged): Ditto.
4435         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
4436         (elmo-nntp-use-cache): Ditto.
4437         (elmo-nntp-max-number-precedes-list-active): Ditto.
4438
4439         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
4440
4441         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
4442         `elmo-msgdb-insert-file-header'.
4443         Use `elmo-msgdb-file-header-chop-length'.
4444
4445         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
4446         `elmo-vars.el'.
4447
4448         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
4449         (elmo-cache-msgdb-create-overview-entity-from-file): Use
4450         `elmo-msgdb-insert-file-header'.
4451
4452         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
4453         Use new variable;
4454         Define obsolete variables with `elmo-define-obsolete-variable',
4455
4456         * elmo-util.el (elmo-warning-buffer-name): New constant.
4457         (elmo-warning): New function.
4458         (elmo-obsolete-variable-alist): New variable.
4459         (elmo-obsolete-variable-show-warnings): New variable.
4460         (elmo-define-obsolete-variable): New function.
4461         (elmo-resque-obsolete-variable): Ditto.
4462         (elmo-resque-obsolete-variables): Ditto.
4463
4464 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
4465
4466         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
4467         Eliminated.
4468
4469         * elmo-pop3.el, elmo-nntp.el: Use custom.
4470
4471 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
4472
4473         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
4474         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
4475
4476 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
4477
4478         * Luna-fy Kenichi OKADA's following changes.
4479         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
4480         `nohide'.
4481         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
4482
4483 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
4484
4485         * elmo-util.el (elmo-display-progress): Prefer
4486         `progress-feedback-with-label' to `lprogress-display'.
4487
4488 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
4489
4490         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
4491
4492 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
4493
4494         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
4495         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
4496         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
4497         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
4498         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
4499         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
4500         * elmo-archive.el (elmo-archive-list-folder): Ditto.
4501         * elmo-filter.el (elmo-filter-list-folder): Ditto.
4502         * elmo-internal.el (elmo-internal-list-folder): Ditto.
4503         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
4504         * elmo-multi.el (elmo-multi-list-folder): Ditto.
4505         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
4506         * elmo-dop.el (elmo-dop-list-folder): Ditto.
4507
4508 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
4509
4510         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
4511         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
4512
4513 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
4514
4515         * elmo.el (elmo-folder-process-crosspost): New generic method.
4516         (elmo-folder-writable-p): Ditto.
4517         (elmo-folder-message-appendable-p): Eliminated.
4518         (elmo-generic-folder-append-msgdb): Rewrite.
4519         (elmo-newsgroups-hashtb): New internal variable.
4520         (elmo-crosspost-message-set): Eliminated.
4521         (elmo-crosspost-message-delete): Ditto.
4522         (elmo-setup-subscribed-newsgroups): New function.
4523         (elmo-crosspost-message-alist-modified): New internal variable.
4524         (elmo-crosspost-message-alist-load): New function (Renamed from
4525         `wl-crosspost-alist-load').
4526         (elmo-crosspost-message-alist-save): Ditto (Renamed from
4527         `wl-crosspost-alist-save').
4528
4529         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
4530
4531         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
4532         `unreads'.
4533         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
4534         elmo-newsgroups-hashtb).
4535         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
4536         `elmo-nntp-folder-update-crosspost-message-alist'.
4537         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
4538         `elmo-nntp-groups-hashtb'.
4539         (elmo-nntp-make-groups-hashtb): Eliminated.
4540         (elmo-nntp-parse-newsgroups): New function (Renamed from
4541         `wl-parse-newsgroups').
4542         (elmo-folder-creatable-p, elmo-folder-writable-p,
4543         elmo-folder-close-internal, elmo-folder-mark-as-read,
4544         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
4545         Define.
4546         (elmo-nntp-folder-update-crosspost-message-alist): New function.
4547
4548         * elmo-net.el (elmo-message-fetch): Check buffer size.
4549
4550         * elmo-multi.el (elmo-multi-split-number-alist): New function.
4551
4552         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
4553
4554         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
4555         before `close' command.
4556
4557         * elmo.el (elmo-folder-list-unreads-internal): Added argument
4558         `mark-alist' (All other related portions are changed).
4559
4560 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
4561
4562         * elmo-util.el (elmo-create-hash-size): Eliminated.
4563         (elmo-make-hash) Make a hash with `one less than a power of two'
4564         length.
4565
4566         * elmo-vars.el (elmo-hash-minimum-size): New variable.
4567         (elmo-hash-maximum-size): Changed value.
4568
4569 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
4570
4571         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
4572         (elmo-mime-message-display-as-is): Ditto.
4573
4574 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
4575
4576         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
4577         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
4578
4579 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
4580
4581         * elmo-mark.el: New file.
4582
4583         * elmo-internal.el: Rewrite (Almost empty).
4584
4585 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
4586
4587         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
4588         (mime-imap-entity-header-string): Ditto.
4589         (mmimap-entity-section): Rewrite.
4590
4591 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4592
4593         * elmo-nmz.el: New file.
4594
4595         * elmo-pipe.el: Rewrite with luna.
4596
4597 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
4598
4599         * elmo-archive.el: Rewrite with luna.
4600
4601         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
4602         (elmo-folder-list-importants-internal): Ditto.
4603
4604 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
4605
4606         * elmo-archive.el (elmo-archive-version): Abolish.
4607         (toplevel) Removed `boso' comment.
4608
4609 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
4610
4611         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
4612         elmo-msgdb-add-msgs-to-seen-list-subr;
4613         Changed argument seen-marks to unread-marks.
4614
4615         * elmo-nntp.el: Rewrite with luna.
4616
4617 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
4618
4619         * elmo-filter.el: Rewrite with luna.
4620
4621 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
4622
4623         * elmo-pop3.el: Rewrite with luna.
4624
4625 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
4626
4627         * elmo-multi.el: Rewrite with luna.
4628
4629         * elmo-vars.el (elmo-use-killed-list): Abolish.
4630         All other related portions are changed.
4631         (elmo-filename-replace-string-alist): Renamed from
4632         elmo-msgid-replace-string-alist.
4633
4634 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
4635
4636         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
4637
4638         * elmo-map.el: New file.
4639         * elmo-maildir.el: Rewrite with luna.
4640
4641 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
4642
4643         * elmo.el: Changed meaning of `elmo-folder-commit'.
4644         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
4645
4646 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4647
4648         * elmo.el (elmo-folder-append-buffer): New function.
4649         (Renamed from `elmo-append-msg')
4650
4651 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
4652
4653         * elmo-mime.el: New file.
4654
4655 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
4656
4657         * elmo-cache.el: Rewrite.
4658
4659 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
4660
4661         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
4662
4663 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
4664
4665         * elmo-vars.el (elmo): New group.
4666         (elmo-strict-diff-folder-regexp): New variable.
4667
4668         * elmo-util.el (elmo-call-func): Abolish.
4669         (elmo-folder-get-type): Ditto.
4670         (elmo-*-get-spec): Ditto.
4671         (elmo-*-spec-*): Ditto.
4672         (elmo-imap4-identical-name-space-p): Ditto.
4673         (elmo-folder-identical-system-p): Ditto.
4674         (elmo-folder-direct-copy-alist): Ditto.
4675         (elmo-folder-direct-copy-p): Ditto.
4676
4677         * elmo-pipe.el (elmo-pipe-folder): New luna class.
4678         (elmo-folder-initialize): Define.
4679         (elmo-folder-get-primitive-list): Ditto.
4680
4681         * elmo-nntp.el (elmo-nntp-folder): New luna class.
4682         (elmo-folder-initialize): Define.
4683         Renamed `elmo-network-session-host-internal' to
4684         `elmo-network-session-server-internal'.
4685
4686         * elmo-multi.el (elmo-multi-folder): New luna class.
4687         (elmo-folder-initialize): Define.
4688         (elmo-folder-get-primitive-list): Ditto.
4689         (elmo-folder-contains-type): Ditto.
4690         (elmo-message-use-cache-p): Ditto.
4691
4692         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
4693         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
4694
4695         * elmo-maildir.el (elmo-maildir-folder): New luna class.
4696         (elmo-folder-initialize): Define.
4697
4698         * elmo-filter.el (elmo-filter-folder): New luna class.
4699         (elmo-folder-initialize): Define.
4700         (elmo-folder-get-primitive-list): Ditto.
4701         (elmo-folder-contains-type): Ditto.
4702
4703 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
4704
4705         * elmo-imap4.el: Rewrite with luna.
4706
4707         * mmimap.el: New file.
4708
4709         * mmelmo.el, mmelmo-imap4.el: Removed.
4710
4711         * elmo-net.el: Ditto.
4712
4713         * elmo-pop3.el (elmo-pop3-folder): New luna class.
4714         (elmo-folder-initialize): Define.
4715
4716         * elmo-archive.el (elmo-archive-folder): New luna class.
4717         (elmo-folder-initialize): Define.
4718
4719         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
4720         `elmo-folder-msgdb-path'.
4721         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
4722         `elmo-make-folder'.
4723
4724 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
4725
4726         * elmo.el: New file.
4727
4728         * elmo2.el: Renamed to elmo.el.
4729
4730 \f
4731 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
4732
4733         * elmo-cache.el (elmo-cache-expire-by-size): Count
4734         a disk usage for a cache file entry in KB even when
4735         its kind is a directory.
4736
4737 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
4738
4739         * elmo-version.el (elmo-version): Up to 2.5.7.
4740
4741 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4742
4743         * elmo-version.el (elmo-version): Up to 2.5.6.
4744
4745 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
4746
4747         * elmo-version.el (elmo-version): Up to 2.5.5.
4748
4749 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
4750
4751         * elmo-imap4.el (elmo-network-authenticate-session):
4752         Fixed a logic for response checking.
4753
4754 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
4755
4756         * elmo-net.el: Add autoload settings for `starttls-negotiate',
4757         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
4758         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
4759         `sasl-mechanisms'.
4760
4761         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
4762         for `starttls-open-stream' and `starttls-negotiate'.
4763
4764         * elmo-nntp.el: Remove autoload settings for
4765         `starttls-open-stream' and `starttls-negotiate'.
4766
4767         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
4768         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
4769         `luna-define-class' with `eval-and-compile'.
4770
4771 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
4772
4773         * elmo-util.el (elmo-read-search-condition-internal):
4774         Require an element of table for searching field.
4775
4776 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
4777
4778         * elmo-version.el (elmo-version): Up to 2.5.4.
4779
4780 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
4781
4782         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
4783
4784 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
4785
4786         * elmo-nntp.el (elmo-network-initialize-session): omitted.
4787
4788 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
4789
4790         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
4791         before greeting.
4792
4793 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
4794
4795         * elmo-imap4.el (elmo-imap4-delete-folder):
4796         Send "close" before "delete" (Use commented out line).
4797         (elmo-imap4-rename-folder): Ditto.
4798
4799         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
4800         folder string itself.
4801         (elmo-dop-list-deleted): New function.
4802         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
4803         killed.
4804
4805         * elmo-util.el (elmo-string-rassoc-all): New function.
4806
4807 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
4808
4809         * elmo-version.el (elmo-version): Up to 2.5.3.
4810
4811         * elmo-net.el (elmo-network-get-session): Changed logic for
4812         checking process status.
4813
4814         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
4815         process is nil;
4816         Changed logic for checking process status.
4817
4818 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
4819
4820         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
4821         before greeting.
4822         (elmo-network-setup-session): Set UIDL hash size according to
4823         the length of list response.
4824         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
4825         according to the length of list response;
4826         Return the length of list response.
4827         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
4828
4829 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
4830
4831         * elmo-imap4.el (toplevel): Require 'ssl.
4832         Add autoload 'starttls.
4833         * elmo-pop3.el (toplevel): Ditto.
4834         * elmo-nntp.el (toplevel): Ditto.
4835
4836 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4837
4838         * elmo-imap4.el (toplevel): defun at compile time.
4839         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
4840         sasl-next-step, sasl-step-data, sasl-step-set-data.
4841         * elmo-pop3.el (toplevel): Ditto.
4842
4843 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4844
4845         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
4846
4847 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4848
4849         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
4850         if error.
4851         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
4852         and `elmo-pop-auth-apop'.
4853
4854 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4855
4856         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
4857
4858 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4859
4860         * elmo-pop3.el (elmo-network-authenticate-session): Split
4861         encoded response value.
4862
4863 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4864
4865         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
4866         `elmo-pop3-force-login'.
4867         Redefine `sasl-mechanisms'.
4868         * elmo-vars.el (elmo-pop3-force-login): Ditto.
4869
4870 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4871
4872         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
4873         Delete `elmo-imap4-authenticator-alist'.
4874         (elmo-imap4-auth-cram-md5): Delete.
4875         (elmo-imap4-auth-digest-md5): Delete.
4876
4877 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
4878
4879         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
4880         (elmo-pop3-auth-scram-md5): Ditto.
4881         (elmo-pop3-auth-cram-md5): Ditto.
4882
4883 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
4884
4885         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
4886         Delete `elmo-pop3-authenticator-alist'.
4887
4888 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
4889
4890         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
4891         new SASL API.
4892         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
4893
4894 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4895
4896         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
4897
4898 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
4899
4900         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
4901         Fixed problem when `elmo-pop3-use-uidl' is nil.
4902         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
4903
4904 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
4905
4906         * elmo-version.el (elmo-version): Up to 2.5.2.
4907
4908 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
4909
4910         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
4911         New function.
4912         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
4913         (elmo-pop3-msgdb-create-as-numlist): Use it.
4914
4915         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
4916         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
4917
4918         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
4919         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
4920
4921 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
4922
4923         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
4924         when elmo-mark-as-read is called with second argument nil.
4925
4926 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
4927
4928         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
4929         Moved to elmo-util.el.
4930
4931         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
4932         Moved from elmo-pipe.el
4933
4934         * elmo-archive.el (elmo-archive-call-process): Enclose with
4935         static-if.
4936
4937         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
4938         "RFC822" (because RFC822.PEEK is obsolete).
4939         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
4940
4941 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
4942
4943         * elmo-archive.el (elmo-archive-call-process): Don't check for
4944         the exit status when Nemacs is running.
4945
4946 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
4947
4948         * elmo-net.el (elmo-network-session-password-key): Don't set default to
4949         'plain.
4950
4951         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
4952         (elmo-pop3-get-spec): Set default of auth to 'user.
4953
4954         * elmo-imap4.el (elmo-imap4-session-check):
4955         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
4956         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
4957         (elmo-imap4-auth-login): New function; Revival.
4958         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
4959         `elmo-imap4-auth-login'.
4960
4961 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4962
4963         * elmo2.el (toplevel): Move `product-provide' declare.
4964         * mmelmo.el (toplevel): Ditto.
4965
4966 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4967
4968         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
4969
4970 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
4971
4972         * elmo-util.el (elmo-folder-get-store-type): New function.
4973         (elmo-folder-direct-copy-p): Use it.
4974
4975 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4976
4977         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
4978         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
4979         and result of `elmo-imap4-use-flag-p'.
4980         (elmo-imap4-fetch-callback-1): Set mark according to
4981         the result of `elmo-imap4-use-flag-p'.
4982
4983 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
4984
4985         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
4986         (elmo-generic-list-folder-unread): Ditto.
4987         (elmo-folder-get-info): Ditto.
4988         (elmo-folder-set-info-max-by-numdb): Ditto.
4989         (elmo-folder-get-info-max): Ditto.
4990         (elmo-folder-get-info-length): Ditto.
4991         (elmo-folder-get-info-unread): Ditto.
4992         (elmo-folder-info-make-hashtb): Ditto.
4993
4994         * elmo2.el: Removed above functions.
4995
4996 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
4997
4998         * elmo-imap4.el (toplevel): Require 'ssl.
4999         Add autoload 'starttls.
5000         * elmo-pop3.el (toplevel): Ditto.
5001         * elmo-nntp.el (toplevel): Ditto.
5002
5003 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5004
5005         * elmo-imap4.el (toplevel): defun at compile time.
5006         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
5007         sasl-next-step, sasl-step-data, sasl-step-set-data.
5008         * elmo-pop3.el (toplevel): Ditto.
5009
5010 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5011
5012         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
5013
5014 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5015
5016         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
5017         if error.
5018         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
5019         and `elmo-pop-auth-apop'.
5020
5021 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5022
5023         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
5024
5025 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5026
5027         * elmo-pop3.el (elmo-network-authenticate-session): Split
5028         encoded response value.
5029
5030 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5031
5032         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
5033         `elmo-pop3-force-login'.
5034         Redefine `sasl-mechanisms'.
5035         * elmo-vars.el (elmo-pop3-force-login): Ditto.
5036
5037 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5038
5039         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
5040         Delete `elmo-imap4-authenticator-alist'.
5041         (elmo-imap4-auth-cram-md5): Delete.
5042         (elmo-imap4-auth-digest-md5): Delete.
5043
5044 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5045
5046         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
5047         (elmo-pop3-auth-scram-md5): Ditto.
5048         (elmo-pop3-auth-cram-md5): Ditto.
5049
5050 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
5051
5052         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
5053         Delete `elmo-pop3-authenticator-alist'.
5054
5055 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
5056
5057         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
5058         new SASL API.
5059         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
5060
5061 \f
5062 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
5063
5064         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
5065
5066 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
5067
5068         * elmo-nntp.el (elmo-nntp-get-folders-info):
5069         Fixed problem when '\' character is contained in user-id.
5070         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
5071
5072 \f
5073 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5074
5075         * elmo-imap4.el (elmo-imap4-delete-folder):
5076         Send "close" before "delete" (Use commented out line).
5077         (elmo-imap4-rename-folder): Ditto.
5078
5079         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
5080         folder string itself.
5081         (elmo-dop-list-deleted): New function.
5082         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
5083         killed.
5084
5085         * elmo-util.el (elmo-string-rassoc-all): New function.
5086
5087         * elmo-version.el (elmo-version): Up to 2.5.1.
5088
5089 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
5090
5091         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
5092
5093         * elmo-internal.el (elmo-internal-search): Fix last change.
5094
5095 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5096
5097         * elmo-internal.el (elmo-internal-search): Rewrite.
5098         (Fixed problem which is pointed out by Akihiro MOTOKI
5099         <motoki@da.jp.nec.com>)
5100
5101         * elmo-version.el (elmo-version): Up to 2.5.0.
5102
5103 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
5104
5105         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
5106
5107 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
5108
5109         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
5110         non-nil, make hierarchy.
5111
5112 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
5113
5114         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
5115         `elmo-pop3-use-uidl' must be bound to nil.
5116         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
5117
5118 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
5119
5120         * elmo-util.el (elmo-copy-file): Don't cause an error after
5121         `add-name-to-file' failed.
5122
5123         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
5124         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
5125
5126 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5127
5128         * elmo-version.el (elmo-version): Up to 2.3.93.
5129
5130 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5131
5132         * elmo-util.el (elmo-flatten): New function.
5133
5134 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5135
5136         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
5137         sync Author header.
5138         * elmo-cache.el (toplevel): Ditto.
5139         * elmo-database.el (toplevel): Ditto.
5140         * elmo-date.el (toplevel): Ditto.
5141         * elmo-dop.el (toplevel): Ditto.
5142         * elmo-filter.el (toplevel): Ditto.
5143         * elmo-imap4.el (toplevel): Ditto.
5144         * elmo-internal.el (toplevel): Ditto.
5145         * elmo-localdir.el (toplevel): Ditto.
5146         * elmo-localnews.el (toplevel): Ditto.
5147         * elmo-maildir.el (toplevel): Ditto.
5148         * elmo-msgdb.el (toplevel): Ditto.
5149         * elmo-multi.el (toplevel): Ditto.
5150         * elmo-net.el (toplevel): Ditto.
5151         * elmo-nntp.el (toplevel): Ditto.
5152         * elmo-pipe.el (toplevel): Ditto.
5153         * elmo-pop3.el (toplevel): Ditto.
5154         * elmo-util.el (toplevel): Ditto.
5155         * elmo-vars.el (toplevel): Ditto.
5156         * elmo2.el (toplevel): Ditto.
5157         * mmelmo-imap4.el (toplevel): Ditto.
5158         * mmelmo.el (toplevel): Ditto.
5159
5160         * elmo-version.el (elmo-version): Move to top.
5161
5162         * elmo-cache.el (toplevel): Fixed multiple Author header format.
5163         * elmo-imap4.el (toplevel): Ditto.
5164         * elmo-localdir.el (toplevel): Ditto.
5165         * elmo-msgdb.el (toplevel): Ditto.
5166         * elmo-nntp.el (toplevel): Ditto.
5167         * elmo-pop3.el (toplevel): Ditto.
5168         * elmo-version.el (toplevel): Ditto.
5169
5170         * elmo-localnews.el (toplevel): Added Keyword header.
5171
5172 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
5173
5174         * elmo-version.el (product-version-as-string): Defined using
5175         `defun-maybe'.
5176         (toplevel): Use it.
5177
5178         * elmo-localdir.el (toplevel): Updated copyright notice.
5179         * elmo-version.el (toplevel): Ditto.
5180         * elmo-msgdb.el (toplevel): Ditto.
5181         * elmo-imap4.el (toplevel): Ditto.
5182         * elmo-nntp.el (toplevel): Ditto.
5183         * elmo-pop3.el (toplevel): Ditto.
5184
5185 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
5186
5187         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
5188         messages.
5189
5190         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
5191         parameter value (It sometimes contains raw kanji).
5192
5193 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
5194
5195         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
5196         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
5197
5198 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
5199
5200         * elmo-imap4.el (elmo-network-initialize-session): Fix.
5201
5202 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
5203
5204         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
5205         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
5206
5207 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
5208
5209         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
5210         value if selecting folder succceeded.
5211         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
5212
5213 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5214
5215         * elmo-util.el (elmo-make-directory): Fixed permission lateral
5216         representation.
5217
5218         * elmo-util.el (elmo-string-matched-member): New function.
5219
5220 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5221
5222         * elmo-util.el (elmo-unintern): New macro.
5223         (elmo-number-set-member): Fixed docstring.
5224
5225         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
5226         tag token.
5227
5228 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
5229
5230         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
5231         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
5232
5233 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
5234
5235         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
5236         `no-error'.
5237         Added docstring.
5238         Return non-nil if selecting folder succeeded.
5239         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
5240
5241 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
5242
5243         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
5244         `file-name-completion' returns t.
5245         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
5246         (elmo-maildir-set-mark): Put `info' part to the files in the cur
5247         directory if it does not exist.
5248         (elmo-maildir-update-current): Use `while' instead of `mapcar'
5249         for iteration.
5250
5251 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
5252
5253         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
5254         enclosure (It's harmful in unplugged status).
5255
5256         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
5257
5258         * mmelmo-1.el: Removed.
5259
5260         * mmelmo-2.el: Ditto.
5261
5262         * mmelmo-imap4-1.el: Ditto.
5263
5264         * mmelmo-imap4-2.el: Ditto.
5265
5266         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
5267
5268         * mmelmo.el: Merged mmelmo-2.el.
5269
5270         * elmo-version.el (elmo-version): Up to 2.3.92.
5271
5272 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5273
5274         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
5275         elmo-update-number): Remove last period in "...done." message.
5276         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
5277         Ditto.
5278         * elmo-cache.el (elmo-cache-expire-by-size,
5279         elmo-cache-get-sorted-cache-file-list,
5280         elmo-cache-msgdb-create-as-numlist): Ditto.
5281         * elmo-dop.el (elmo-dop-save-pending-messages,
5282         (elmo-dop-flush-pending-append-operations): Ditto.
5283         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
5284         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
5285         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
5286         (elmo-localdir-pack-number): Ditto.
5287         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
5288         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
5289         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
5290         mime-write-entity-content): Ditto.
5291         * pldap.el (ldap-search-basic): Ditto.
5292
5293 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5294
5295         * elmo-version.el (elmo-version): Up to 2.3.91.
5296
5297         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
5298         Only when filter is 'last'.
5299
5300         * elmo-util.el (elmo-condition-atom-regexp): New constant.
5301         (elmo-condition-parse-search-value): Use it.
5302         (elmo-read-search-condition-internal): Quote value only when
5303         it is not an atom.
5304
5305 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
5306
5307         * elmo2.el (elmo-generic-folder-diff): Fix.
5308
5309 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
5310
5311         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
5312         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
5313         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
5314         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
5315         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
5316         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
5317
5318 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
5319
5320         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
5321         extra-fields.
5322
5323 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
5324
5325         * elmo-version.el (elmo-version): Up to 2.3.90.
5326
5327         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
5328         (elmo-imap4-list-folder-important): Ditto.
5329
5330 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
5331
5332         * elmo-nntp.el (elmo-network-initialize-session): Fix.
5333
5334 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
5335
5336         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
5337
5338 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
5339
5340         * elmo-nntp.el (elmo-network-initialize-session):
5341         Add starttls negotiation.
5342
5343 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5344
5345         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
5346         response.
5347         (elmo-network-setup-session): Define.
5348         Call `elmo-nntp-send-mode-reader' when session opened.
5349
5350 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
5351
5352         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
5353
5354 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
5355
5356         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
5357         an invalid SPACE character ahead of `SEARCH' command.  Move
5358         a valid SPACE character following `SEARCH' from conditional
5359         `format' arguments to control-strings.
5360
5361 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
5362
5363         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
5364         was succeeded.
5365
5366         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
5367
5368 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
5369
5370         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
5371         `w32-get-true-file-link-count' as t.
5372
5373         * elmo-imap4.el (elmo-imap4-read): Abolished.
5374         (Renamed to `elmo-read' and moved to elmo-util.el)
5375         All other related portions are changed.
5376
5377         * elmo-util.el (elmo-read): New function.
5378         (elmo-condition-parse-search-value): Use it.
5379
5380 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5381
5382         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
5383
5384         * elmo-nntp.el (elmo-nntp-session): Define.
5385         (elmo-nntp-setting): Abolished.
5386         All other related portions are changed.
5387         (elmo-nntp-get-server-command): Changed argument.
5388         (elmo-nntp-set-server-command): Ditto.
5389         (elmo-nntp-xover-p): Ditto.
5390         (elmo-nntp-set-xover): Ditto.
5391         (elmo-nntp-listgroup-p): Ditto.
5392         (elmo-nntp-set-listgroup): Ditto.
5393         (elmo-nntp-list-active-p): Ditto.
5394         (elmo-nntp-set-list-active): Ditto.
5395         (elmo-nntp-xhdr-p): Ditto.
5396         (elmo-nntp-set-xhdr): Ditto.
5397         (elmo-nntp-flush-connection): Abolished.
5398         (elmo-nntp-get-connection): Abolished.
5399         (elmo-nntp-get-session): New function.
5400         (elmo-network-initialize-session): Defined.
5401         (elmo-network-authenticate-session): Ditto.
5402         (elmo-nntp-send-mode-reader): Changed argument.
5403         (elmo-nntp-send-command): Changed argument.
5404         All other related portions are changed.
5405         (elmo-nntp-read-response): Ditto.
5406         (elmo-nntp-read-raw-response): Ditto.
5407         (elmo-nntp-read-contents): Ditto.
5408         (elmo-nntp-read-body): Ditto.
5409         (elmo-nntp-goto-folder): Abolished.
5410         (elmo-nntp-select-group): New function.
5411         All other related portions are changed.
5412         (This function substitutes `elmo-nntp-goto-folder')
5413         (elmo-nntp-msgdb-create-by-header): Rewrite.
5414         (elmo-nntp-get-overview): Eliminated.
5415         (elmo-nntp-get-message): Ditto.
5416         (elmo-nntp-open-connection) Abolished.
5417         (elmo-nntp-read-msg): Rewrite.
5418         (elmo-nntp-post): Ditto.
5419         (elmo-nntp-send-data): Abolished.
5420         (elmo-nntp-send-buffer): New function.
5421         (elmo-nntp-send-data-line): Define as inline function.
5422         (elmo-nntp-get-folders-info-prepare): Use session as key.
5423         (elmo-nntp-groups-read-response): Changed argument.
5424         (elmo-nntp-retrieve-headers): Ditto.
5425         (elmo-nntp-msgdb-create-message): Ditto.
5426
5427         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
5428         when searching by 'since' or 'before'.
5429
5430 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5431
5432         * elmo-version.el (toplevel): Use product-version-as-string for set
5433         verstion-string, if defined.
5434
5435 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
5436
5437         * elmo-util.el: Doc fixes.
5438
5439 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5440
5441         * elmo-archive.el (toplevel): Use product-provide.
5442         * elmo-cache.el (toplevel): Ditto.
5443         * elmo-database.el (toplevel): Ditto.
5444         * elmo-date.el (toplevel): Ditto.
5445         * elmo-dop.el (toplevel): Ditto.
5446         * elmo-filter.el (toplevel): Ditto.
5447         * elmo-imap4.el (toplevel): Ditto.
5448         * elmo-internal.el (toplevel): Ditto.
5449         * elmo-localdir.el (toplevel): Ditto.
5450         * elmo-localnews.el (toplevel): Ditto.
5451         * elmo-maildir.el (toplevel): Ditto.
5452         * elmo-msgdb.el (toplevel): Ditto.
5453         * elmo-multi.el (toplevel): Ditto.
5454         * elmo-net.el (toplevel): Ditto.
5455         * elmo-nntp.el (toplevel): Ditto.
5456         * elmo-pipe.el (toplevel): Ditto.
5457         * elmo-pop3.el (toplevel): Ditto.
5458         * elmo-util.el (toplevel): Ditto.
5459         * elmo-vars.el (toplevel): Ditto.
5460         * elmo2.el (toplevel): Ditto.
5461         * mmelmo-1.el (toplevel): Ditto.
5462         * mmelmo-2.el (toplevel): Ditto.
5463         * mmelmo-imap4-1.el (toplevel): Ditto.
5464         * mmelmo-imap4-2.el (toplevel): Ditto.
5465         * mmelmo-imap4.el (toplevel): Ditto.
5466         * mmelmo.el (toplevel): Ditto.
5467
5468 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
5469
5470         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
5471         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
5472
5473 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
5474
5475         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
5476         before splitting.
5477         (elmo-multi-split-number-alist): Ditto.
5478
5479 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5480
5481         * elmo-version.el: New file.  Use product.el.
5482         * elmo2.el: Add (require 'elmo-version).
5483         * elmo-vars.el (elmo-appname, elmo-version): Move to
5484         elmo-version.el
5485
5486 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5487
5488         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
5489         `elmo-msgdb-expand-path'.
5490         (elmo-msgdb-load): Ditto.
5491         Abolished 2nd argument. If 1st argument is not string, treat as spec.
5492         (elmo-generic-list-folder-unread): Rewrite.
5493         (elmo-generic-list-folder-important): Changed argument.
5494         (elmo-list-folder-unread): Ditto.
5495         (elmo-list-folder-important): Ditto.
5496         (elmo-folder-diff): Rewrite.
5497         (elmo-generic-folder-diff): New function.
5498         (elmo-multi-get-number-alist-list): Abolished
5499         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
5500         (elmo-multi-folder-diff): Moved to elmo-multi.el
5501         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
5502
5503         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
5504         `elmo-msgdb-expand-path'.
5505         (elmo-pop3-msgdb-create-as-numlist): Ditto.
5506         (elmo-pop3-read-msg): Ditto.
5507         (elmo-pop3-delete-msgs): Ditto.
5508         (elmo-pop3-folder-diff): New alias.
5509
5510         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
5511         `elmo-msgdb-expand-path'.
5512         (elmo-pipe-list-folder-unread): Changed arguments.
5513         (elmo-pipe-list-folder-important): Ditto.
5514         (elmo-pipe-folder-diff): New alias.
5515
5516         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
5517         `elmo-msgdb-expand-path'.
5518         (elmo-nntp-max-of-folder): Ditto.
5519         (elmo-nntp-msgdb-create): Ditto.
5520         (elmo-nntp-delete-msgs): Ditto.
5521         (elmo-nntp-folder-diff): New alias.
5522
5523         * elmo-multi.el (elmo-multi-folder-diff): New function.
5524         (elmo-multi-split-mark-alist): Ditto.
5525         (elmo-multi-split-number-alist): Ditto.
5526         (elmo-multi-mark-alist-list): Abolished (Renamed to
5527         elmo-multi-split-mark-alist).
5528         (elmo-multi-list-folder-unread): Rewrite.
5529         (elmo-multi-list-folder-important): Ditto.
5530         (elmo-multi-list-folder): Set `spec' as 1st argument for
5531         `elmo-msgdb-expand-path'.
5532         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
5533         instead of `elmo-multi-get-number-alist-list'.
5534
5535         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
5536         If 1st argument is not string, treat as spec.
5537         (elmo-list-folder-by-location): Set `spec' as 1st argument for
5538         `elmo-msgdb-expand-path'.
5539         (elmo-msgdb-flist-load): Ditto.
5540         (elmo-msgdb-flist-save): Ditto.
5541         (elmo-msgdb-delete-path): Ditto.
5542         (elmo-msgdb-rename-path): Ditto.
5543
5544         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
5545         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5546         (elmo-maildir-delete-mark-msgs): Ditto.
5547         (elmo-maildir-msgdb-create): Ditto.
5548         (elmo-maildir-read-msg): Ditto.
5549         (elmo-maildir-delete-msgs): Ditto.
5550         (elmo-maildir-list-folder-subr): Ditto.
5551         (elmo-maildir-search): Ditto.
5552         (elmo-maildir-get-msg-filename): Ditto.
5553         (elmo-maildir-pack-number): Ditto.
5554         (elmo-maildir-folder-diff): New alias.
5555
5556         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
5557
5558         * elmo-localdir.el (elmo-localdir-list-folder-subr):
5559         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5560         (elmo-localdir-folder-diff): New alias.
5561
5562         * elmo-internal.el (elmo-internal-list-folder-subr):
5563         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5564         (elmo-internal-list-folder-by-location): Ditto.
5565         (elmo-internal-msgdb-create): Ditto.
5566         (elmo-internal-delete-msgs): Ditto.
5567         (elmo-internal-read-msg): Ditto.
5568         (elmo-internal-folder-diff): New alias.
5569
5570         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
5571         (elmo-imap4-list-folder): Set `spec' as 1st argument for
5572         `elmo-msgdb-expand-path'.
5573         (elmo-imap4-list-folder-unread): Changed arguments.
5574         (elmo-imap4-list-folder-important): Ditto.
5575
5576         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
5577         (elmo-filter-list-folder-important): Ditto.
5578         (elmo-filter-folder-diff): New function.
5579
5580         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
5581
5582         * elmo-cache.el (elmo-cache-list-folder):
5583         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5584         (elmo-cache-copy-msgs): Ditto.
5585         (elmo-cache-folder-diff): New alias.
5586
5587         * elmo-archive.el (elmo-archive-list-folder-subr):
5588         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5589         (elmo-archive-get-archive-name): Ditto.
5590         (elmo-archive-create-file): Ditto.
5591         (elmo-archive-append-msg): Ditto.
5592         (elmo-archive-copy-msgs): Ditto.
5593         (elmo-archive-copy-msgs-froms): Ditto.
5594         (elmo-archive-get-msg-filename): Ditto.
5595         (elmo-archive-folder-diff): New alias.
5596
5597 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
5598
5599         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
5600         (elmo-pop3-stream-type-alist): New variable.
5601         (elmo-nntp-stream-type-alist): New variable.
5602
5603         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
5604         (elmo-kill-buffer): Ditto.
5605         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
5606         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
5607         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
5608         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
5609         (elmo-imap4-get-spec): Take into account
5610         `elmo-imap4-stream-type-alist'.
5611
5612 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
5613
5614         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
5615         (elmo-nntp-list-folders-get-cache): Ditto.
5616
5617 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
5618
5619         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
5620         character before 'uid'.
5621
5622 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
5623
5624         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
5625
5626         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
5627
5628         * elmo-util.el (elmo-number-set-member): New function.
5629         (elmo-number-set-append-list): Ditto.
5630         (elmo-number-set-append): Ditto.
5631
5632         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
5633         Use `elmo-number-set-member'.
5634         (elmo-living-messages): Ditto.
5635         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
5636         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
5637
5638         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
5639         (elmo-imap4-add-to-cont-list): Abolished.
5640         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
5641         instead of elmo-imap4-add-to-cont-list.
5642
5643         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
5644         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
5645
5646         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
5647
5648 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
5649
5650         * elmo-util.el (elmo-condition-parse-search-value):
5651         Fixed date parsing.
5652
5653 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5654
5655         * elmo-util.el (elmo-condition-find-key-internal): New function.
5656         (elmo-condition-find-key): Ditto.
5657
5658         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
5659         (elmo-msgdb-search-internal): Ditto.
5660         (elmo-msgdb-search): Ditto.
5661
5662 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5663
5664         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
5665         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
5666
5667         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
5668         (elmo-nntp-search-primitive): Fixed problem when condition is
5669         'unmatch'.
5670
5671         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
5672
5673         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
5674         (elmo-nntp-xhdr-p): New macro.
5675         (elmo-nntp-set-xhdr): Ditto.
5676         (elmo-nntp-parse-xhdr-response): New function.
5677         (elmo-nntp-retrieve-field): Ditto.
5678         (elmo-nntp-search-primitive): Ditto.
5679         (elmo-nntp-search): Implemented.
5680
5681         * elmo-date.el (elmo-date-make-sortable-string): New macro.
5682
5683         * elmo-archive.el (elmo-archive-search): Set all number list to
5684         `elmo-archive-field-condition-match'
5685
5686         * elmo-localdir.el (elmo-localdir-search): Likewise.
5687
5688         * elmo-maildir.el (elmo-maildir-search): Likewise.
5689
5690 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
5691
5692         * elmo-msgdb.el (elmo-living-messages): New function.
5693         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
5694         * elmo-cache.el (elmo-cache-list-folder): Ditto.
5695         * elmo-dop.el (elmo-dop-list-folder): Ditto.
5696         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
5697         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
5698         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
5699         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
5700         * elmo-multi.el (elmo-multi-list-folder): Ditto.
5701         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
5702         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
5703         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
5704
5705 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
5706
5707         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
5708
5709         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
5710
5711         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
5712
5713         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5714         arguments for `SEARCH' command.
5715         (elmo-imap4-parse-string): Set `POS' argument for char-after.
5716         All other related portions are changed.
5717
5718         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
5719
5720         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
5721         (elmo-list-folder-unread): Rewrite.
5722         (elmo-list-folder-important): Ditto.
5723
5724         * elmo-util.el (elmo-filter-get-spec): Rewrite.
5725         (elmo-condition-parse-error): New inline function.
5726         (elmo-read-search-condition): New function.
5727         (elmo-read-search-condition-internal): Ditto.
5728         (elmo-parse-search-condition): Rewrite.
5729         (elmo-condition-parse): New function.
5730         (elmo-condition-parse-or-expr): Ditto.
5731         (elmo-condition-parse-and-expr): Ditto.
5732         (elmo-condition-parse-primitive): Ditto.
5733         (elmo-condition-parse-search-value): Ditto.
5734         (elmo-buffer-field-primitive-condition-match): Ditto.
5735         (elmo-buffer-field-condition-match): Rewrite.
5736         (elmo-file-field-condition-match): Ditto.
5737
5738         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
5739         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
5740
5741         * elmo-internal.el (elmo-internal-search): Set `number' and
5742         `number-list' argument of `elmo-file-field-condition-match'.
5743
5744         * elmo-maildir.el (elmo-maildir-search): Ditto.
5745
5746         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
5747         `msgdb' as argument instead of `mark-alist'.
5748         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
5749         `overview'.
5750
5751         * elmo-multi.el: Likewise.
5752
5753         * elmo-pipe.el: Likewise.
5754
5755         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
5756         (elmo-imap4-search-internal): Rewrite.
5757         (elmo-imap4-search): Ditto.
5758
5759         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
5760         (elmo-filter-list-folder-unread): Ditto.
5761         (elmo-filter-list-folder-important): Ditto.
5762         (elmo-filter-search): Rewrite.
5763
5764         * elmo-cache.el (elmo-cache-search-all): Set `number' and
5765         `number-list' argument of `elmo-file-field-condition-match'.
5766         (elmo-cache-search): Ditto.
5767
5768         * elmo-localdir.el: Likewise.
5769
5770         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
5771         number-list and pass it to `elmo-buffer-field-condition-match'.
5772         (elmo-archive-field-condition-match): Pass `number-list' to
5773         `elmo-archive-field-condition-match'
5774
5775 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5776
5777         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
5778         `listgroup'.
5779
5780         * elmo2.el (elmo-folder-diff-async-callback): New variable.
5781         (elmo-folder-diff-async-callback-data): Ditto.
5782         (elmo-folder-diff-async): New function.
5783
5784         * elmo-net.el (elmo-network-session-name-prefix): New variable.
5785         (elmo-network-session-cache-key): Use it as a prefix of the session
5786         name.
5787         (elmo-network-open-session): Ditto.
5788
5789         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
5790         (elmo-imap4-status-callback-data): Ditto.
5791         (elmo-imap4-server-diff-async-callback): New variable.
5792         (elmo-imap4-server-diff-async-callback-data): Ditto.
5793         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
5794         `elmo-imap4-status-callback-data'.
5795         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
5796         `elmo-imap4-status-callback-data' as nil.
5797         (elmo-imap4-server-diff): Ditto.
5798         (elmo-imap4-server-diff-async-callback-1): New function.
5799         (elmo-imap4-server-diff-async): Ditto.
5800         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
5801
5802 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
5803
5804         * elmo-util.el (elmo-list-delete): Doc fix.
5805         (elmo-delete-lists): Abolish.
5806         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
5807         instead of `elmo-delete-lists'.
5808
5809 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5810
5811         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
5812         before `sort'.
5813
5814 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
5815
5816         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
5817         `elmo-imap4-literal-subr'.
5818         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
5819         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
5820
5821 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
5822
5823         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
5824         (elmo-archive-list-folder): Fix.
5825         (elmo-archive-max-of-folder): Fix.
5826
5827 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
5828
5829         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
5830          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
5831         (elmo-localdir-append-msg): Ditto.
5832         (elmo-localdir-list-folder): Fix for `nonsort'.
5833         (elmo-localdir-list-folder-subr): Fix for `killed'.
5834         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
5835         (elmo-maildir-list-folder-subr): Ditto.
5836         * elmo-archive.el (elmo-archive-list-folder): Ditto.
5837         (elmo-archive-list-folder-subr): Ditto.
5838         * elmo-internal.el (elmo-internal-list-folder): Ditto.
5839         (elmo-internal-list-folder-subr): Ditto.
5840
5841 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5842
5843         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
5844
5845 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
5846
5847         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
5848
5849 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5850
5851         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
5852         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5853
5854         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
5855         before greeting.
5856         (elmo-imap4-read-part): Use "body.peek" to fetch part.
5857         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5858
5859 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
5860
5861         * mmelmo-imap4-2.el (mime-entity-children): Defined.
5862
5863         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
5864         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
5865         before STORE command.
5866
5867 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
5868
5869         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
5870
5871         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
5872         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
5873         of `response'.
5874         (elmo-imap4-list-folders): Removed unused local variable.
5875         (elmo-network-initialize-session): Ditto.
5876         (elmo-imap4-delete-msg-by-id): Ditto.
5877         (elmo-imap4-parse-fetch): Ditto.
5878         (elmo-imap4-copy-msgs): Ditto.
5879         Use `dst-spec' instead of `dst-folder'.
5880         (elmo-network-authenticate-session): Check authenticate type `plain'.
5881
5882 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
5883
5884         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
5885         garbage checking.
5886         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
5887         `elmo-imap4-response-value'.
5888         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
5889
5890 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5891
5892         * elmo-imap4.el (elmo-imap4-send-command):
5893         Cause elmo-imap4-bye-error when current response is BYE.
5894         (elmo-imap4-arrival-filter): Changed greeting response value.
5895
5896         * elmo2.el (elmo-imap4-bye-error): Define.
5897
5898         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
5899         (elmo-imap4-server-diff): Ditto.
5900         (elmo-imap4-response-bye-p): New macro.
5901         (elmo-imap4-response-error-text): Get text from BYE response.
5902         (elmo-imap4-read-response): Return if BYE response.
5903         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
5904         (elmo-imap4-folder-exists-p): Ditto.
5905         (elmo-imap4-commit): Do nothing when different mailbox is selected.
5906         (elmo-imap4-parse-bye): New function.
5907         (elmo-imap4-parse-response): Remove needless let.
5908         Call `elmo-imap4-parse-bye'.
5909
5910 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
5911
5912         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
5913         the mailbox does not exist.
5914         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
5915
5916 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
5917
5918         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
5919
5920 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5921
5922         * elmo-vars.el (elmo-search-mime-charset): Abolished.
5923
5924         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
5925         (elmo-network-initialize-session-buffer): Defined.
5926
5927         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
5928         Abolished.
5929         (mmelmo-imap4-get-mime-entity): Rewrite.
5930
5931         * elmo2.el (elmo-error): Capitalize error message.
5932
5933         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
5934         (elmo-network-session-buffer): New macro.
5935         (elmo-network-open-session): Use it.
5936
5937         * elmo-imap4.el: Rewrite.
5938
5939 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5940
5941         * elmo-nntp.el (Toplevel): Require 'elmo-net.
5942
5943 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
5944
5945         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
5946         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
5947         (elmo-imap4-create-msgdb-from-overview-string): Use
5948         `elmo-msgdb-create-overview-from-buffer'.
5949
5950 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
5951
5952         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
5953         (elmo-imap4-default-hierarchy-delimiter): New variable.
5954         (elmo-imap4-list-folders): Use it.
5955
5956 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
5957
5958         * elmo-net.el (elmo-network-open-session): Add user and
5959         stream-type for process-buffer name.
5960
5961         * elmo-pop3.el (elmo-network-initialize-session): Call
5962         buffer-disable-undo.
5963
5964         * elmo-imap4.el (elmo-network-initialize-session):
5965         Set current-buffer as an argument for `buffer-disable-undo'.
5966
5967         * elmo-pop3.el (elmo-network-close-session): Don't use
5968         `process-live-p'.
5969
5970         * elmo-vars.el (elmo-default-pop3-authenticate-type):
5971         Set default as 'user.
5972
5973         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
5974
5975         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
5976         and `elmo-imap4-flush-connection'.
5977
5978         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
5979         (elmo-pop3-get-spec): Assume auth as symbol.
5980         (elmo-open-network-stream): Moved to `elmo-net'.
5981
5982         * elmo-pop3.el (toplevel): Require 'elmo-net.
5983         Define `sasl-cram-md5' to silence byte compilier.
5984         (elmo-pop3-connection-cache) Abolished.
5985         (elmo-pop3-authenticator-alist) New variable.
5986         (elmo-pop3-session): Define.
5987         (elmo-pop3-connection-get-process): Abolished.
5988         (elmo-pop3-connection-get-buffer): Ditto.
5989         (elmo-pop3-close-connection): Ditto.
5990         (elmo-pop3-flush-connection): Ditto.
5991         (elmo-pop3-get-connection): Ditto.
5992         (elmo-pop3-get-session): New function.
5993         (Replacement for `elmo-pop3-get-connection').
5994         All other related modules are changed.
5995         (elmo-network-close-session): Define.
5996         (elmo-pop3-send-command): Abolished argument `buffer'.
5997         All other related modules are changed.
5998         (elmo-pop3-read-response): Likewise.
5999         (elmo-pop3-open-connection): Abolished.
6000         (elmo-pop3-auth-user): New function.
6001         (elmo-pop3-auth-apop): Ditto.
6002         (elmo-pop3-auth-cram-md5): Ditto.
6003         (elmo-pop3-auth-scram-md5): Ditto.
6004         (elmo-pop3-auth-digest-md5): Ditto.
6005         (elmo-network-initialize-session): Define.
6006         (elmo-network-authenticate-session): Ditto.
6007         (elmo-network-setup-session): Ditto.
6008
6009         * elmo-imap4.el (toplevel): Require 'elmo-net.
6010         (elmo-imap4-session): Define.
6011         (elmo-imap4-connection-cache): Abolished.
6012         (elmo-imap4-password-key): Ditto.
6013         (elmo-imap4-flush-connection): Ditto.
6014         (elmo-imap4-get-connection): Ditto.
6015         All other related modules are changed.
6016         (elmo-imap4-get-session): New function
6017         (Replacement for `elmo-imap4-get-connection').
6018         (elmo-imap4-read-response): Abolished argument `buffer'.
6019         All other related modules are changed.
6020         (elmo-imap4-send-command): Likewise.
6021         (elmo-imap4-select-folder): Abolished.
6022         All other related modules are changed.
6023         (elmo-imap4-select-mailbox): New function.
6024         (Replacement for `elmo-imap4-select-folder').
6025         (elmo-imap4-auth-login): Simplify.
6026         (Assume current buffer as process buffer)
6027         (elmo-imap4-auth-cram-md5): Ditto.
6028         (elmo-imap4-auth-digest-md5): Ditto.
6029         (elmo-imap4-login): Ditto.
6030         (elmo-imap4-open-connection): Abolished.
6031         (elmo-imap4-open-connection-1): Abolished.
6032         (elmo-network-initialize-sessoin): Define.
6033         (elmo-network-authenticate-session): Ditto.
6034         (elmo-network-setup-session): Ditto.
6035
6036         * elmo-net.el: New module.
6037
6038 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
6039
6040         * elmo-util.el (elmo-define-error): New function.
6041
6042         * elmo2.el (elmo-error): Define.
6043         (elmo-open-error): Define.
6044         (elmo-authenticate-error): Define.
6045
6046         * elmo-imap4.el (elmo-imap4-error): Abolish.
6047         (elmo-imap4-error-type): Abolish.
6048         (elmo-imap4-error-process): Abolish.
6049         (elmo-imap4-error-message): Abolish
6050         (elmo-imap4-list-folders): Don't quote lambda.
6051         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
6052         (elmo-imap4-parse-namespace): Ditto.
6053         (elmo-imap4-open-connection): Rewrite.
6054         (elmo-imap4-open-connection-1): Simplified (authenticate only).
6055         (elmo-imap4-get-connection): Abolish local variable `result'.
6056
6057 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
6058
6059         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
6060         wrong-type-argument error when auth is nil.
6061
6062 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
6063
6064         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
6065         (elmo-default-nntp-stream-type): Ditto.
6066         (elmo-default-pop3-stream-type): Ditto.
6067         (elmo-network-stream-type-alist): Ditto.
6068         (elmo-default-imap4-ssl): Abolished.
6069         (elmo-default-nntp-ssl): Ditto.
6070         (elmo-default-pop3-ssl): Ditto.
6071
6072         * elmo-util.el: (toplevel): Removed needless requires.
6073         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
6074         (elmo-open-network-stream): Open network stream according to
6075         the value of `elmo-network-stream-type-alist'.
6076         (elmo-get-network-stream-type): New function.
6077         (elmo-network-stream-type-spec-string): New macro.
6078         (elmo-network-stream-type-symbol): Ditto.
6079         (elmo-network-stream-type-function): Ditto.
6080
6081         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
6082         network-stream-type. All other related portions are changed.
6083         (elmo-pop3-open-connection): Ditto.
6084
6085         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
6086         network-stream-type. All other related portions are changed.
6087
6088         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
6089         network-stream-type.All other related portions are changed.
6090         (elmo-imap4-error): New macro.
6091         (elmo-imap4-error-type): Ditto.
6092         (elmo-imap4-error-process): Ditto.
6093         (elmo-imap4-error-message): Ditto.
6094         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
6095         (elmo-imap4-auth-cram-md5): Ditto.
6096         (elmo-imap4-auth-digest-md5): Ditto.
6097         (elmo-imap4-login): Ditto.
6098         (elmo-imap4-open-connection): Remove password entry if authentication
6099         was in vain.
6100         (elmo-imap4-user-at-host): Abolished.
6101         (elmo-imap4-password-key): New buffer local variable.
6102         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
6103         using protocol, port, auth and stream-type.
6104
6105         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
6106
6107 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
6108
6109         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
6110
6111         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
6112
6113         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
6114         (elmo-imap4-authenticator-alist): New variable.
6115         (elmo-imap4-open-connection-1): Rename from
6116         elmo-imap4-open-connection.
6117         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
6118         only wraps elmo-imap4-open-connection-1.
6119         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
6120         user-at-host.
6121         (elmo-imap4-auth-login): New function.
6122         (elmo-imap4-auth-cram-md5): New function.
6123         (elmo-imap4-auth-digest-md5): New function.
6124         (elmo-imap4-login): New function.
6125
6126 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
6127
6128         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
6129         function `error'.
6130
6131 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
6132
6133         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
6134
6135 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
6136
6137         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
6138
6139 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
6140
6141         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
6142         for server responses, quote `*' regardless of where it appears.
6143
6144 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
6145
6146         * elmo-maildir.el (elmo-maildir-commit): New alias.
6147
6148 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
6149
6150         * elmo-util.el (elmo-display-progress):
6151                 Use `progress-feedback-with-label'.
6152
6153 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
6154
6155         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
6156         (elmo-imap4-non-atom-char-regex): Ditto.
6157         (elmo-imap4-non-text-char-regex): Ditto.
6158         (elmo-imap4-literal-threshold): Ditto.
6159         (elmo-imap4-atom-p): New function.
6160         (elmo-imap4-quotable-p): Ditto.
6161         (elmo-imap4-nil): Ditto.
6162         (elmo-imap4-atom): Ditto.
6163         (elmo-imap4-quoted): Ditto.
6164         (elmo-imap4-literal-subr): Ditto.
6165         (elmo-imap4-literal): Ditto.
6166         (elmo-imap4-buffer-literal): Ditto.
6167         (elmo-imap4-string-subr): Ditto.
6168         (elmo-imap4-string): Ditto.
6169         (elmo-imap4-buffer-string): Ditto.
6170         (elmo-imap4-astring-subr): Ditto.
6171         (elmo-imap4-astring): Ditto.
6172         (elmo-imap4-buffer-astring): Ditto.
6173         (elmo-imap4-nstring): Ditto.
6174         (elmo-imap4-buffer-nstring): Ditto.
6175         (elmo-imap4-mailbox): New alias.
6176         (elmo-imap4-field-body): Ditto.
6177         (elmo-imap4-userid): Ditto.
6178         (elmo-imap4-password): Ditto.
6179         (elmo-imap4-format-quoted): New function.
6180         (elmo-imap4-send-command): Rewritten.  Accept a list of command
6181         arguments and handle "atom", "quoted" and "literal" string here.
6182         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
6183         `elmo-imap4-send-command'.
6184         (elmo-imap4-folder-exists-p): Likewise.
6185         (elmo-imap4-create-folder): Likewise.
6186         (elmo-imap4-delete-folder): Likewise.
6187         (elmo-imap4-rename-folder): Likewise.
6188         (elmo-imap4-max-of-folder): Likewise.
6189         (elmo-imap4-check-validity): Likewise.
6190         (elmo-imap4-sync-validity): Likewise.
6191         (elmo-imap4-server-diff): Likewise.
6192         (elmo-imap4-select-folder): Likewise.
6193         (elmo-imap4-copy-msgs): Likewise.
6194         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
6195         (elmo-imap4-mark-set-on-msgs): Likewise.
6196         (elmo-imap4-read-part): Likewise.
6197         (elmo-imap4-read-msg): Likewise.
6198         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
6199         `elmo-imap4-password' for `elmo-imap4-send-command'.
6200         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
6201         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
6202         `elmo-imap4-buffer-literal'.
6203         (elmo-imap4-append-msg): Likewise.
6204
6205         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
6206         `delete' for removing dead connection from the connection cache.
6207         Move deletion of the process buffer after that.
6208         (elmo-imap4-list): Change `defsubst' to `defun'.
6209         (elmo-imap4-commit): Make error message verbose.
6210         (elmo-imap4-search): Ditto.
6211         (elmo-imap4-list): Ditto.
6212         (elmo-imap4-select-folder): Ditto.
6213         (elmo-imap4-copy-msgs): Ditto.
6214         (elmo-imap4-delete-msg-by-id): Ditto.
6215         (elmo-imap4-append-msg-by-id): Ditto.
6216         (elmo-imap4-append-msg): Ditto.
6217
6218 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6219
6220         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
6221         when dired is used on XEmacs.
6222
6223 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
6224
6225         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
6226         instead of `append'.
6227         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
6228         `elmo-plugged-p' directly.
6229         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
6230         of `elmo-plugged-p' directly.
6231
6232         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
6233         Eliminate unused variable.  Use `memq' for checking a process status.
6234         Use `cons' instead of `append' for updating the connection cache.
6235         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
6236         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
6237
6238 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
6239
6240         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
6241         `elmo-imap4-read-point' exactly.
6242
6243         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
6244         the local variable `folder' to `mailbox'.
6245         Rename the argument `fld' to `folder'.
6246
6247 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
6248
6249         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
6250         * elmo-imap4.el (elmo-imap4-commit): Ditto.
6251
6252 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
6253
6254         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
6255         (elmo-pop3-number-uidl-hash): New buffer-local variable.
6256         (elmo-pop3-uidl-number-hash): Ditto.
6257         (elmo-pop3-size-hash): Ditto.
6258         (elmo-pop3-uidl-done): Ditto.
6259         (elmo-pop3-list-done): Ditto.
6260         (elmo-pop3-connection-get-process): New defmacro.
6261         (elmo-pop3-connection-get-buffer): Ditto.
6262         (elmo-pop3-close-connection): Delete buffer and process.
6263         (elmo-pop3-flush-connection): Don't delete buffer and process.
6264         (elmo-pop3-get-connection): Added optional argument `if-exists'.
6265         Setup UIDL and size hash.
6266         (elmo-pop3-send-command-no-erase): Deleted
6267         (elmo-pop3-send-command): Added optional argument `no-erase'.
6268         (elmo-pop3-parse-uidl-response): New function.
6269         (elmo-pop3-parse-list-response): Set size hash.
6270         (elmo-pop3-list-location): New function.
6271         (elmo-pop3-list-by-uidl-subr): Ditto.
6272         (elmo-pop3-list-by-list): Ditto.
6273         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
6274         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
6275         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
6276         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
6277         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
6278         Use uidl.
6279         (elmo-pop3-uidl-to-number): New function.
6280         (elmo-pop3-number-to-uidl): Ditto.
6281         (elmo-pop3-number-to-size): Ditto.
6282         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
6283         Set number by use of uidl.
6284         (elmo-pop3-msgdb-create-message): Likewise.
6285         Set size, loc-alist in msgdb.
6286         (elmo-pop3-read-msg): Set number by use of uidl.
6287         Added optional argument `msgdb'.
6288         (elmo-pop3-delete-msg): Ditto.
6289         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
6290         (elmo-pop3-commit): Close connection.
6291
6292         * elmo-pipe.el (elmo-pipe-max-of-folder):
6293         Bind `elmo-pop3-use-uidl' as nil.
6294         (elmo-pipe-drain): Ditto.
6295         Call `elmo-commit'.
6296
6297         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
6298         (elmo-msgdb-overview-entity-set-size): New defsubst.
6299
6300 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6301
6302         * elmo-vars.el (elmo-use-killed-list): New variable
6303         (Renamed from `elmo-nntp-use-killed-list').
6304         (elmo-nntp-use-killed-list): Eliminated.
6305
6306         * elmo-msgdb.el (elmo-msgdb-expand-path):
6307         Changed expanding msgdb path for elmo-multi.
6308
6309         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
6310         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
6311         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
6312         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
6313         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
6314         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
6315         (toplevel): Deleted time-stamp line.
6316
6317         * elmo2.el (elmo-clear-killed ): Defined as function
6318         (Abolished defining as a backend function).
6319         All other related modules are changed.
6320
6321 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6322
6323         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
6324
6325 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6326
6327         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
6328
6329 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6330
6331         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
6332
6333 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
6334
6335         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
6336         asynchronous folder check.
6337
6338         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
6339
6340         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
6341         `elmo-nntp-use-killed-list'.
6342         (elmo-nntp-list-folder): Use killed list.
6343         (elmo-nntp-max-of-folder): Ditto.
6344         (elmo-nntp-msgdb-create): Set killed list.
6345
6346         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
6347
6348         * elmo2.el (elmo-clear-killed): New backend function.
6349         All other related modules are changed.
6350
6351 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
6352
6353         * elmo-util.el (elmo-imap4-spec-folder): Use
6354         `elmo-imap4-spec-mailbox'; Mark as obsolete.
6355         All callers changed.
6356
6357 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
6358
6359         * mmelmo-2.el (initialize-instance):
6360         Use `mime-buffer-entity-buffer-internal' instead of
6361         `mime-entity-buffer'.
6362
6363         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
6364         (mime-entity-body): Implemented.
6365         (mime-goto-header-start-point): Deleted.
6366         (mime-goto-body-end-point): Ditto.
6367         (mime-entity-point-min): Ditto.
6368         (mime-entity-point-max): Ditto.
6369         (mime-entity-children): Ditto.
6370         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
6371         instead of `mime-entity-buffer'.
6372         (mime-entity-header-buffer): Ditto.
6373         (mime-entity-body-buffer): Ditto.
6374         (mime-write-entity-content): Ditto.
6375
6376         * pldap.el (ldap-static-if): New macro.
6377         (toplevel): Use it instead of `static-if'.
6378
6379 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6380
6381         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
6382         included in `attrs' argument.
6383
6384 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
6385
6386         * elmo-util.el (elmo-get-passwd): Use old backquote style.
6387
6388         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
6389         (ldap-ldif-safe-init-char-regexp): Ditto.
6390         (ldap-ldif-safe-string-regexp): Ditto.
6391         (ldap/ldif-safe-string-p): New macro.
6392         (ldap/ldif-insert-field): Ditto.
6393         (ldap-modify): Use it.
6394         (ldap-add): Ditto.
6395         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
6396         (ldap-decode-attribute): Decode only when `attr' is consp.
6397         (ldap-delete): Bind `ret'.
6398         (toplevel): Require 'cl at compile time.
6399         Removed (require 'poe) and (require 'std11).
6400         (pldap-version): Eliminated.
6401         (ldap-search-basic): Removed auth and dn binding.
6402         (ldap-ldif-field-name-regexp): New constant.
6403         (ldap-ldif-field-head-regexp): Ditto.
6404         (ldap-ldif-next-field-head-regexp): Ditto.
6405         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
6406         (ldap/field-end): New function.
6407         (ldap/field-body): Use it.
6408         (ldap/collect-field): Ditto.
6409         (ldap-search-basic): Use `ldap/field-body'.
6410
6411 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6412
6413         * pldap.el (ldap-default-attribute-encoder): New user option.
6414         (ldap/field-body): Decode base64 string.
6415         (ldap/collect-field): Ditto.
6416         (ldap-encode-attribute): New function.
6417         (ldap-add-entries): Use it.
6418         (ldap-modify-entries): Ditto.
6419         (ldap-search-entries): Enclosed decoding function with
6420         `with-temp-buffer' and set as unibyte.
6421         (ldap-search-basic): Set process buffer as unibyte.
6422
6423         * elmo-util.el (elmo-folder-identical-system-p):
6424         Eliminated name space checking.
6425
6426         * pldap.el: New module.
6427         toplevel: Changed condition to detect built-in ldap feature.
6428         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
6429         (ldap-add): Added error handling.
6430         (ldap-modify): Ditto.
6431         (ldap-delete): Ditto.
6432
6433 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
6434
6435         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
6436         Initialize local variables with `let'.  Inline a temporary
6437         variable for the progress percentage.  Sort `setq' to reduce
6438         function call in the while-loop.
6439
6440         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
6441         into the conditional branch.
6442
6443 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
6444
6445         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
6446         Move a conditional out of the while-loop.
6447
6448 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6449
6450         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
6451         elmo-msgdb-overview-get-entity-by-number.
6452         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
6453         throw.
6454
6455 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
6456
6457         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
6458         the local variable for a packed number self descriptively.
6459
6460 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6461
6462         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
6463         * elmo-localdir.el (elmo-localdir-pack-number): Use
6464         `elmo-msgdb-overview-get-entity' instead of
6465         `elmo-msgdb-overview-get-entity-by-number'.
6466         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
6467         (elmo-msgdb-search-overview-entity): Removed.
6468         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
6469         by message-id or number.
6470         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
6471         instead of `elmo-msgdb-overview-get-entity-by-number'.
6472
6473 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6474
6475         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
6476         non-nil, use hash table for overview.
6477         (elmo-hash-maximum-size): New variable.
6478         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
6479         (elmo-msgdb-make-overview-hashtb): New function.
6480         (elmo-msgdb-clear-overview-hashtb): New function.
6481         (elmo-clear-hash-val): New macro.
6482         All other related modules are changed.
6483
6484 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
6485
6486         * elmo2.el (elmo-move-msgs): If there's other message with
6487         same message-id, don't use cache.
6488
6489 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
6490
6491         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
6492         number is already packed.
6493
6494 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
6495
6496         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
6497
6498 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6499
6500         * elmo-vars.el (elmo-display-progress-threshold): New variable.
6501         All other related modules are changed.
6502
6503 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
6504
6505         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
6506         of refiling failure on Maildir.
6507
6508 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6509
6510         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
6511         decoded mime-charset with cache.
6512         (elmo-msgdb-overview-entity-get-from): Ditto.
6513         (elmo-msgdb-overview-entity-get-subject): Ditto.
6514         * elmo-vars.el (elmo-use-decoded-cache): New variable.
6515
6516 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
6517
6518         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
6519         (elmo-remove-passwd): Fill password with 0 before erase.
6520         * elmo-vars.el (elmo-passwd-life-time): New variable.
6521
6522 \f
6523 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6524
6525         * elmo-cache.el (elmo-buffer-cache-add):
6526         Set message cache buffer as unibyte.
6527
6528 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6529
6530         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
6531         become nil.
6532
6533 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
6534
6535         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
6536         when display is finished.
6537         (elmo-nntp-msgdb-create): Ditto.
6538         (elmo-nntp-groups-read-response): Ditto.
6539         (elmo-nntp-retrieve-headers): Ditto.
6540         (elmo-nntp-msgdb-create-message): Ditto.
6541         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
6542         (elmo-pop3-msgdb-create-message): Ditto.
6543
6544 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
6545
6546         * elmo-maildir.el (elmo-maildir-msgdb-create):
6547         Use `elmo-msgdb-sort-by-date'.
6548
6549 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
6550
6551         * elmo2.el (elmo-read-msg-no-cache):
6552         Eliminated arguments after `outbuf'.
6553         Don't use cache even if it exists.
6554         (elmo-read-msg): Don't pass arguments after `outbuf' to
6555         `elmo-read-msg-no-cache'.
6556
6557 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
6558
6559         * elmo-archive.el (elmo-archive-list-folders):
6560         Use `file-name-directory' if base folder does not exist.
6561
6562 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
6563
6564         * elmo-archive.el (elmo-archive-list-folders): Don't use
6565         `file-name-directory'.
6566
6567 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
6568
6569         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
6570         If `force' is non-nil, try flushing all operation queues.
6571
6572 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6573
6574         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
6575         as-binary-process.
6576
6577 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6578
6579         * elmo-util.el (elmo-display-progress): Fixed.
6580
6581 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6582
6583         * elmo-util.el (elmo-display-progress): New function.
6584         All other related modules are changed.
6585