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