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