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