fb5ef57209348bf3958ec8fd637f431b9b91e23d
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
4         of reporter is enable or not.
5
6 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-util.el (elmo-list-bigger-diff): Abolish.
9         (elmo-display-progress): Ditto.
10         (elmo-progress-counter-alist): Ditto.
11         (elmo-progress-set): Ditto.
12         (elmo-progress-clear): Ditto.
13         (elmo-progress-counter-all-value): Rename to
14         `elmo-progress-counter-total'.
15         (elmo-progress-counter-format): Rename to
16         `elmo-progress-counter-action'.
17         (elmo-progress-counter): New internal variable.
18         (elmo-progress-callback-function): Ditto.
19         (elmo-progress-counter-label): New function.
20         (elmo-progress-counter-set-total): Ditto.
21         (elmo-progress-counter-set-action): Ditto.
22         (elmo-progress-call-callback): Ditto.
23         (elmo-progress-start): Ditto.
24         (elmo-progress-done): Ditto.
25         (elmo-progress-notify): Rewrite.
26         (elmo-with-progress-display): Remove first arguemnt
27         `condition'. Add optional argument `var' in `spec'.
28
29         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
30         (elmo-display-retrieval-progress-threshold): Ditto.
31         (elmo-inhibit-display-retrieval-progress): Ditto.
32
33         * Replace all pair of `elmo-progress-set' and
34         `elmo-progress-clear' into `elmo-with-progress-display'.
35
36         * Replace to call `elmo-display-progress' into pair of
37         `elmo-progress-notify' and `elmo-with-progress-display'.
38
39         * elmo-version.el (elmo-version): Up to 2.15.5.
40
41 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
42
43         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
44         `cond'.
45
46 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
47
48         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
49         cleanup-forms [wl:14027].
50
51 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
52
53         * elmo-flag.el (elmo-global-flag-set-internal): Use
54         `elmo-copy-file' by priority when the message is a file.
55
56 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
57
58         * elmo.el: Fix typo: disptch -> dispatch.
59
60 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
61
62         * elmo.el (elmo-file-tag): New class.
63         (elmo-append-messages-disptch-table): New constant.
64         (elmo-folder-type-p): New function.
65         (elmo-folder-append-messages): Redefine as function.
66
67         * elmo-null.el (elmo-folder-append-messages): Renamed from
68         `elmo-folder-append-messages'.
69
70         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
71         (elmo-folder-append-messages-*-maildir): Renamed from
72         `elmo-folder-append-messages'.
73
74         * elmo-localdir.el (elmo-localdir-folder): Inherit
75         `elmo-file-tag'.
76         (elmo-folder-append-messages-*-localdir): Renamed from
77         `elmo-folder-append-messages'.
78
79         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
80         from `elmo-folder-append-messages'.
81
82         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
83         `elmo-folder-append-messages'.
84
85         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
86         function.
87         (elmo-folder-append-messages-*-filter): Ditto.
88
89         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
90
91         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
92         (elmo-folder-append-messages-*-pipe): Renamed from
93         `elmo-folder-append-messages'.
94
95         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
96
97         * elmo-file.el (elmo-file-folder): Ditto.
98
99         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
100
101         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
102         from `elmo-folder-append-messages'
103
104 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
105
106         * elmo-map.el (elmo-location-map-setup): Change an argument
107         `locations' to optional.
108         (elmo-location-map-clear): Abolish.
109         (elmo-folder-clear): Follow the API change.
110
111         * elmo-pop3.el (elmo-folder-clear): Ditto.
112
113         * elmo-pop3.el (toplevel): Require elmo-map.
114         (elmo-pop3-folder): Inherit elmo-location-map and abolish
115         location-alist slot (All other related portions are changed).
116         (elmo-pop3-folder-use-uidl): New function.
117         (elmo-folder-msgdb-create): Don't sort message entities.
118         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
119         (elmo-pop3-number-to-size): Convert return value to number.
120         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
121         working buffer.
122
123         * elmo-map.el: Use `location-map' as a variable name for instance
124         instead of `mapper'.
125         (elmo-location-map-setup): Return location alist.
126         (elmo-location-map-update): Ditto.
127
128 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
129
130         * elmo-map.el (elmo-location-map): New class; split location and
131         number mapping from elmo-map-folder (All other related portions
132         are changed).
133
134         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
135         change.
136
137         * elmo-version.el (elmo-version): Up to 2.15.4.
138
139 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
140
141         * elmo-vars.el (elmo-use-hardlink): New user option.
142
143         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
144         `elmo-use-hardlink'.
145
146         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
147         killed-list.
148         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
149         instead of `*-internal'. Use `elmo-with-progress-display'.
150
151 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
152
153         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
154         `elmo-spam-process-messages-as-mbox'.
155
156         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
157
158 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
159
160         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
161         argument BUFFER of `call-process'.
162
163 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
164
165         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
166         args.
167         (elsp-bsfilter-list-spam-files): Ditto.
168
169 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
170
171         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
172         (elmo-spam-bsfilter-max-messages-per-process): New use option.
173         (elmo-spam-bsfilter-debug): Fix a group.
174         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
175         `--homedir'.
176         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
177         (elsp-bsfilter-list-spam-files): New function.
178         (elmo-spam-list-spam-messages): Define.
179         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
180         (elmo-spam-bsfilter-register-messages): New function.
181         (elmo-spam-register-spam-messages): Define.
182         (elmo-spam-register-good-messages): Ditto.
183
184         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
185
186         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
187         `nconc' and `consp'.
188
189 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
190
191         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
192         hash table to test whether a location is exists.
193
194 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
195
196         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
197         even if some error occurred.
198
199         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
200         meaningless unwind-protect.
201
202         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
203         start-number correctly.
204         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
205         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
206
207 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
208
209         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
210         (elmo-folder-initialize): Use it.
211         (elmo-global-flag-replace-referrer): New function.
212
213         * elmo.el (toplevel): Added autoload setting for
214         `elmo-global-flag-replace-referrer'.
215         (elmo-folder-rename): Rewrite the last change use
216         `elmo-global-flag-replace-referrer'.
217
218         * elmo-pipe.el (elmo-folder-rename): Call
219         `elmo-global-flag-replace-referrer'.
220
221 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
222
223         * elmo.el (elmo-folder-rename): Set meta data for global flags
224         follow the rename.
225
226 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
227
228         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
229         as 'not-loaded.
230         (elmo-folder-close): Ditto.
231         (elmo-filter-folder-number-list-loaded-p): New function.
232         (elmo-filter-folder-number-list): Check whether loaded or not.
233         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
234         of `elmo-filter-folder-number-list-internal'.
235         (elmo-folder-delete-messages): Ditto.
236         (elmo-folder-length): Check whether number-list is loaded or not.
237
238 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
239
240         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
241         field `real field' into each element of list.
242         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
243         (elmo-msgdb-message-entity-field): Ditto.
244         (modb-entity-ml-info-real-fields): New function.
245
246         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
247
248         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
249         `elmo-msgdb-extra-fields'.
250
251 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
252
253         * elmo-util.el (elmo-passwd-alist-load): Move point to min
254         position before read.
255
256 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
257
258         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
259         (elmo-global-flags-initialize): Ditto.
260
261 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
262
263         * elmo-archive.el (toplevel): Don't require emu, std11
264         and elmo-localdir.
265
266         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
267         definition.
268
269 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
270
271         * elmo.el (elmo-folder-confirm-appends): Display folder name.
272
273 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
274
275         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
276         literals.
277
278 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
279
280         * elmo-maildir.el (elmo-maildir-list-location): Reduce
281         `elmo-get-last-modification-time' call.
282
283 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
284
285         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
286         expression.
287         (elmo-maildir-set-mark): Ditto.
288         (elmo-maildir-delete-mark): Ditto.
289
290 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
291
292         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
293         optional argument `separators'.
294
295 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
296
297         * elmo.el (cache-changed): Abolish.
298         (status-changed): New signal.
299         (elmo-message-killed-p): New generic function and define for
300         elmo-folder.
301         (elmo-folder-recover-messages): Ditto.
302         (elmo-message-set-cached): Emit signal `status-changed' instead of
303         `cache-changed'.
304         (elmo-message-status): New macro.
305         (elmo-message-status-folder): Ditto.
306         (elmo-message-status-number): Ditto.
307         (elmo-message-status-set-flags): Ditto.
308         (elmo-message-status-set-killed): Ditto.
309         (elmo-message-status-flags): New function.
310         (elmo-message-status-cached-p): Ditto.
311         (elmo-message-status-killed-p): Ditto.
312
313         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
314         `status-changed' instead of `cache-changed'.
315         (elmo-folder-recover-messages): Define.
316         (elmo-message-killed-p): Ditto.
317
318         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
319         `status-changed' instead of `cache-changed'.
320
321         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
322         (elmo-message-killed-p): Define.
323         (elmo-folder-recover-messages): Ditto.
324
325         * elmo-version.el (elmo-version): Up to 2.15.3.
326
327 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
328
329         * elmo-signal.el (elmo-signal-bindings): Use cons to append
330         element into list.
331         (elmo-define-signal-handler): Add docstring.
332         (elmo-define-signal-filter): Ditto.
333
334         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
335
336 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
337
338         * elmo-util.el (elmo-flatten): Don't use recursive call.
339
340         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
341         assignment.
342         (elmo-folder-message-make-temp-files): Use `number-to-string'
343         instead of `int-to-string'.
344
345 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
346
347         * elmo-search.el (elmo-folder-delete-messages): Define.
348
349 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
350
351         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
352         customization type.
353         (elmo-mailing-list-count-spec-list): Ditto.
354
355         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
356         for `list-id'.
357
358 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
359
360         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
361         handling.
362
363 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
364
365         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
366         (elmo-mailing-list-count-spec-list): Ditto.
367
368         * elmo-util.el (elmo-map-until-success): New function.
369         (elmo-string-match-substring): Ditto.
370         (elmo-find-list-match-value): Ditto.
371
372         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
373         Removed.
374         (modb-entity-extract-ml-info-from-subject): Ditto.
375         (modb-entity-extract-ml-info-from-return-path): Ditto.
376         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
377         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
378         (modb-entity-extract-ml-info-from-mailman): Ditto.
379         (modb-entity-extract-mailing-list-info-functions): Ditto.
380         (modb-entity-extract-mailing-list-info): Rewrite with
381         `elmo-find-list-match-value'.
382
383 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
384
385         * elmo-net.el (elmo-network-session-retry-count): New user option.
386         (elmo-network-session-buffer-name): New internal function.
387         (elmo-network-session-buffer-create): Ditto.
388         (elmo-network-open-session): Retry open network session
389         `elmo-network-session-retry-count' times.
390
391 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
392
393         * elmo-util.el (elmo-list-filter): Rewritten.
394
395 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
396
397         * elmo-util.el (elmo-string-member): Allow symbol element in list.
398
399 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
400
401         * elmo-search.el (elmo-make-search-engine): Use prefix
402         `elmo-search-' for require symbol instead of `else-'.
403         (elmo-search-engine-extprog): New class.
404         (elmo-search-engine-do-search): Remove nil from argument
405         list. Added argument pattern to evaluate element as function.
406         (elmo-search-engine-local-file): Derived from
407         `elmo-search-engine-extprog'.
408         (elmo-search-engine-create-message-entity): Check existance of file.
409         (elmo-search-engine-fetch-message): Ditto.
410         (elmo-search-namazu-index): Follow the API change.
411         (elmo-search-grep-target): Ditto.
412
413 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
414
415         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
416         characters of working buffer.
417
418         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
419         Does not bind `default-mime-charset'.
420         (elmo-msgdb-create-message-entity-from-buffer): Removed
421         unnecessary local bind.
422
423         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
424         function.
425         (modb-entity-extract-mailing-list-info-functions): Added it.
426
427 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
428
429         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
430         when number and message-id are non-nil.
431
432         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
433
434         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
435         conditional steatment.
436         (elmo-pop3-auth-apop): Likewise.
437         (elmo-network-authenticate-session): Likewise.
438
439 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
440
441         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
442         symbol `fill-column'.
443         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
444         decode field value.
445
446         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
447         (elmo-decoded-field-body): Ditto.
448
449 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
450
451         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
452         `tokens' to `params'.
453
454 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
455
456         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
457         working buffer.
458
459 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
460
461         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
462         decide index.
463
464 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
465
466         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
467         Set default value as nil.
468         (toplevel): Register search engines by
469         `elmo-search-register-engine' if there are not defined.
470
471         * elmo.el (autoload): Added autoload setting for
472         `elmo-search-register-engine'.
473
474 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
475
476         * elmo.el (toplevel): `[' is redefined as the prefix of the search
477         folder instead of nmz folder.
478         (elmo-nmz-default-index-path): Added obsolete variable setting.
479         (elmo-nmz-index-alias-alist): Ditto.
480         (elmo-nmz-use-drive-letter): Ditto.
481
482         * elmo-search.el (elmo-search-register-engine): New function.
483
484         * elmo-nmz.el: Removed.
485
486         * elmo-version.el (elmo-version): Up to 2.15.2.
487
488 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * elmo-search.el: New file.
491
492 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
493
494         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
495         condition `larger' and `smaller'.
496
497 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
498
499         * elmo-util.el (elmo-safe-filename): Rewrite to replace
500         `"' (double quote) into "_Q_".
501
502 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
503
504         * elmo-net.el (elmo-net-quote-chars): Abolish.
505         (elmo-net-format-quoted): Ditto.
506
507 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
508
509         * elmo.el (elmo-get-folder-function): New variable.
510         (elmo-get-folder): New function.
511         (elmo-folder-rename): Call `elmo-make-folder' with specified
512         mime-charset.
513
514         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
515         `elmo-make-folder'.
516         (elmo-split-subr): Ditto.
517
518         * elmo-multi.el (elmo-folder-initialize): Ditto.
519
520         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
521
522         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
523         (elmo-flag-get-folder): Ditto.
524
525         * elmo-filter.el (elmo-folder-initialize): Ditto.
526
527         * elmo-access.el (elmo-folder-initialize): Ditto.
528         (elmo-access-folder-update-children): Ditto.
529
530         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
531         (elmo-dop-queue-flush): Ditto.
532         (elmo-folder-append-buffer-dop-delayed): Ditto.
533         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
534         mime-charset.
535
536         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
537         instead of `elmo-make-folder'.
538         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
539         destination folder instead of send `elmo-folder-rename-internal'.
540
541         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
542         slot of subfolder instead of create it.
543
544 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
545
546         * elmo-util.el (elmo-collect-separators): New function.
547         (elmo-collect-separators-internal): Ditto.
548         (elmo-collect-trail-separators): Ditto.
549         (elmo-parse-separated-tokens): Ditto.
550         (elmo-parse-separated-tokens-internal): Ditto.
551         (elmo-quote-syntactical-element): Ditto.
552
553         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
554         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
555
556         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
557         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
558         (elmo-nntp-folder-list-subfolders): Quote a user name.
559
560         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
561         (elmo-net-parse-network): Abolish.
562         (elmo-net-folder-set-parameters): New function.
563         (elmo-folder-initialize): Follow the above change.
564
565         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
566         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
567         (elmo-folder-list-subfolders): Use
568         `elmo-quote-syntactical-element' instead of
569         `elmo-net-format-quoted' to quote mailbox and user name.
570
571 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
572
573         * elmo-util.el (elmo-token-valid-p): New function.
574         (elmo-parse-token): Add optional argument `requirement'.
575         (elmo-parse-prefixed-element): Likewise.
576
577         * elmo-net.el (elmo-net-quote-chars): Renamed from
578         `elmo-net-quote-chars-regexp'.
579         (elmo-net-format-quoted): Add optional argument `extra-chars'.
580
581         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
582         by info document. Check token `uidl' is started an alphabet.
583
584         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
585         by info document. Check token `user' is started an alphabet.
586
587         * elmo-imap4.el (elmo-folder-initialize): Ditto.
588         (elmo-folder-list-subfolders): Quote user.
589
590 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
591
592         * elmo-util.el (elmo-quoted-specials-list): New constant.
593         (elmo-quoted-token): New function.
594
595         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
596         (elmo-net-format-quoted): New function.
597         (elmo-net-parse-network): Ditto.
598         (elmo-folder-initialize): Use it.
599
600         * elmo-nntp.el (elmo-folder-initialize): Use
601         `elmo-net-parse-network' to parse network specification instead of
602         `elmo-folder-initialize#elmo-net'.
603
604         * elmo-pop3.el (elmo-folder-initialize): Ditto.
605
606         * elmo-imap4.el (elmo-folder-initialize): Ditto.
607         (elmo-folder-list-subfolders): Quote folder name by
608         `elmo-net-format-quoted'.
609
610 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
611
612         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
613         (elmo-folder-search): Use it.
614
615 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
616
617         * modb-standard.el (modb-standard-loaded-message-id): Use
618         `elmo-msgdb-message-entity-field'.
619
620 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
621
622         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
623         without filename.
624
625 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
626
627         * elmo-util.el (elmo-set-auto-coding): New function.
628         (elmo-object-load): Use it.
629
630 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
631
632         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
633         (elmo-time<): Define as alias of `elmo-time-less-p'.
634         (elmo-time-to-datevec): New function.
635
636         * elmo-date.el (elmo-time-to-days): New function.
637
638 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
639
640         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
641         is not cons cell.
642
643 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
644
645         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
646         parenthesis.
647
648         * elmo-util.el (elmo-map-recursive): New function.
649
650         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
651         (modb-entity-encode-string-recursive): Ditto.
652
653 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
654
655         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
656         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
657         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
658         compare sequence number when last modified time is nil.
659
660 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
661
662         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
663
664         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
665
666 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
667
668         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
669         modification time of the file.
670
671 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
672
673         * elmo-util.el (elmo-condition-optimize): Discriminated against
674         preserved fields, extra fields and the other weight.
675
676 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
677
678         * modb-entity.el (initialize-instance): Define.
679         (modb-entity-handler-mime-charset): New internal function.
680         (modb-standard-entity-set-field): Use it.
681         (elmo-msgdb-message-entity-field): Ditto.
682         (elmo-msgdb-message-entity-field): Ditto.
683
684         * modb.el (elmo-msgdb-match-condition): Rewrite with
685         `elmo-condition-match'.
686         (elmo-msgdb-match-condition-primitive): New function.
687
688         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
689         arguments `flags' and `numbers'.
690         (elmo-msgdb-match-condition-primitive): Abolished (merged to
691         `elmo-msgdb-message-match-condition').
692         (modb-buffer-entity-handler): New class.
693
694         * elmo.el (elmo-folder-search): Optimize condition to use
695         `elmo-condition-optimize'.
696         (elmo-message-buffer-match-condition): New function.
697         (elmo-message-match-condition): Use
698         `elmo-message-buffer-match-condition' instead of
699         `elmo-buffer-field-condition-match'.
700
701         * elmo-util.el (elmo-condition-match): New function.
702         (elmo-condition-optimize): Ditto.
703         (elmo-buffer-field-primitive-condition-match): Abolish.
704         (elmo-buffer-field-condition-match): Ditto.
705
706         * elmo-archive.el (elmo-archive-field-condition-match): Use
707         `elmo-message-buffer-match-condition' instead of
708         `elmo-buffer-field-condition-match'.
709
710 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
711
712         * elmo-flag.el (elmo-global-flags-initialize): Check the
713         existence of the flag directory.
714
715 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
716
717         * elmo-access.el (elmo-folder-initialize): Call
718         `elmo-multi-connect-signals'.
719
720         * elmo-pipe.el (elmo-folder-close): Define.
721
722         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
723         children folders.
724
725         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
726         with target folder.
727
728         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
729         `number'.
730
731         * elmo-multi.el (elmo-message-entity): Don't use return value of
732         `elmo-message-entity-set-number'.
733
734 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
735
736         * modb.el (modb-generic): Added slot `mime-charset'.
737
738         * modb-standard.el (modb-standard): Added slot `overview-handler'.
739         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
740         and `modb-entity-handler-dump-parameters'.
741         (modb-standard-default-entity-handler): Abolish.
742         (elmo-msgdb-message-entity-handler): Save created handler by
743         instance slot.
744
745         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
746         (modb-entity-handler-list-parameters): New method.
747         (modb-entity-handler-equal-p): New function.
748         (modb-entity-handler-dump-parameters): Ditto.
749         (modb-entity-parse-address-string): Encode return value.
750         (modb-entity-make-address-string): Decode argument value.
751         (modb-entity-decode-string-recursive): New function.
752         (modb-entity-encode-string-recursive): Ditto.
753         (modb-standard-entity-normalizer): Set to encode field value.
754         (modb-standard-entity-specializer): Follow the above change.
755         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
756         mime-charset of handler.
757         (elmo-msgdb-message-entity-field): Ditto.
758         (elmo-msgdb-copy-message-entity): Fixed reference to internal
759         structure.
760         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
761
762         * elmo.el (elmo-folder): Added slot `mime-charset'.
763         (elmo-make-folder): Added argument `mime-charset'.
764         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
765         `mime-charest'.
766
767         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
768         (elmo-make-msgdb): Likewise.
769
770         * elmo-internal.el (elmo-internal-folder-initialize): Call
771         `luna-make-entity' with :mime-charset parameter.
772
773 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
774
775         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
776         encoded words in `from' and `subject' field.
777
778 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
779
780         * modb.el (elmo-msgdb-message-field): Add argument `type'.
781         (elmo-msgdb-match-condition): Get handler from entity instead of
782         msgdb.
783
784         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
785         (modb-standard-load-entity): Treat new file format.
786         (modb-standard-save-entity-1): Save as new file format.
787         (modb-standard-save-entity): Split messages into section here.
788         (elmo-msgdb-message-field): Follow the API change.
789         (modb-standard-default-entity-handler): New internal variable.
790         (elmo-msgdb-message-entity-handler): Define.
791
792         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
793         to `elmo-vars.el'.
794         (modb-entity-field-extractor-alist): New user option.
795         (elmo-msgdb-message-entity-field): Removed argument `decode' and
796         added argument `type'.
797         (elmo-msgdb-copy-message-entity): Add optional argument
798         `make-handler'.
799         (modb-set-field-converter): New function.
800         (modb-convert-field-value): Ditto.
801         (modb-entity-string-decoder): Ditto.
802         (modb-entity-string-encoder): Ditto.
803         (modb-entity-parse-date-string): Ditto.
804         (modb-entity-make-date-string): Ditto.
805         (modb-entity-mime-decoder): Ditto.
806         (modb-entity-mime-encoder): Ditto.
807         (modb-entity-address-list-decoder): Ditto.
808         (modb-entity-address-list-encoder): Ditto.
809         (modb-entity-parse-address-string): Ditto.
810         (modb-entity-make-address-string): Ditto.
811         (modb-entity-create-field-indices): Ditto.
812         (modb-legacy-entity-field-slots): New constant.
813         (modb-legacy-entity-field-indices): Ditto.
814         (modb-legacy-entity-normalizer): New variable.
815         (modb-legacy-entity-specializer): Ditto.
816         (modb-legacy-entity-field-index): New macro.
817         (modb-legacy-entity-set-field): New function.
818         (modb-legacy-make-message-entity): Rewrite.
819         (elmo-msgdb-create-message-entity-from-buffer): Use
820         `elmo-msgdb-get-references-from-buffer'. Use
821         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
822         Use `modb-legacy-entity-set-field' instead of
823         `elmo-msgdb-message-entity-set-field'.
824         (elmo-msgdb-message-entity-field): Rewrite.
825         (elmo-msgdb-message-entity-set-field): Ditto.
826         (elmo-msgdb-copy-message-entity): Make new entity by
827         `make-handler' if it specified.
828         (elmo-msgdb-message-match-condition): Define a method of
829         `modb-entity-handler' and follow the API change.
830         (modb-standard-entity-handler): New class.
831         (modb-entity-extract-ml-info-from-x-sequence): New function.
832         (modb-entity-extract-ml-info-from-subject): Ditto.
833         (modb-entity-extract-ml-info-from-return-path): Ditto.
834         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
835         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
836         (modb-entity-extract-mailing-list-info): Ditto.
837         (modb-entity-extract-mailing-list-info-functions): New variable.
838
839         * elmo.el (elmo-message-field): Add optional argument `type'.
840
841         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
842         from `modb-entity.el'.
843
844         * elmo-util.el (elmo-object-load): Decode by coding-system from
845         `set-auto-coding-function'.
846         (elmo-object-save): Use `detect-mime-charset-region' and add
847         coding cookie if encode.
848         (elmo-msgdb-get-references-from-buffer): New function.
849         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
850
851         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
852
853         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
854         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
855         instead of `shimbun-make-header' and follow the API change.
856         (elmo-shimbun-update-overview): Follow the API change.
857         (elmo-map-folder-list-message-locations): Ditto.
858
859         * elmo-pipe.el (elmo-message-field): Ditto.
860
861         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
862         Ditto.
863
864         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
865
866         * elmo-multi.el (elmo-message-field): Ditto.
867
868         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
869         (elmo-msgdb-sort-by-date): Ditto.
870         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
871         `elmo-message-entity-field'.
872         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
873         change.
874         (elmo-msgdb-overview-entity-get-from): Ditto.
875         (elmo-msgdb-overview-entity-get-subject): Ditto.
876         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
877         (elmo-msgdb-overview-entity-get-date): Ditto.
878         (elmo-msgdb-overview-entity-get-to): Ditto.
879         (elmo-msgdb-overview-entity-get-cc): Ditto.
880
881         * elmo-mime.el (elmo-message-mime-entity): Ditto.
882         (elmo-mime-collect-message/partial-pieces): Ditto.
883
884         * elmo-filter.el (elmo-message-field): Ditto.
885
886         * elmo-date.el (elmo-datevec-to-time): New function.
887         (elmo-time-parse-date-string): Ditto.
888         (elmo-time-make-date-string): Ditto.
889         (elmo-time<): Ditto.
890
891         * elmo-version.el (elmo-version): Up to 2.15.1.
892
893 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
894
895         * elmo-flag.el (elmo-global-flags-initialize): Don't include
896         member of elmo-local-flags.
897
898 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
899
900         * elmo-version.el (elmo-version): Up to 2.15.0.
901
902 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
903
904         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
905         `ignore-msgdb' is non-nil.
906
907 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
908
909         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
910         (elmo-condition-in-msgdb-p): Ditto.
911         (elmo-file-field-primitive-condition-match): Ditto.
912         (elmo-file-field-condition-match): Ditto.
913
914         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
915
916 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
917
918         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
919         subdirectories here.
920         (elmo-global-flags-initialize): New function.
921
922         * elmo.el (toplevel): Added autoload setting for
923         `elmo-global-flags-initialize'.
924
925 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
926
927         * elmo.el (message-number-changed): Define new signal.
928         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
929         message-number-changed signal.
930         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
931         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
932         Respect `elmo-pack-number-check-strict'.
933
934 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
935
936         * elmo-signal.el (elmo-connect-signal): Document.
937         (elmo-emit-signal): Ditto.
938         (elmo-emit-signal): It should pass source argument to filter and
939         handler, not slot-source.
940
941 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
942
943         * modb.el (elmo-msgdb-update-entity): New API and define generic
944         implement.
945
946         * modb-standard.el (elmo-msgdb-update-entity): Define.
947
948         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
949         API and define generic implement.
950
951         * elmo.el (update-overview): New singnal.
952
953         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
954         `elmo-msgdb-update-entity' and emit signal `update-overview'.
955         (elmo-message-entity-parent): Define.
956
957         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
958         `update-overview'.
959
960         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
961
962         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
963
964 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
965
966         * elmo.el (elmo-folder-synchronize): Sort the return value of
967         `elmo-list-diff'.
968
969         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
970         list.
971
972 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
973
974         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
975         `default-enable-multibyte-characters'.
976         (elmo-object-load): Use `with-temp-buffer' instead of
977         `elmo-set-work-buf'.
978         (elmo-object-save): Ditto.
979         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
980         `elmo-set-work-buf'.
981         (elmo-decoded-field-body): Ditto.
982
983         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
984
985         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
986         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
987
988         * elmo-version.el (elmo-version): Up to 2.13.3.
989
990 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
991
992         * elmo-util.el (elmo-list-diff): Fix the last change.
993         Reverse order of result lists.
994
995 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
996
997         * modb-standard.el (elmo-msgdb-set-flag): Use
998         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
999         (elmo-msgdb-unset-flag): Ditto.
1000
1001         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1002         `elmo-list-diff'.
1003
1004         * elmo-util.el (elmo-list-diff): Rewrite.
1005         (elmo-list-diff-nonsortable): New function.
1006
1007 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1008
1009         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1010         `elmo-multibypte-buffer-name'.  All referers are updated.
1011
1012 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1013
1014         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1015         (elmo-mime-entity-fragment-p): New function.
1016         (mime-elmo-buffer-entity): Added slot `reassembled'.
1017         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1018         (elmo-message-mime-entity-internal): New function (renamed from
1019         `elmo-message-mime-entity').
1020         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1021         (elmo-mime-make-reassembled-mime-entity): New function.
1022         (elmo-message-reassembled-mime-entity): Ditto.
1023         (elmo-mime-collect-message/partial-pieces): Ditto.
1024
1025 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1026
1027         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1028
1029         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1030         (elmo-with-enable-multibyte): New macro.
1031
1032         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1033
1034 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1035
1036         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1037         argument `number'.
1038         (elmo-filter-connect-signals): Follow the above change.
1039
1040 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1041
1042         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1043
1044         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1045         that only the first flag is used.
1046
1047 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1048
1049         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1050         if available.
1051
1052 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1053
1054         * elmo-signal.el: New file.
1055
1056         * elmo.el (toplevel): Require elmo-signal.
1057         (flag-changing, flag-changed, cache-changed): New signal.
1058         (elmo-folder): Remove slog `handlers'.
1059         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1060         `elmo-folder-notify-event'.
1061         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1062         (elmo-folder-unset-flag): Ditto.
1063         (elmo-event-handler): Abolish.
1064         (elmo-event-handler-flag-changed): Ditto.
1065         (elmo-event-handler-cache-changed): Ditto.
1066         (elmo-folder-add-handler): Ditto.
1067         (elmo-folder-remove-handler): Ditto.
1068         (elmo-folder-notify-event): Ditto.
1069
1070         * elmo-pipe.el (toplevel): Require elmo-signal.
1071         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1072         (elmo-pipe-connect-signals): New function.
1073         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1074         (elmo-folder-set-flag): Ditto.
1075         (elmo-folder-unset-flag): Ditto.
1076         (elmo-message-set-cached): Ditto.
1077
1078         * elmo-multi.el (toplevel): Require elmo-signal.
1079         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1080         (elmo-multi-connect-signals): New function.
1081         (elmo-multi-map-numbers): Ditto.
1082         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1083         (elmo-message-fetch): Ditto.
1084         (elmo-folder-set-flag): Ditto.
1085         (elmo-folder-unset-flag): Ditto.
1086
1087         * elmo-filter.el (toplevel): Require elmo-signal.
1088         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1089         (elmo-filter-connect-signals): New function.
1090         (elmo-filter-add-flag-count): Ditto.
1091         (elmo-message-fetch): Does not call
1092         `elmo-filter-folder-countup-message-flags' and
1093         `elmo-folder-notify-event'.
1094         (elmo-message-set-cached): Ditto.
1095         (elmo-folder-set-flag): Ditto.
1096         (elmo-folder-unset-flag): Ditto.
1097
1098         * elmo-version.el (elmo-version): Up to 2.13.2.
1099
1100 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1101
1102         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1103         `flags'.
1104
1105 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1106
1107         * elmo-filter.el (elmo-message-set-cached): Call
1108         `elmo-folder-notify-event' with event `cache-changed'.
1109
1110         * elmo-multi.el (elmo-message-set-cached): Ditto.
1111
1112         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1113
1114 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1115
1116         * elmo.el (elmo-folder-encache): Abolish.
1117
1118 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1119
1120         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1121         (elmo-folder-next-message-number-dop): Return appropriate negative
1122         integer.
1123
1124 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1125
1126         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1127         clearing pending operations.
1128         (elmo-folder-next-message-number-dop): Return appropriate negative
1129         integer.
1130
1131 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1132
1133         * elmo.el (toplevel): Added autoload setting for `md5'.
1134         (elmo-msgdb-path-encode-threshold): New user option.
1135         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1136         longer than `elmo-msgdb-path-encode-threshold'.
1137
1138         * elmo-flag.el (elmo-global-mark-migrate): Use
1139         `elmo-folder-expand-msgdb-path' instead of
1140         `elmo-folder-msgdb-path'.
1141
1142 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1143
1144         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1145         element of the difference is nil.
1146
1147 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1148
1149         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1150         to the check logic of file systems which are weak in colon character.
1151
1152 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1153
1154         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1155
1156 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1157
1158         * elmo-maildir.el (elmo-maildir-move-file): New function.
1159         (elmo-folder-append-buffer): Use it.
1160         (elmo-folder-append-messages): Ditto.
1161         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1162
1163         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1164         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1165
1166         * elmo-maildir.el (elmo-maildir-separator): New user option.
1167         (elmo-maildir-adjust-separator): New macro.
1168         (elmo-maildir-list-location): Use it.
1169         (elmo-maildir-update-current): Ditto.
1170         (elmo-maildir-set-mark): Ditto.
1171         (elmo-maildir-delete-mark): Ditto.
1172         (These changes are based on Hiroya Murata's patch [wl: 13437])
1173
1174 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1175
1176         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1177
1178 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1179
1180         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1181         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1182         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1183
1184 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1185
1186         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1187         Use `with-temp-buffer'.
1188
1189 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1190
1191         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1192
1193         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1194         `wl-read-search-condition').
1195         (elmo-read-search-condition-internal): Likewise.
1196
1197         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1198         (elmo-flag-valid-p): New function.
1199         (elmo-folder-initialize): Check flag name is valid.
1200
1201 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1202
1203         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1204         delimiter to obtain root mailbox itself.
1205
1206 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1207
1208         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1209         type mismatch.
1210
1211 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1212
1213         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1214         as t.
1215
1216 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1217
1218         * elmo-shimbun.el (toplevel): Require cl at compile.
1219
1220         * elmo-nntp.el (toplevel): Ditto.
1221
1222         * elmo-nmz.el (toplevel): Ditto.
1223
1224         * elmo-multi.el (toplevel): Ditto.
1225
1226         * elmo-file.el (toplevel): Ditto.
1227
1228         * elmo-dop.el (toplevel): Ditto.
1229
1230         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1231
1232 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1233
1234         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1235         as nil.
1236
1237         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1238         size of elmo-message-fetch-internal is 0 byte.
1239
1240 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1241
1242         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1243
1244 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1245
1246         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1247         always plugged.
1248
1249 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1250
1251         * elmo-maildir.el (elmo-map-message-fetch): Call
1252         `elmo-map-folder-set-flag'.
1253
1254         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1255         (elmo-message-fetch): Merge from
1256         `elmo-message-fetch-with-cache-process'.
1257
1258         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1259         (elmo-message-fetch): Define.
1260
1261         * elmo-nntp.el (elmo-message-fetch): Renamed from
1262         `elmo-message-fetch-with-cache-process'.
1263
1264         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1265         (elmo-message-fetch): Define.
1266
1267         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1268         search-key.
1269
1270         * elmo-shimbun.el (shimbun-mua-search-id): Use
1271         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1272         (elmo-shimbun-folder-shimbun-header): Ditto.
1273         (elmo-shimbun-get-headers): Ditto.
1274         (elmo-shimbun-update-overview): Ditto.
1275
1276         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1277
1278         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1279         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1280
1281 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1282
1283         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1284         message is cached.
1285         (elmo-message-fetch-string): Fixed argument.
1286
1287 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1288
1289         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1290         exchange order of arguments `section' and `unread'.
1291         (elmo-message-encache): Follow the API change.
1292         (elmo-message-match-condition): Ditto.
1293         (elmo-generic-folder-append-messages): Ditto.
1294         (elmo-message-fetch-string): New function.
1295
1296         * elmo-split.el (elmo-split-subr): Ditto.
1297
1298         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1299
1300         * elmo-pipe.el (elmo-message-fetch): Ditto.
1301
1302         * elmo-multi.el (elmo-message-fetch): Ditto.
1303
1304         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1305
1306         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1307
1308         * elmo-filter.el (elmo-message-fetch): Ditto.
1309
1310         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1311
1312         * elmo-imap4.el (mime-imap-location-section-body): Use
1313         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1314         follow the API change.
1315
1316 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1317
1318         * elmo-access.el: New file.
1319
1320         * elmo-null.el: Ditto.
1321
1322         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1323
1324 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1325
1326         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1327         (elmo-network-session): New attribute `last-accessed'.
1328         (elmo-network-get-session): Discard network cache if elapsed time
1329         since last-accessed is larger than elmo-network-session-idle-timeout.
1330
1331 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1332
1333         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1334         and added `number', `require-entireness'.
1335         (elmo-find-fetch-strategy): Rewrite.
1336         (elmo-message-fetch): Unset `unread' flag when argument unread is
1337         non-nil.
1338
1339         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1340
1341         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1342         (elmo-message-fetch): Notify event `flag-changed'.
1343
1344         * elmo-pipe.el: Likewise.
1345
1346         * elmo-mime.el (elmo-mime-entity): New class.
1347         (elmo-mime-entity-display-p): New generic function.
1348         (elmo-mime-entity-display): Ditto.
1349         (elmo-mime-entity-display-as-is): Ditto.
1350         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1351         elmo-mime-entity.
1352         (elmo-make-mime-message-location): Removed.
1353         (elmo-mime-message-display): Ditto.
1354         (elmo-mime-display-as-is): Ditto.
1355         (elmo-message-mime-entity): New function.
1356
1357         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1358
1359         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1360         change.
1361         (elmo-message-fetch): Re-count flagged message number and notify
1362         event `flag-changed'.
1363
1364         * elmo-version.el (elmo-version): Up to 2.13.1.
1365
1366 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1367
1368         * elmo-filter.el (elmo-message-field): Define.
1369         (elmo-message-set-field): Ditto.
1370
1371 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1372
1373         * elmo.el (elmo-message-set-cached): Call
1374         `elmo-folder-notify-event' with cache-changed.
1375         (elmo-event-handler-cache-changed): New generic function.
1376
1377 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1378
1379         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1380         instead of elmo-add-name-to-file.
1381         (elmo-folder-append-messages): Ditto.
1382
1383 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1384
1385         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1386
1387 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1388
1389         * elmo-version.el (elmo-version): Up to 2.13.0.
1390
1391         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1392         `auto'.
1393
1394         * modb-standard.el (modb-standard-economize-entity-size): Changed
1395         default value to `t'.
1396
1397         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1398         `standard'.
1399
1400         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1401         after parsing greeting string.
1402
1403 2004-11-23  Daishi Kato <daishi@axlight.com>
1404
1405         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1406         New user option.
1407         (elmo-spam-spamoracle-call): Use it.
1408
1409 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1410
1411         * elmo.el (elmo-message-accessible-p): Message in dop spool
1412         is accessible.
1413
1414 2004-11-23  Daishi Kato <daishi@axlight.com>
1415
1416         * elsp-spamoracle.el: New file.
1417
1418 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1419
1420         * elmo.el (elmo-message-flags-for-append): New function.
1421         (elmo-generic-folder-append-messages): Use it.
1422
1423         * elmo-split.el (elmo-split-subr): Ditto.
1424
1425         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1426         `flags' and use elmo-folder-append-buffer instead of
1427         write-region-as-binary.
1428         (elmo-dop-filter-pending-messages): New function.
1429         (elmo-folder-append-buffer-dop): Call
1430         elmo-dop-spool-folder-append-buffer with `flag'.
1431         (elmo-folder-set-flag-dop): Filter messages by
1432         elmo-dop-filter-pending-messages.
1433         (elmo-folder-unset-flag-dop): Ditto.
1434         (elmo-folder-append-buffer-dop-delayed): Use
1435         elmo-message-flags-for-append to get flags of the message and
1436         simplify.
1437
1438 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1439
1440         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1441
1442 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1443
1444         * elmo.el (elmo-folder): Added handlers slot.
1445         (elmo-event-handler): New class.
1446         (elmo-event-handler-flag-changed): New API.
1447         (elmo-folder-add-handler): New function.
1448         (elmo-folder-remove-handler): Ditto.
1449         (elmo-folder-notify-event): Ditto.
1450         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1451         `flag-changed'.
1452         (elmo-folder-unset-flag): Ditto.
1453
1454         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1455         (elmo-folder-unset-flag): Ditto.
1456
1457         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1458         (elmo-folder-unset-flag): Ditto.
1459
1460         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1461         (elmo-folder-unset-flag): Ditto.
1462
1463         * elmo-version.el (elmo-version): Up to 2.11.33.
1464
1465 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1466
1467         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1468
1469 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1470
1471         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1472
1473         * elmo-flag.el (elmo-folder-unset-flag): Define.
1474         (elmo-global-flag-detach): Do process when the flag is not target
1475         flag.
1476
1477 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1478
1479         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1480         variable.
1481         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1482
1483 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1484
1485         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1486         function.
1487         (elmo-folder-delete-messages): Detach messages before delete
1488         messages from target folder.
1489         (elmo-folder-detach-messages): Set updated number-list to slot.
1490
1491 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1492
1493         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1494
1495 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1496
1497         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1498
1499 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1500
1501         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1502         internal use only).
1503         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1504         not modified.
1505         (elmo-folder-delete-messages): Define.
1506         (elmo-folder-move-messages): Don't call
1507         `elmo-folder-detach-messages'.
1508         (elmo-folder-synchronize): Rewrite.
1509         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1510
1511         * elmo-util.el (elmo-last): New function.
1512         (elmo-set-list): Ditto.
1513         (elmo-number-set-delete-list): Ditto.
1514         (elmo-number-set-delete): Ditto.
1515
1516         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1517
1518         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1519         `elmo-folder-delete-messages' and don't delete location map.
1520         (elmo-folder-detach-messages): Define.
1521
1522         * elmo-imap4.el (elmo-folder-delete): Use
1523         `elmo-folder-delete-messages-internal' instead of
1524         `elmo-folder-delete-messages'.
1525
1526         * elmo-filter.el (elmo-folder-delete-messages): Call
1527         `elmo-folder-detach-messages'.
1528         (elmo-folder-detach-messages): Don't call
1529         `elmo-folder-detach-messages' for target folder.
1530
1531         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1532         message deletion is succeeded.
1533
1534         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1535
1536         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1537         from `elmo-folder-delete-messages'.
1538
1539         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1540
1541         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1542
1543         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1544
1545         * elmo-version.el (elmo-version): Up to 2.11.32.
1546
1547 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1548
1549         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1550         (elmo-global-flag-list): Added obsolete variable setting.
1551
1552         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1553
1554         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1555         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1556         `elmo-mime-display-header-analysis' is nil.
1557
1558         * elmo-flag.el (elmo-global-flags): Renamed from
1559         `elmo-global-flag-list' (All other related portions are changed).
1560         (elmo-local-flags): New variable.
1561         (elmo-local-flag-p): New function.
1562         (elmo-global-flag-set-internal): Cause an error when flag is not
1563         global.
1564
1565 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1566
1567         * elmo-util.el (elmo-concat-path): Treat empty path.
1568
1569 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1570
1571         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1572         field-or-fields).
1573         (elmo-split-address-match): Ditto.
1574         (elmo-split-equal): Ditto.
1575         (elmo-split-match): Ditto.
1576
1577 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1578
1579         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1580         (elmo-generic-folder-append-messages): If src message exists but
1581         has no flag, pass (read) for the FLAG argument of
1582         `elmo-folder-append-buffer'. Otherwise, pass nil.
1583
1584         * elmo-split.el (elmo-split-subr): Likewise.
1585
1586         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1587
1588         * elmo-multi.el (elmo-message-flags): Ditto.
1589
1590         * elmo-filter.el (elmo-message-flags): Ditto.
1591
1592         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1593         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1594         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1595         
1596 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1597
1598         * elmo-split.el (elmo-split-rule): Update comment.
1599         (elmo-split-address-equal): Allow 2nd argument to be a list.
1600         (elmo-split-address-match): Ditto.
1601         (elmo-split-equal): Ditto.
1602         (elmo-split-match): Ditto.
1603
1604 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1605
1606         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1607         (elmo-folder-append-msgdb): Don't treat `read'.
1608         (elmo-message-flags): Don't return `read'.
1609
1610         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1611         (elmo-folder-unset-read-delayed): Ditto.
1612
1613         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1614
1615 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1616
1617         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1618         deletion.
1619
1620 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1621
1622         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1623         header.
1624
1625 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1626
1627         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1628         here.
1629         (elmo-msgdb-save): Bind inhibit-quit.
1630         (modb-standard-message-entity): Ditto.
1631
1632 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1633
1634         * elmo-database.el: No need to require elmo-msgdb.
1635
1636 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1637
1638         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1639         instead of `elmo-list-subdirectories'.
1640
1641 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1642
1643         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1644         group entry.
1645         (elmo-folder-exists-p): "[" is empty.
1646         (elmo-folder-list-subfolders): Define.
1647         (elmo-folder-have-subfolder-p): Ditto.
1648
1649 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1650
1651         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1652
1653 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1654
1655         * elmo-filter.el (elmo-folder-local-p): Define.
1656
1657 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1658
1659         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1660         when entity is garbaged.
1661         (modb-standard-save-entity-1): Don't modify the original entity.
1662
1663 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1664
1665         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1666
1667 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1668
1669         * elmo.el (elmo-strict-folder-diff): Use
1670         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1671
1672 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1673
1674         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1675         (elmo-msgdb-message-number): Ditto.
1676         (elmo-msgdb-message-field): Ditto.
1677
1678         * modb-standard.el (modb-standard-economize-entity-size): New user
1679         option.
1680         (modb-standard-loaded-message-id): New inline function.
1681         (modb-standard-load-entity): Use it.
1682         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1683         throw message-id string away.
1684         (elmo-msgdb-flag-available-p): Define.
1685         (elmo-msgdb-message-number): Ditto.
1686         (elmo-msgdb-message-field): Ditto.
1687
1688         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1689         (suppoted -> supported).
1690         (modb-legacy-supported-flag-p): Ditto.
1691         (elmo-msgdb-set-flag): Ditto.
1692         (elmo-msgdb-unset-flag): Ditto.
1693         (elmo-msgdb-flag-available-p): Define.
1694
1695         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1696         is `t', treat it as legacy entity.
1697         
1698         * elmo.el (elmo-message-flag-available-p): New generic function.
1699         (elmo-message-number): Ditto.
1700         (elmo-message-field): Use `elmo-msgdb-message-field'.
1701
1702         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1703
1704         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1705         (elmo-message-number): Ditto.
1706
1707         * elmo-multi.el (elmo-message-number): Define.
1708         (elmo-message-flag-available-p): Ditto.
1709
1710         * elmo-filter.el (elmo-message-flag-available-p): Define.
1711         (elmo-message-number): Ditto.
1712
1713         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1714         (elmo-folder-initialize): Load `max-number'.
1715         (elmo-folder-commit): Save it.
1716         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1717         (elmo-global-flag-set-internal): Set up max-number slot.
1718
1719 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1720
1721         * elmo-version.el (elmo-version): Up to 2.11.31.
1722
1723 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1724
1725         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1726         unibyte string of the current buffer for the argument of `md5'
1727         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1728
1729 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1730
1731         * modb-legacy.el (modb-legacy-flag-list): New constant.
1732         (modb-legacy-suppoted-flag-p): New internal function.
1733         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1734         (elmo-msgdb-unset-flag): Ditto.
1735
1736 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1737
1738         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1739
1740         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1741         from msgdb.
1742
1743 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1744
1745         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1746         (follow the API change).
1747
1748         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1749
1750 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1751
1752         * modb-standard.el (modb-standard-digest-flags): Abolish.
1753         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1754
1755         * elmo-vars.el (elmo-digest-flags): New variable.
1756         (elmo-preserved-flags): Moved from elmo-flag.el.
1757
1758         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1759         (elmo-imap4-flag-to-imap-criteria): Ditto.
1760         (elmo-imap4-folder-list-flagged): Use it.
1761
1762         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1763
1764         * elmo.el (elmo-folder-count-flags): Changed return value.
1765
1766         * elmo-flag.el (elmo-preserved-flags): New variable.
1767         (elmo-get-global-flags): Use it.
1768
1769         * modb-standard.el (modb-standard-digest-flags): New variable.
1770         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1771         Changed behavior of `any'.
1772
1773         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1774         which are defined the Internet draft
1775         (draft-melnikov-imap-keywords-03.txt).
1776         (elmo-imap4-flags-to-imap): New function.
1777         (elmo-folder-append-buffer): Use it.
1778
1779         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1780         in the docstring.
1781
1782         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1783         avoid the bug of Emacs 21.3.
1784
1785 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1786
1787         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1788         function find-coding-system does not exist.
1789
1790 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1791
1792         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1793         parsing.
1794
1795 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1796
1797         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1798         response codes.
1799
1800 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1801
1802         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1803         (elmo-network-close-session): Follow the changes in
1804         `elmo-pop3-read-response'.
1805         (elmo-pop3-auth-user): Ditto.
1806         (elmo-pop3-auth-apop): Ditto.
1807         (elmo-network-initialize-session): Ditto.
1808         (elmo-network-authenticate-session): Ditto.
1809         (elmo-network-setup-session): Ditto.
1810         (elmo-folder-status): Ditto.
1811         (elmo-message-fetch-plugged): Ditto.
1812         (elmo-pop3-delete-msg): Ditto.
1813
1814 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1815
1816         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1817         on failure.
1818
1819 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1820
1821         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1822         style.
1823         (elmo-bind-directory): Ditto.
1824
1825 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1826
1827         * elmo.el (elmo-folder-append-messages): Note on return value.
1828         * elmo-archive.el (elmo-folder-append-messages): Don't return
1829         message numbers which could not be appended.
1830
1831 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1832
1833         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1834
1835 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1836
1837         * elmo-version.el (elmo-version): Up to 2.11.30.
1838
1839 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1840
1841         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1842         `mask'.
1843
1844         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1845
1846         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1847         (elmo-multi-split-numbers): Add elmo-folder object into each
1848         element of return value at first.
1849         (elmo-folder-delete-messages): Follow the above change.
1850         (elmo-folder-detach-messages): Ditto.
1851
1852         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1853         number which is synchronized in target folder.
1854
1855 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1856
1857         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1858         Change default value to symbol `all'.
1859         (elmo-map-message-fetch): Change condition to update overview
1860         follow the above.
1861
1862 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1863
1864         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1865         behavior to update overview.
1866         (elmo-shimbun-update-overview-folder-list): Note it.
1867
1868 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1869
1870         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1871         recursive call.
1872
1873 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1874
1875         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1876         buffer-disable-undo, it is unnecessary.
1877         (elmo-spam-register-good-messages): Ditto.
1878
1879         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1880         Ditto.
1881
1882         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1883
1884 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1885
1886         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1887         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1888         elmo-set-buffer-multibyte.
1889         (elmo-object-load): Ditto.
1890         (elmo-save-buffer): Ditto.
1891         (elmo-delete-char): Ditto.
1892         (elmo-file-field-primitive-condition-match): Ditto.
1893         (elmo-mime-string): Ditto.
1894
1895         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1896         (elmo-archive-field-condition-match): Ditto.
1897
1898         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1899
1900         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1901
1902         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1903         (elmo-nntp-msgdb-create-message): Ditto.
1904
1905         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1906
1907         * elmo.el (elmo-message-match-condition): Ditto.
1908         (elmo-message-match-condition): Ditto.
1909
1910         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1911         Ditto.
1912
1913         * elmo-version.el (elmo-version): Up to 2.11.29.
1914
1915         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1916         (elsp-header): New backend.
1917
1918         * elmo-util.el (elmo-decoded-field-body): New function.
1919
1920 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1921
1922         * elmo-version.el (elmo-version): Up to 2.11.28.
1923
1924 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1925
1926         * elmo-filter.el: Rewrite.
1927
1928         * elmo-version.el (elmo-version): Up to 2.11.27.
1929
1930 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1931
1932         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1933         msgdb path for the localdir folder with absolute path.
1934
1935         * utf7.el: Synch up with latest gnus/utf7.el;
1936         Modified for latest Emacs.
1937
1938 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1939
1940         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1941         shimbun backend couldn't open.
1942
1943 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1944
1945         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1946         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1947         when a destination folder is a filter folder.
1948
1949 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1950
1951         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1952         (elmo-generic-folder-append-messages): Call elmo-message-flags
1953         with argument `msgid'.
1954
1955         * elmo-split.el (elmo-split-subr): Ditto.
1956
1957         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1958
1959         * elmo-multi.el (elmo-message-flags): Ditto.
1960
1961 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1962
1963         * elmo.el (elmo-folder): Add new slot `flag-table'.
1964         (elmo-folder-flag-table): New API.
1965         (elmo-folder-close-flag-table): Ditto.
1966         (elmo-folder-preserve-flags): New function.
1967         (elmo-generic-folder-append-messages): Use
1968         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1969         Flag of a non-registered message, it sets to nil.
1970         Does not set flag to flag-table.
1971
1972         * elmo-maildir.el (elmo-folder-append-buffer): Use
1973         `elmo-folder-preserve-flags'.
1974         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1975         `elmo-folder-close-flag-table'.
1976
1977         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1978         (elmo-archive-folder-append-buffer): Use
1979         `elmo-folder-preserve-flags'.
1980
1981         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1982
1983         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1984
1985         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1986         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1987         `elmo-folder-close-flag-table'.
1988
1989         * elmo-version.el (elmo-version): Up to 2.11.26.
1990
1991 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1992
1993         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1994
1995         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1996         md5's 4th and 5th argument (non-existent in flim one).
1997
1998 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1999
2000         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2001         message, It sets to nil.
2002
2003 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2004
2005         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2006         list is non-nil.
2007
2008 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2009
2010         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2011
2012         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2013
2014         * elmo-util.el (elmo-uniq-sorted-list): New function.
2015         (elmo-make-number-list): Ditto.
2016         (elmo-number-set-to-number-list): Use elmo-make-number-list
2017         and don't use nreverse.
2018
2019 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2020
2021         * elmo-version.el (elmo-version): Up to 2.11.25.
2022
2023 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2024
2025         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2026         field not exists in message, Use md5 message digest of header.
2027
2028 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2029
2030         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2031         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2032         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2033         * elmo-split.el (elmo-split-subr): Check return value of
2034         elmo-folder-append-buffer.
2035
2036         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2037         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2038
2039         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2040         message-id.
2041
2042 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2043
2044         * elmo-split.el (elmo-split-subr): Append message with flag.
2045
2046         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2047         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2048         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2049
2050 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2051
2052         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2053         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2054         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2055
2056 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2057
2058         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2059         with a function call of `process-buffer'.  All callers are updated.
2060         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2061         Remove redundant `set-buffer' in a while loop.
2062
2063 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2064
2065         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2066         calls.
2067
2068 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2069
2070         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2071         elsp-spamfilter-register-buffer-internal with current buffer.
2072         (elmo-spam-register-spam-buffer): Ditto.
2073         (elmo-spam-register-good-buffer): Ditto.
2074
2075 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2076
2077         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2078         if it is not contained in the response(A workaround for courier-imap).
2079
2080 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2081
2082         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2083         parenthesis.
2084
2085 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2086
2087         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2088         range.
2089
2090 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2091
2092         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2093         of nconc.
2094
2095         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2096         argument handler.
2097         (elmo-msgdb-message-match-condition): Follow the change above.
2098
2099 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2100
2101         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2102         folder name.
2103
2104 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2105
2106         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2107
2108 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2109
2110         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2111
2112 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2113
2114         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2115         not found.
2116
2117 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2118
2119         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2120         value.
2121         (elmo-file-command-argument): Undo last change for cygwin.
2122         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2123         Don't return nil.
2124         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2125
2126 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2127
2128         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2129         value returned from elmo-file-find is nil.
2130
2131 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2132
2133         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2134         to elmo-vars.el.
2135
2136         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2137         instead of insert-file-contents-as-binary.
2138         (elmo-message-set-field): New generic function.
2139
2140         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2141         behavior change on `split-string'.
2142
2143         * elmo-file.el (elmo-file-find): New function.
2144         (elmo-file-command): New user option.
2145         (elmo-file-command-argument): Ditto.
2146         (elmo-file-fetch-max-size): Ditto.
2147         (elmo-file-detect-format): New function.
2148         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2149         Use elmo-file-detect-format.
2150         (elmo-map-folder-list-message-locations): Don't treat directories.
2151
2152 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2153
2154         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2155         (elmo-passwd-alist-clear): Shred password before clear.
2156         (elmo-remove-passwd): Remove all mached pair.
2157
2158 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2159
2160         * elmo.el (elmo-folder-synchronize): Fix description of the return
2161         value.
2162
2163 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2164
2165         * elmo.el (elmo-message-fetch-bodystructure): New method.
2166         (elmo-message-fetch-bodystructure): Define default.
2167
2168         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2169         elmo-message-fetch-bodystructure.
2170         (elmo-message-fetch-bodystructure): Define.
2171
2172         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2173
2174 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2175
2176         * elmo-filter.el (elmo-message-folder): Define.
2177
2178 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2179
2180         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2181         elmo-delete-cr-buffer.
2182
2183         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2184
2185         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2186
2187         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2188
2189         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2190         type seems to be a text.
2191
2192 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2193
2194         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2195         (elmo-spam-register-good-buffer): Ditto.
2196         (elmo-spam-spamassassin-register-messages): Ditto.
2197
2198         * elmo-util.el (elmo-string-member-ignore-case): Define with
2199         static-cond.
2200
2201 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2202
2203         * elmo.el (elmo-folder-type): Undo last change.
2204
2205         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2206
2207         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2208         warnings.
2209
2210         * elmo-file.el: New file.
2211         
2212         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2213
2214         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2215         variable.
2216         (elmo-spam-spamassassin-register-messages): New inline function.
2217         (elmo-spam-register-spam-messages): Define.
2218         (elmo-spam-register-good-messages): Ditto.
2219
2220         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2221         Fixed typo.
2222
2223         * elmo.el (toplevel): Added autoload setting for
2224         `elmo-get-global-flags'.
2225         (elmo-message-has-global-flag-p): New function.
2226         (elmo-message-set-global-flags): Ditto.
2227         (elmo-folder-type): Improvement for name: format.
2228
2229         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2230         availability of keyword flags.
2231         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2232         (elmo-folder-list-flagged-plugged): Renamed from
2233         elmo-folder-list-flagged-unplugged.
2234         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2235         accept any flag as keyword flag.
2236         (elmo-folder-set-flag-plugged): Accept keyword flags.
2237         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2238
2239         * elmo-flag.el (elmo-get-global-flags): New function.
2240
2241         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2242         folders.
2243
2244         * elmo-version.el (elmo-version): Up to 2.11.24.
2245
2246 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2247
2248         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2249         elmo-multiple-field-body instead of std11-field-body to check all
2250         headers.
2251
2252 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2253
2254         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2255         or "size".
2256
2257 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2258
2259         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2260         unintern is unbound.
2261
2262 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2263
2264         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2265         Protect from infinite loop.
2266
2267 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2268
2269         * elsp-bogofilter.el
2270         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2271         (elmo-spam-bogofilter-register-messages): New internal function.
2272         (elmo-spam-register-spam-messages): Define.
2273         (elmo-spam-register-good-messages): Ditto.
2274
2275 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2276
2277         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2278         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2279         (elmo-spam-bogofilter-call): Fixed the last change.
2280         (elmo-spam-bogofilter-arguments): Ditto.
2281
2282         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2283         Follow the options change of latest bogofilter.
2284
2285         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2286         (elmo-spam-bogofilter-good-switch): Ditto.
2287         (elmo-spam-bogofilter-arguments-alist): New user option.
2288         (elmo-spam-bogofilter-debug): Ditto.
2289         (elmo-spam-bogofilter-call): Renamed from
2290         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2291         is non-nil, insert output in buffer for debug.
2292         (elmo-spam-bogofilter-arguments): New macro.
2293         (elmo-spam-buffer-spam-p): Use it.
2294         (elsp-bogofilter-register-buffer): Ditto.
2295
2296 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2297
2298         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2299         regexp.
2300
2301 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2302
2303         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2304         value as "ruby".
2305         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2306         (elmo-spam-bsfilter-program): Set default value as full path for
2307         `bsfilter'.
2308         (elmo-spam-bsfilter-debug): New user option.
2309         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2310         non-nil, insert output in buffer for debug. Fix treating of
2311         argument.
2312
2313 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2314
2315         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2316         `elmo-maildir-flag-specs' element instead of one.
2317         (elmo-map-folder-unset-flag): Ditto.
2318         (Reported by Ken Makimura <macky@astem.or.jp>)
2319
2320         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2321         (elmo-folder-unset-flag-plugged): Ditto.
2322
2323 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2324
2325         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2326         to `reads' slot only if `in-msgdb' is nil.
2327
2328 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2329
2330         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2331         and complement argument list.
2332
2333 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2334
2335         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2336         instead of elmo-folder-list-flagged.
2337
2338 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2339
2340         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2341
2342         * elsp-bsfilter.el: New file.
2343
2344         * elmo-pipe.el (elmo-folder-list-unreads,
2345         elmo-folder-list-answereds,
2346         elmo-folder-list-importants,
2347         elmo-folder-flag-as-important,
2348         elmo-folder-unflag-important,
2349         elmo-folder-flag-as-read,
2350         elmo-folder-unflag-read,
2351         elmo-folder-flag-as-answered,
2352         elmo-folder-unflag-answered): Remove.
2353         (elmo-folder-set-flag): Define.
2354         (elmo-folder-unset-flag): Ditto.
2355
2356         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2357         (elmo-folder-set-flag): Define.
2358         (elmo-folder-unset-flag): Ditto.
2359         (elmo-folder-list-unreads): Remove.
2360         (elmo-folder-list-flagged): Define.
2361
2362         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2363         (elmo-folder-list-unreads,
2364         elmo-folder-list-importants,
2365         elmo-folder-list-answereds,
2366         elmo-folder-list-unreads-plugged,
2367         elmo-folder-list-importants-plugged,
2368         elmo-folder-list-answereds-plugged): Remove.
2369         (elmo-folder-list-flagged-plugged): New method.
2370         (elmo-folder-unflag-important,
2371         elmo-folder-flag-as-important,
2372         elmo-folder-unflag-read,
2373         elmo-folder-flag-as-read,
2374         elmo-folder-unflag-answered,
2375         elmo-folder-flag-as-answered,
2376         elmo-folder-flag-as-read-unplugged,
2377         elmo-folder-unflag-read-unplugged,
2378         elmo-folder-flag-as-important-unplugged,
2379         elmo-folder-unflag-important-unplugged,
2380         elmo-folder-flag-as-answered-unplugged,
2381         elmo-folder-unflag-answered-unplugged): Remove.
2382         (elmo-folder-set-flag): Define.
2383         (elmo-folder-unset-flag): Ditto.
2384         (elmo-folder-set-flag-unplugged): Ditto.
2385         (elmo-folder-unset-flag-unplugged): Ditto.
2386
2387         * elmo-multi.el (elmo-folder-list-unreads,
2388         elmo-folder-list-answereds,
2389         elmo-folder-list-importants,
2390         elmo-folder-flag-as-important,
2391         elmo-folder-unflag-important,
2392         elmo-folder-flag-as-read,
2393         elmo-folder-unflag-read,
2394         elmo-folder-flag-as-answered,
2395         elmo-folder-unflag-answered): Remove.
2396         (elmo-folder-set-flag): Define.
2397         (elmo-folder-unset-flag): Ditto.
2398
2399         * elmo-map.el (elmo-map-folder-unflag-important,
2400         elmo-map-folder-flag-as-important,
2401         elmo-map-folder-unflag-read,
2402         elmo-map-folder-flag-as-read,
2403         elmo-map-folder-unflag-answered,
2404         elmo-map-folder-flag-as-answered): Remove.
2405         (elmo-map-folder-set-flag): New method.
2406         (elmo-map-folder-unset-flag): Ditto.
2407         (elmo-map-folder-list-unreads,
2408         elmo-map-folder-list-importants,
2409         elmo-map-folder-list-answereds): Remove.
2410         (elmo-folder-list-flagged-internal): Define.
2411         (elmo-map-folder-list-flagged): New method.
2412
2413         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2414         (elmo-map-folder-list-unreads,
2415         elmo-map-folder-list-importants,
2416         elmo-map-folder-list-flagged): Remove.
2417         (elmo-map-folder-list-flagged): Define.
2418         (elmo-map-folder-flag-as-important,
2419         elmo-map-folder-unflag-important,
2420         elmo-map-folder-flag-as-read,
2421         elmo-map-folder-unflag-read,
2422         elmo-map-folder-flag-as-answered,
2423         elmo-map-folder-unflag-answered): Remove.
2424         (elmo-maildir-set-mark-messages): New internal function.
2425         (elmo-map-folder-set-flag): Define.
2426         (elmo-map-folder-unset-flag): Ditto.
2427
2428         * elmo.el (toplevel): Added autoload setting for
2429         `elmo-folder-list-global-flag-messages'.
2430         (elmo-folder-list-unreads,
2431         elmo-folder-list-importants,
2432         elmo-folder-list-answereds): Remove.
2433         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2434         Return a list whitch merged with messages have global flag.
2435         (elmo-folder-list-flagged-internal): New method.
2436         (elmo-folder-unflag-important,
2437         elmo-folder-flag-as-important,
2438         elmo-folder-unflag-read,
2439         elmo-folder-flag-as-read,
2440         elmo-folder-unflag-answered,
2441         elmo-folder-flag-as-answered): Remove.
2442         (elmo-folder-set-flag): New method.
2443         (elmo-folder-unset-flag): Ditto.
2444         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2445         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2446
2447         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2448         (elmo-folder-list-unreads-plugged,
2449         elmo-folder-list-importants-plugged,
2450         elmo-folder-list-answereds-plugged,
2451         elmo-folder-list-flagged-unplugged,
2452         elmo-folder-unflag-important-plugged,
2453         elmo-folder-flag-as-important-plugged,
2454         elmo-folder-unflag-read-plugged,
2455         elmo-folder-flag-as-read-plugged,
2456         elmo-folder-unflag-answered-plugged,
2457         elmo-folder-flag-as-answered-plugged): Remove.
2458         (elmo-folder-set-flag-plugged,
2459         elmo-folder-unset-flag-plugged): Define.
2460
2461         * elmo-flag.el (elmo-folder-initialize): Register to
2462         `elmo-global-flag-list' if flag is not global.
2463         (elmo-folder-append-messages): Set flag to source messages.
2464
2465         * elmo-filter.el (elmo-filter-folder-list-unreads,
2466         elmo-folder-list-unreads,
2467         elmo-filter-folder-list-importants,
2468         elmo-folder-list-importants,
2469         elmo-folder-flag-as-read,
2470         elmo-folder-unflag-read,
2471         elmo-folder-flag-as-important,
2472         elmo-folder-unflag-important,
2473         elmo-folder-flag-as-answered,
2474         elmo-folder-unflag-answered): Remove.
2475         (elmo-folder-set-flag): Define.
2476         (elmo-folder-unset-flag): Ditto.
2477
2478         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2479         elmo-folder-unflag-read-dop,
2480         elmo-folder-flag-as-important-dop,
2481         elmo-folder-unflag-important-dop,
2482         elmo-folder-flag-as-answered-dop,
2483         elmo-folder-unflag-answered-dop): Remove.
2484         (elmo-folder-set-flag-dop,
2485         elmo-folder-unset-flag-dop,
2486         elmo-folder-set-important-delayed,
2487         elmo-folder-unset-important-delayed,
2488         elmo-folder-set-read-delayed,
2489         elmo-folder-unset-read-delayed,
2490         elmo-folder-set-answered-delayed,
2491         elmo-folder-unset-answered-delayed): New function.
2492         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2493         (elmo-dop-queue-method-name-alist): Ditto.
2494
2495         * elmo-version.el (elmo-version): Up to 2.11.23.
2496
2497 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2498
2499         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2500
2501         * elsp-sa.el: New file.
2502
2503 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2504
2505         * modb-standard.el (modb-standard-message-entity): New function.
2506         (elmo-msgdb-message-entity): Use it.
2507
2508 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2509
2510         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2511         behavior when one-level is nil.
2512
2513         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2514
2515         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2516
2517 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2518
2519         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2520         get max number.
2521         (elmo-generic-folder-diff): Ditto.
2522
2523         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2524         (elmo-folder-update-number): Ditto.
2525
2526         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2527         (elmo-folder-next-message-number-dop): Ditto.
2528
2529 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2530
2531         * elmo-filter.el (elmo-folder-msgdb-create): Use
2532         `elmo-message-entity' and `elmo-message-flags' instead of
2533         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2534
2535 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2536
2537         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2538         `if-exists'.
2539
2540 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2541
2542         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2543
2544         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2545
2546         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2547
2548 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2549
2550         * elmo-version.el (elmo-version): Up to 2.11.22.
2551
2552 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2553
2554         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2555
2556 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2557
2558         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2559         if the message dose not exist.
2560
2561 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2562
2563         * elmo-version.el (elmo-version): Up to 2.11.21.
2564
2565 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2566
2567         * modb-standard.el (toplevel): Don't require mime.
2568
2569 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2570
2571         * elsp-bogofilter.el (toplevel): Don't require path-util.
2572         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2573         (elmo-spam-bogofilter-header): Abolish.
2574         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2575         (elmo-spam-bogofilter-args): New user option.
2576         (elsp-bogofilter-call-bogofilter): New internal function.
2577         (elmo-spam-buffer-spam-p): Use it.
2578         (elsp-bogofilter-register-buffer): Renamed from
2579         `elmo-spam-bogofilter-register-buffer';
2580         Use `elsp-bogofilter-call-bogofilter'.
2581         (elmo-spam-register-spam-buffer): Follow the change above.
2582         (elmo-spam-register-good-buffer): Ditto.
2583
2584 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2585
2586         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2587         message-id is nil do nothing.
2588
2589 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2590
2591         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2592         Revival.
2593         (elmo-imap4-session): Removed use-flag slot.
2594         (elmo-imap4-session-select-mailbox): Undo last change.
2595         (elmo-folder-use-flag-p): Use
2596         elmo-imap4-disuse-server-flag-mailbox-regexp.
2597
2598 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2599
2600         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2601         (elmo-imap4-session-select-mailbox): Set it up.
2602         (elmo-folder-use-flag-p): Return value of use-flag slot.
2603
2604 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2605
2606         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2607         message-id is nil.
2608         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2609
2610         * modb-entity.el (elmo-message-entity-handler): Likewise.
2611
2612 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2613
2614         * elmo.el (toplevel): Remove setting of autoloding for
2615         elmo-global-flag-initialize.
2616         (elmo-init): Don't call elmo-global-flag-initialize.
2617         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2618
2619         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2620         (elmo-global-mark-migrate): Don't call it.
2621         (elmo-global-mark-upgrade): Ditto.
2622
2623 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2624
2625         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2626         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2627
2628         * elmo-vars.el (elmo-init-hook): New user option.
2629
2630         * elmo.el (elmo-init): Run the elmo-init-hook.
2631
2632         * elmo-flag.el (elmo-global-mark-migrate): New function.
2633
2634 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2635
2636         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2637         Undo last change (move to elmo-msgdb-unset-flag).
2638         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2639         flag is unset.
2640
2641 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2642
2643         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2644         read flag is set.
2645         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2646         (elmo-msgdb-unset-flag): Ditto.
2647
2648 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2649
2650         * elmo-split.el (elmo-split): Return split message count.
2651
2652 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2653
2654         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2655         is nil.
2656
2657 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2658
2659         * elmo.el (elmo-folder-unflag-important): Call
2660         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2661         a symbol `always'.
2662
2663         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2664         before unset flag.
2665         (elmo-global-flag-detach): Delete the message from flag folder, if
2666         `delete-if-none' is a symbol `always'.
2667
2668 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2669
2670         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2671         `elmo-spam-spamfilter-decode-buffer'.
2672         (elsp-spamfilter-register-buffer-internal): New internal function.
2673         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2674         (elmo-spam-register-spam-buffer): Ditto.
2675         (elmo-spam-register-good-buffer): Ditto.
2676
2677         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2678         change.
2679         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2680         (elmo-spam-register-spam-buffer): Follow the API change.
2681         (elmo-spam-register-good-buffer): Ditto.
2682
2683         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2684         (elmo-split-spam-p): Added argument plist; Call
2685         `elmo-spam-buffer-spam-p' with new argument register.
2686
2687         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2688         `register'.
2689         (elmo-spam-message-spam-p): Ditto.
2690         (elmo-spam-register-spam-buffer): Added optional argument
2691         `restore'.
2692         (elmo-spam-register-good-buffer): Ditto.
2693         (elmo-spam-register-spam-messages): Ditto.
2694         (elmo-spam-register-good-messages): Ditto.
2695
2696 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2697
2698         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2699         register into good corpus.
2700         (elmo-spam-register-good-buffer): Fixed to register into bad
2701         corpus.
2702
2703 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2704
2705         * elmo-version.el (elmo-version): Up to 2.11.20.
2706
2707         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2708         change.
2709
2710         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2711         flag without depending on \Recent flag.
2712
2713 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2714
2715         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2716         (elmo-spam-modified-p): Defined.
2717         (elmo-spam-save-status): Set `modified' slot to nil.
2718         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2719         (elmo-spam-register-good-buffer): Ditto.
2720
2721         * elmo-spam.el (elmo-spam-modified-p): New API.
2722
2723 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2724
2725         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2726         duplicate definition.
2727
2728         * elmo-util.el (elmo-unfold-field-body): New function.
2729         (elmo-msgdb-get-message-id-from-buffer): Use it.
2730
2731         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2732         Fixed the last change; Use elmo-unfold-field-body.
2733
2734 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2735
2736         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2737         Unfold date value.
2738
2739 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2740
2741         * elmo-spam.el (elmo-spam-save-status): New API.
2742
2743         * elsp-spamfilter.el: New file.
2744
2745 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2746
2747         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2748
2749 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2750
2751         * elmo-split.el (elmo-split-spam-p): New function.
2752
2753         * elmo-spam.el: New file.
2754
2755         * elsp-bogofilter.el: Ditto.
2756
2757 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2758
2759         * elmo.el (elmo-folder-next-message-number): New API.
2760         (elmo-folder-next-message-number): Define.
2761         (elmo-message-field): Don't check folder length.
2762
2763         * elmo-net.el (elmo-folder-next-message-number): Define.
2764         (elmo-folder-next-message-number-unplugged): Define.
2765
2766         * elmo-map.el (elmo-folder-next-message-number): Define.
2767         (elmo-folder-delete-messages): Clear hash value.
2768
2769         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2770
2771         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2772         (elmo-folder-delete-messages-dop-delayed): Always return t.
2773
2774         * elmo-version.el (elmo-version): Up to 2.11.19.
2775
2776 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2777
2778         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2779         change.
2780
2781         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2782         identical cons cell into the mark-alist and the hash table.
2783
2784 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2785
2786         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2787         elmo-folder-list-messages with argument `visible-only' as t.
2788
2789         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2790         (elmo-folder-msgdb-create): Check the target folder.
2791
2792 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2793
2794         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2795         `permanentflag' instead of `flags'.
2796         (elmo-folder-open): Ditto.
2797         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2798         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2799         (elmo-folder-use-flag-p): Always return t.
2800         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2801         `permanentflags' does not exist.
2802         (elmo-folder-open): Ditto.
2803
2804 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2805
2806         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2807         is nil.
2808         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2809
2810         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2811         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2812         response.
2813         (elmo-folder-open): Ditto.
2814         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2815         slot of the session includes the flag.
2816         (elmo-imap4-session-flag-available-p): New function.
2817         (elmo-imap4-folder-list-flagged): Ditto.
2818         (elmo-folder-list-unreads-plugged): Use it.
2819         (elmo-folder-list-importants-plugged): Ditto.
2820         (elmo-folder-list-answereds-plugged): Ditto.
2821         (elmo-imap4-search-internal-primitive): Ditto.
2822         (elmo-imap4-folder-list-any-plugged,
2823         elmo-imap4-folder-list-digest-plugged): Abolish.
2824
2825         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2826         if numbers is nil.
2827
2828 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2829
2830         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2831
2832 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2833
2834         * elmo-util.el (elmo-get-hash-val): Simplify.
2835         (elmo-set-hash-val): Rewrite.
2836
2837 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2838
2839         * elmo.el (elmo-folder-list-messages): Append killed messages into
2840         result if `visible-only' is nil and `in-msgdb' is non-nil.
2841
2842         * elmo-util.el (elmo-uniq-list): Added optional argument
2843         `delete-function'.
2844
2845         * modb.el (elmo-msgdb-flag-count): New API.
2846
2847         * modb-standard.el (modb-standard): Added slot flag-count.
2848         (modb-standard-countup-flags): New function.
2849         (modb-standard-load-flag): Call it.
2850         (elmo-msgdb-append): Ditto.
2851         (elmo-msgdb-clear): Clear slot flag-count.
2852         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2853         (elmo-msgdb-unset-flag): Treat `all' flag and call
2854         modb-standard-countup-flags.
2855         (elmo-msgdb-flag-count): Define.
2856         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2857         (elmo-msgdb-delete-messages): Ditto.
2858
2859         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2860         (elmo-msgdb-flag-count): Define.
2861
2862         * elmo.el (elmo-folder-list-messages): Undo last change.
2863         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2864         (elmo-folder-kill-messages): Unset all flags to numbers.
2865
2866         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2867         elmo-folder-kill-messages.
2868
2869         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2870         (elmo-nntp-folder-delete-messages): Abolish.
2871
2872         * elmo-version.el (elmo-version): Up to 2.11.18.
2873
2874 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2875
2876         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2877         (elmo-folder-kill-messages-range): New function.
2878         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2879         instead of elmo-folder-kill-messages-before.
2880
2881 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2882
2883         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2884         elmo-imap4-current-msgdb to decide entity handler.
2885
2886 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2887
2888         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2889
2890         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2891         inline function.
2892         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2893         (elmo-msgdb-overview-entity-set-number,
2894         elmo-msgdb-overview-entity-get-references,
2895         elmo-msgdb-overview-entity-set-references,
2896         elmo-msgdb-overview-entity-get-from-no-decode,
2897         elmo-msgdb-overview-entity-get-from,
2898         elmo-msgdb-overview-entity-set-from,
2899         elmo-msgdb-overview-entity-get-subject,
2900         elmo-msgdb-overview-entity-get-subject-no-decode,
2901         elmo-msgdb-overview-entity-set-subject,
2902         elmo-msgdb-overview-entity-get-date,
2903         elmo-msgdb-overview-entity-set-date,
2904         elmo-msgdb-overview-entity-get-to,
2905         elmo-msgdb-overview-entity-get-cc,
2906         elmo-msgdb-overview-entity-get-size,
2907         elmo-msgdb-overview-entity-set-size,
2908         elmo-msgdb-overview-entity-get-extra,
2909         elmo-msgdb-overview-entity-set-extra,
2910         elmo-msgdb-overview-entity-get-extra-field,
2911         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2912         (elmo-msgdb-make-index): Use
2913         `elmo-msgdb-overview-entity-get-number-internal'.
2914         (elmo-msgdb-clear-index): Ditto.
2915         (elmo-msgdb-append-entity): Ditto;
2916         Use `elmo-msgdb-overview-entity-get-id-internal'.
2917
2918         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2919         elmo-msgdb-overview-entity-set-number,
2920         elmo-msgdb-overview-entity-get-references,
2921         elmo-msgdb-overview-entity-set-references,
2922         elmo-msgdb-overview-entity-get-from-no-decode,
2923         elmo-msgdb-overview-entity-get-from,
2924         elmo-msgdb-overview-entity-set-from,
2925         elmo-msgdb-overview-entity-get-subject,
2926         elmo-msgdb-overview-entity-get-subject-no-decode,
2927         elmo-msgdb-overview-entity-set-subject,
2928         elmo-msgdb-overview-entity-get-date,
2929         elmo-msgdb-overview-entity-set-date,
2930         elmo-msgdb-overview-entity-get-to,
2931         elmo-msgdb-overview-entity-get-cc,
2932         elmo-msgdb-overview-entity-get-size,
2933         elmo-msgdb-overview-entity-set-size,
2934         elmo-msgdb-overview-entity-get-extra,
2935         elmo-msgdb-overview-entity-set-extra,
2936         elmo-msgdb-overview-entity-get-extra-field,
2937         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2938         and rewrote for backward compatibility.
2939
2940 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2941
2942         * elmo.el (elmo-message-entity-number,
2943         elmo-message-entity-set-number,
2944         elmo-message-entity-field,
2945         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2946
2947         * elmo-msgdb.el (elmo-message-entity-number,
2948         elmo-message-entity-set-number,
2949         elmo-message-entity-field,
2950         elmo-message-entity-set-field): Moved from elmo.el.
2951
2952 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2953
2954         * elmo.el (toplevel): Changed definition orders.
2955
2956 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2957
2958         * modb.el (elmo-msgdb-search): New API .
2959         (elmo-msgdb-match-condition): Ditto.
2960
2961         * modb-standard.el (elmo-msgdb-search): Define.
2962
2963         * modb-legacy.el (elmo-msgdb-search): Ditto.
2964
2965         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2966         from elmo-msgdb-match-condition-internal.
2967
2968         * elmo.el (elmo-folder-search-fast): Abolish.
2969         (elmo-folder-search): Use elmo-msgdb-search and
2970         elmo-with-progress-display.
2971
2972         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2973         as msgdb API.
2974
2975         * elmo.el (elmo-folder): Remove slot message-modified and
2976         flag-modified.
2977         (elmo-folder-set-message-modified): Abolish.
2978         (elmo-generic-folder-commit): Follow the change above.
2979         (elmo-folder-synchronize): Ditto.
2980
2981         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2982
2983         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2984
2985         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2986
2987 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2988
2989         * modb-standard.el (modb-standard-make-message-entity,
2990         elmo-msgdb-make-message-entity,
2991         elmo-msgdb-create-message-entity-from-buffer,
2992         elmo-msgdb-message-entity-number,
2993         elmo-msgdb-message-entity-set-number,
2994         elmo-msgdb-message-entity-field,
2995         elmo-msgdb-message-entity-set-field,
2996         elmo-msgdb-copy-message-entity,
2997         elmo-msgdb-match-condition-internal): Remove.
2998
2999         * modb-entity.el: New file (again).
3000
3001         * modb.el (toplevel): Require modb-entity.
3002         (elmo-msgdb-message-entity-handler): New method.
3003
3004         * modb-standard.el (modb-standard-entity-id): Use
3005         elmo-message-entity-handler.
3006         (modb-standard-load-entity): Ditto.
3007         (elmo-msgdb-append-entity): Ditto.
3008         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3009
3010         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3011         elmo-msgdb-decoded-cache-hashtb,
3012         (modb-legacy-make-message-entity,
3013         elmo-msgdb-make-message-entity,
3014         elmo-msgdb-create-message-entity-from-buffer,
3015         elmo-msgdb-message-entity-number,
3016         elmo-msgdb-message-entity-set-number,
3017         elmo-msgdb-message-entity-field,
3018         elmo-msgdb-message-entity-set-field,
3019         elmo-msgdb-copy-message-entity,
3020         elmo-msgdb-match-condition-internal,
3021         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3022
3023         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3024         (elmo-message-entity-set-number): Ditto.
3025         (elmo-message-entity-field): Ditto.
3026         (elmo-message-entity-set-field): Ditto.
3027
3028         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3029
3030         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3031
3032         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3033
3034         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3035         (elmo-nntp-msgdb-create-message): Ditto.
3036
3037         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3038         (elmo-folder-msgdb-create): Add unread flag.
3039
3040         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3041
3042         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3043
3044         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3045
3046         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3047
3048         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3049         elmo-msgdb-messge-entity-handler.
3050         * elmo-version.el (elmo-version): Up to 2.11.17.
3051
3052 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3053
3054         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3055         change.
3056
3057 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3058
3059         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3060
3061         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3062         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3063         (elmo-msgdb-flag-table): Ditto.
3064         (elmo-msgdb-sort-by-date): Ditto.
3065
3066         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3067
3068         * modb-standard.el (toplevel): Require mime.
3069         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3070         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3071         elmo-msgdb-message-entity-number.
3072         (elmo-msgdb-append-entity): Ditto.
3073         (elmo-msgdb-create-message-entity-from-file): Remove.
3074         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3075         corresponds to the entity.
3076         (elmo-msgdb-message-entity-number): Do nothing currently.
3077         (elmo-msgdb-message-entity-field): Ditto.
3078         (elmo-msgdb-message-entity-set-field): Ditto.
3079         (elmo-msgdb-copy-message-entity): Ditto.
3080         (elmo-msgdb-match-condition-internal): Ditto.
3081
3082         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3083         elmo-util.el.
3084         (elmo-msgdb-create-message-entity-from-file): Remove.
3085
3086         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3087         modb-legacy.el.
3088         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3089
3090         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3091
3092 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3093
3094         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3095         (elmo-msgdb-message-entity-field): Ditto.
3096         (elmo-msgdb-message-entity-number): Ditto.
3097
3098 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3099
3100         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3101         Fixed how to set extra field into entity.
3102         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3103         symbol.
3104
3105         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3106         Fixed how to set extra field into entity.
3107         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3108         symbol.
3109
3110 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3111
3112         * modb.el (elmo-message-entity-db): New function.
3113         (elmo-msgdb-make-message-entity): New API.
3114         (elmo-msgdb-message-entity-number): Ditto.
3115         (elmo-msgdb-message-entity-set-number): Ditto.
3116         (elmo-msgdb-message-entity-field): Ditto.
3117         (elmo-msgdb-message-entity-set-field): Ditto.
3118         (elmo-msgdb-copy-message-entity): Ditto.
3119         (elmo-msgdb-create-message-entity-from-file): Ditto.
3120         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3121         (elmo-msgdb-match-condition-internal): Ditto.
3122
3123         * modb-standard.el (modb-legacy): Require modb-legacy.
3124         (modb-standard-make-message-entity): New inline function.
3125         (elmo-msgdb-make-message-entity): Define.
3126         (elmo-msgdb-create-message-entity-from-file): Ditto.
3127         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3128         (elmo-msgdb-message-entity-field): Ditto.
3129         (elmo-msgdb-message-entity-set-field): Ditto.
3130         (elmo-msgdb-copy-message-entity): Ditto.
3131         (elmo-msgdb-match-condition-internal): Ditto.
3132
3133         * modb-legacy.el: Don't require modb-entity.
3134         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3135         (elmo-msgdb-match-condition-primitive): Ditto.
3136         (elmo-msgdb-get-decoded-cache): Ditto.
3137         (elmo-msgdb-overview-entity-get-id): Ditto.
3138         (elmo-msgdb-overview-entity-get-number): Ditto.
3139         (elmo-msgdb-overview-entity-set-number): Ditto.
3140         (elmo-msgdb-overview-entity-get-references): Ditto.
3141         (elmo-msgdb-overview-entity-set-references): Ditto.
3142         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3143         (elmo-msgdb-overview-entity-get-from): Ditto.
3144         (elmo-msgdb-overview-entity-set-from): Ditto.
3145         (elmo-msgdb-overview-entity-get-subject): Ditto.
3146         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3147         (elmo-msgdb-overview-entity-set-subject): Ditto.
3148         (elmo-msgdb-overview-entity-get-date): Ditto.
3149         (elmo-msgdb-overview-entity-set-date): Ditto.
3150         (elmo-msgdb-overview-entity-get-to): Ditto.
3151         (elmo-msgdb-overview-entity-get-cc): Ditto.
3152         (elmo-msgdb-overview-entity-get-size): Ditto.
3153         (elmo-msgdb-overview-entity-set-size): Ditto.
3154         (elmo-msgdb-overview-entity-get-extra): Ditto.
3155         (elmo-msgdb-overview-entity-set-extra): Ditto.
3156         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3157         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3158         (elmo-msgdb-number-load): Ditto.
3159         (elmo-msgdb-overview-load): Ditto.
3160         (elmo-msgdb-mark-load): Ditto.
3161         (elmo-msgdb-number-save): Ditto.
3162         (elmo-msgdb-mark-save): Ditto.
3163         (elmo-msgdb-overview-save): Ditto.
3164         (modb-legacy-make-message-entity): New inline function.
3165         (elmo-msgdb-insert-file-header): Ditto.
3166         (elmo-msgdb-make-message-entity): Define.
3167         (elmo-msgdb-create-message-entity-from-file): Ditto.
3168         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3169         (elmo-msgdb-message-entity-number): Ditto.
3170         (elmo-msgdb-message-entity-set-number): Ditto.
3171         (elmo-msgdb-message-entity-field): Ditto.
3172         (elmo-msgdb-message-entity-set-field): Ditto.
3173         (elmo-msgdb-copy-message-entity): Ditto.
3174         (elmo-msgdb-match-condition-internal): Ditto.
3175
3176         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3177         (elmo-message-copy-entity): Rewrite.
3178         (elmo-message-entity-number): Ditto.
3179         (elmo-message-entity-set-number): Ditto.
3180         (elmo-message-entity-field): Use elmo-message-entity-db.
3181         (elmo-message-entity-set-field): Ditto.
3182         (elmo-message-field): Rewrite.
3183
3184         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3185         elmo-msgdb.el
3186         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3187
3188         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3189         elmo-message-entity-field.
3190         (elmo-shimbun-folder-shimbun-header): Ditto.
3191         (elmo-shimbun-entity-to-header): Ditto.
3192         (elmo-folder-msgdb-create): Ditto.
3193         (elmo-shimbun-msgdb-create-entity): Ditto;
3194         Use elmo-msgdb-create-message-entity-from-buffer.
3195         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3196         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3197
3198         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3199         elmo-msgdb-create-message-entity-from-file and 
3200         elmo-message-entity-field.
3201
3202         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3203         elmo-message-entity-number.
3204         (elmo-pop3-msgdb-create-message): Use
3205         elmo-msgdb-create-message-entity-from-buffer,
3206         elmo-message-entity-set-field, elmo-message-entity-number and
3207         elmo-message-entity-set-number.
3208
3209         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3210         the API change in elmo-msgdb-make-message-entity.
3211         (elmo-nntp-msgdb-create-message): Use
3212         elmo-msgdb-create-message-entity-from-buffer.
3213
3214         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3215         elmo-message-entity-field and
3216         elmo-msgdb-create-message-entity-from-file.
3217
3218         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3219         (elmo-msgdb-get-field): Abolish.
3220         (elmo-msgdb-get-number): Rewrite.
3221         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3222         (elmo-msgdb-flag-table): Ditto.
3223         (elmo-msgdb-get-last-message-id,
3224         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3225         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3226         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3227         (elmo-msgdb-create-overview-from-buffer,
3228         elmo-msgdb-overview-get-parent-entity): Abolish.
3229
3230         * elmo-mime.el (elmo-mime-display-as-is): Use
3231         elmo-message-entity-field.
3232
3233         * elmo-map.el (elmo-folder-pack-numbers): Use
3234         elmo-message-entity-set-number.
3235
3236         * elmo-maildir.el (elmo-folder-msgdb-create): 
3237         elmo-msgdb-create-message-entity-from-file instead of
3238         elmo-msgdb-create-overview-entity-from-file.
3239
3240         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3241         msgdb.
3242         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3243         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3244
3245         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3246         elmo-messge-entity-field and elmo-message-entity-number.
3247         (elmo-imap4-fetch-callback-1): Call
3248         elmo-msgdb-create-message-entity-from-buffer instead of
3249         elmo-msgdb-create-overview-from-buffer. 
3250         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3251         (elmo-find-fetch-strategy): Likewise.
3252
3253         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3254         elmo-localdir-msgdb-create-entity with argument msgdb.
3255
3256         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3257         and elmo-message-entity-set-number.
3258
3259         * elmo-cache.el (elmo-folder-msgdb-create): Use
3260         elmo-message-entity-field.
3261         (elmo-folder-msgdb-create): Call
3262         elmo-msgdb-create-message-entity-from-file instead of
3263         elmo-msgdb-create-overview-entity-from-file.
3264
3265         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3266         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3267         instead of elmo-msgdb-create-overview-from-buffer.
3268         (elmo-archive-msgdb-create-entity): Ditto.
3269         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3270         elmo-message-entity-field.
3271         (elmo-archive-parse-mmdf): Ditto.
3272
3273         * modb-entity.el: Removed.
3274
3275         * elmo-version.el (elmo-version): Up to 2.11.16.
3276
3277 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3278
3279         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3280         `is-local'.
3281         (elmo-folder-flag-as-answered): Ditto.
3282
3283 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3284
3285         * modb-standard.el: New file.
3286
3287         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3288         elmo-msgdb-convert-type is `sync'.
3289
3290         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3291         (elmo-msgdb-convert-type): New user option.
3292
3293         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3294         (elmo-load-msgdb): Auto detect saved type.
3295
3296         * elmo-version.el (elmo-version): Up to 2.11.15.
3297
3298 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3299
3300         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3301
3302         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3303         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3304         with argument `delete-if-none' when dst-folder is 'null.
3305
3306         * elmo-flag.el (elmo-folder-append-messages): Defined.
3307         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3308
3309 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3310
3311         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3312
3313 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3314
3315         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3316         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3317         (elmo-folder-commit): Ditto.
3318
3319 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3320
3321         * elmo-flag.el: New file.
3322
3323         * elmo-mark.el: Removed.
3324
3325         * modb-legacy.el (modb-legacy-new-mark,
3326         modb-legacy-unread-uncached-mark,
3327         modb-legacy-unread-cached-mark,
3328         modb-legacy-read-uncached-mark,
3329         modb-legacy-answered-cached-mark,
3330         modb-legacy-answered-uncached-mark,
3331         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3332         All other related portions are changed.
3333
3334         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3335         (elmo-folder-list-messages-with-global-mark): Abolish.
3336         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3337         (elmo-folder-flag-as-important): Ditto.
3338         (elmo-folder-unflag-read): Ditto.
3339         (elmo-folder-flag-as-read): Ditto.
3340         (elmo-folder-unflag-answered): Ditto.
3341         (elmo-folder-flag-as-answered): Ditto.
3342         (elmo-message-encache): Return the cache path.
3343         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3344         (elmo-message-set-flag): Transitional implementation.
3345         (elmo-message-unset-flag): Ditto.
3346         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3347         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3348         (elmo-init): Call elmo-global-flag-initialize.
3349         (toplevel): Added autoload settings for elmo-flag.
3350
3351         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3352
3353         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3354         (elmo-file-cache-delete): Don't treat global-mark.
3355
3356         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3357
3358         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3359
3360         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3361         `elmo-global-flags-set'.
3362
3363         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3364         `flag'.
3365         (elmo-folder-unflag-read): Ditto.
3366         (elmo-folder-unflag-important): Ditto.
3367         (elmo-folder-flag-as-important): Ditto.
3368         (elmo-folder-unflag-answered): Ditto.
3369         (elmo-folder-flag-as-answered): Ditto.
3370
3371         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3372         `elmo-global-flags-set'.
3373         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3374
3375         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3376
3377         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3378         `flag'.
3379         (elmo-folder-flag-as-important): Ditto.
3380         (elmo-folder-unflag-important): Ditto.
3381         (elmo-folder-flag-as-important): Ditto.
3382         (elmo-folder-unflag-read): Ditto.
3383         (elmo-folder-flag-as-read): Ditto.
3384         (elmo-folder-unflag-answered): Ditto.
3385         (elmo-folder-flag-as-answered): Ditto.
3386
3387         * elmo-multi.el (elmo-folder-list-importants): Don't call
3388         elmo-folder-list-messages-with-global-mark.
3389         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3390         (elmo-folder-unflag-important): Ditto.
3391         (elmo-folder-flag-as-read): Ditto.
3392         (elmo-folder-unflag-read): Ditto.
3393         (elmo-folder-flag-as-answered): Ditto.
3394         (elmo-folder-unflag-answered): Ditto.
3395
3396         * elmo-msgdb.el (elmo-msgdb-new-mark,
3397         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3398         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3399         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3400         (Moved to modb-legacy.el).
3401         (elmo-flag-table-get): Treat important flag too.
3402
3403         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3404         `mark' to `flag'.
3405         (elmo-map-folder-flag-as-important): Ditto.
3406         (elmo-map-folder-unflag-read): Ditto.
3407         (elmo-map-folder-flag-as-read): Ditto.
3408         (elmo-map-folder-unflag-answered): Ditto.
3409         (elmo-map-folder-flag-as-answered): Ditto.
3410         (elmo-folder-unflag-important): Ditto.
3411         (elmo-folder-flag-as-important): Ditto.
3412         (elmo-folder-unflag-read): Ditto.
3413         (elmo-folder-flag-as-read): Ditto.
3414         (elmo-folder-unflag-answered): Ditto.
3415         (elmo-folder-flag-as-answered): Ditto.
3416
3417         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3418         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3419         `flag'.
3420         (elmo-map-folder-unflag-important): Ditto.
3421         (elmo-map-folder-flag-as-read): Ditto.
3422         (elmo-map-folder-unflag-read): Ditto.
3423         (elmo-map-folder-flag-as-answered): Ditto.
3424         (elmo-map-folder-unflag-answered): Ditto.
3425
3426         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3427         `elmo-global-flags-set'.
3428         (elmo-global-flags-set): Added autoload setting.
3429
3430         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3431         `flag'.
3432
3433         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3434         `elmo-msgdb-global-mark-set'.
3435         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3436         Call `elmo-global-flags-set'.
3437         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3438         `flag'.
3439         (elmo-folder-flag-as-important-plugged): Ditto.
3440         (elmo-folder-unflag-read-plugged): Ditto.
3441         (elmo-folder-flag-as-read-plugged): Ditto.
3442         (elmo-folder-unflag-answered-plugged): Ditto.
3443         (elmo-folder-flag-as-answered-plugged): Ditto.
3444         (elmo-global-flags-set): Added autoload setting.
3445
3446         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3447         `flag'.
3448         (elmo-folder-unflag-read): Ditto.
3449         (elmo-folder-flag-as-important): Ditto.
3450         (elmo-folder-unflag-important): Ditto.
3451         (elmo-folder-flag-as-answered): Ditto.
3452         (elmo-folder-unflag-answered): Ditto.
3453
3454         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3455         change of `mark'->`flag'.
3456         (elmo-dop-queue-method-name-alist): Ditto.
3457         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3458         (elmo-folder-unflag-read-dop): Ditto.
3459         (elmo-folder-flag-as-important-dop): Ditto.
3460         (elmo-folder-unflag-important-dop): Ditto.
3461         (elmo-folder-flag-as-answered-dop): Ditto.
3462         (elmo-folder-unflag-answered-dop): Ditto.
3463
3464         * elmo-cache.el (elmo-folder-msgdb-create): Call
3465         `elmo-global-flags-set'.
3466
3467         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3468         Call `elmo-global-flags-set'.
3469         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3470         elmo-archive-parse-mmdf with argument `folder'.
3471         (elmo-archive-parse-mmdf): Added argument `folder';
3472         Call `elmo-global-flags-set'.
3473
3474         * elmo-version.el (elmo-version): Up to 2.11.14.
3475
3476 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3477
3478         * modb.el (elmo-msgdb-length): Define.
3479
3480         * elmo.el (elmo-make-folder): Fixed.
3481         (elmo-generic-folder-append-messages): Follow the API change.
3482
3483         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3484         API change.
3485
3486 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3487
3488         * modb.el: New file.
3489
3490         * modb-entity.el: Ditto.
3491
3492         * modb-legacy.el: Ditto.
3493
3494         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3495         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3496         of `elmo-msgdb-overview-get-entity'.
3497         (elmo-msgdb-get-field): Ditto.
3498         (elmo-msgdb-merge): Moved to `elmo.el'.
3499         (elmo-msgdb-length): Removed; redefine as modb method.
3500         (elmo-msgdb-change-mark): Abolish.
3501         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3502         (elmo-msgdb-match-condition): Don't use mark.
3503         (elmo-msgdb-overview-get-entity): Abolish.
3504         Split modb part into `modb*.el'.
3505
3506         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3507
3508         * elmo-shimbun.el (shimbun-mua-search-id): Use
3509         `elmo-msgdb-message-entity' instead of
3510         `elmo-msgdb-overview-get-entity'.
3511         (elmo-shimbun-folder-shimbun-header): Ditto.
3512         (elmo-shimbun-get-headers): Ditto.
3513         (elmo-shimbun-update-overview): Ditto.
3514
3515         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3516
3517         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3518
3519         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3520         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3521
3522         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3523         `elmo-msgdb-mark-to-flags'.
3524
3525         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3526         `elmo-msgdb-set-path'.
3527
3528         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3529  
3530         * elmo-version.el (elmo-version): Up to 2.11.13.
3531
3532         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3533
3534         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3535         of mark.
3536
3537 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3538
3539         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3540         mismatch.
3541
3542 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3543
3544         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3545         instead of `elmo-msgdb-get-cached'.
3546         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3547
3548         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3549         (elmo-msgdb-set-cached): Ditto.
3550         (elmo-msgdb-set-flag): Rewrite.
3551         (elmo-msgdb-unset-flag): Ditto.
3552
3553         * elmo-msgdb.el: Rewrite with luna.
3554
3555         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3556         (elmo-folder-msgdb): Follow the change above.
3557         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3558         (elmo-folder-unmark-important): Follow the API change.
3559         (elmo-folder-mark-as-important): Ditto.
3560         (elmo-folder-unmark-read): Ditto.
3561         (elmo-folder-mark-as-read): Ditto.
3562         (elmo-folder-unmark-answered): Ditto.
3563         (elmo-folder-mark-as-answered): Ditto.
3564         (elmo-folder-clear): Likewise.
3565
3566         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3567         instead of `elmo-msgdb-load' (renamed).
3568
3569         * elmo-version.el (elmo-version): Up to 2.11.12.
3570
3571 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3572
3573         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3574         change.
3575         (elmo-message-mark): Abolish.
3576         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3577         instead of `elmo-msgdb-change-mark'.
3578
3579         * elmo-pipe.el (elmo-message-mark): Abolish.
3580
3581         * elmo-multi.el (elmo-message-mark): Ditto.
3582
3583         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3584         (elmo-msgdb-unread-uncached-mark): Ditto.
3585         (elmo-msgdb-unread-cached-mark): Ditto.
3586         (elmo-msgdb-read-uncached-mark): Ditto.
3587         (elmo-msgdb-answered-cached-mark): Ditto.
3588         (elmo-msgdb-answered-uncached-mark): Ditto.
3589         (elmo-msgdb-important-mark): Ditto.
3590         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3591         `use-cache'.
3592         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3593         `flags'.
3594         (elmo-flag-table-load): Changed flag to list of flag.
3595         (elmo-flag-table-set): If flags is nil, set read flag.
3596         (elmo-flag-table-get): Return derived flags from global mark,
3597         cache status and saved flags.
3598         (elmo-msgdb-flag-table): Follow the change above.
3599         (elmo-msgdb-out-of-date-messages): New function.
3600
3601         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3602
3603         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3604
3605         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3606
3607         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3608         (elmo-nntp-msgdb-create-message): Ditto.
3609
3610         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3611
3612         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3613         independent.
3614         (elmo-folder-msgdb-create): Follow the API change.
3615
3616         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3617         (elmo-folder-append-messages): Ditto.
3618
3619         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3620         (elmo-folder-append-buffer): Ditto.
3621
3622         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3623
3624         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3625
3626         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3627         (elmo-archive-parse-mmdf): Ditto.
3628
3629         * elmo-version.el (elmo-version): Up to 2.11.11.
3630
3631 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3632
3633         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3634         `elmo-msgdb-mark'.
3635
3636         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3637
3638         * elmo-pipe.el (elmo-message-flags): Defined.
3639
3640         * elmo-multi.el (elmo-message-flags): Ditto.
3641
3642 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3643
3644         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3645         `elmo-msgdb-delete-msgs'.
3646
3647         * elmo.el (elmo-folder-count-flags): Don't use
3648         `elmo-msgdb-get-mark-alist'.
3649         (elmo-folder-detach-messages): Follow the API change.
3650
3651         * elmo.el (elmo-folder-list-messages): Append killed messages into
3652         result if `visible-only' is nil.
3653
3654         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3655         canceled messages.
3656         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3657         (elmo-folder-update-number): Likewise.
3658
3659         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3660         (elmo-pop3-sort-msgdb-by-original-number): Use
3661         `elmo-msgdb-sort-entities'.
3662
3663         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3664         (elmo-msgdb-sort-by-date): Use it.
3665         (elmo-msgdb-overview-sort-by-date): Abolish.
3666
3667         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3668
3669         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3670         (elmo-msgdb-flags): New function.
3671         (elmo-msgdb-merge): Use elmo-msgdb-append.
3672
3673         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3674         change.
3675
3676         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3677
3678         * elmo-dop.el (elmo-folder-status-dop): Use
3679         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3680
3681 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3682
3683         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3684
3685         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3686
3687         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3688
3689         * elmo-util.el (elmo-with-progress-display): New macro.
3690
3691         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3692
3693 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3694
3695         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3696         `elmo-folder-list-message-entities' instead of
3697         `elmo-msgdb-get-overview'.
3698         (elmo-map-folder-list-message-locations): Ditto.
3699
3700         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3701         methods instead of treat directly).
3702         (elmo-msgdb-clear): Ditto.
3703         (elmo-msgdb-delete-msgs): Ditto.
3704         (elmo-msgdb-sort-by-date): Ditto.
3705
3706         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3707         local variables.
3708         (elmo-nntp-folder-msgdb-create): Follow the API change.
3709
3710         * elmo-version.el (elmo-version): Up to 2.11.10.
3711
3712 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3713
3714         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3715         (elmo-msgdb-flags-to-mark): Ditto.
3716         (elmo-msgdb-append-entity): Ditto.
3717
3718         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3719         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3720         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3721         (elmo-archive-parse-mmdf): Ditto.
3722
3723         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3724
3725         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3726
3727         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3728
3729         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3730
3731         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3732
3733         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3734
3735         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3736
3737         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3738
3739         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3740         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3741         to empty msgdb.
3742
3743         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3744         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3745         instead of directly construction.
3746         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3747         instead of construct msgdb.
3748
3749         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3750         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3751         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3752         instead of construct msgdb.
3753
3754 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3755
3756         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3757         when field is from or subject.
3758
3759 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3760
3761         * elmo-multi.el (elmo-message-entity-parent): Define.
3762         (elmo-folder-search): Rewrite.
3763
3764 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3765
3766         * elmo-multi.el (elmo-message-cached-p): Define.
3767
3768         * elmo.el (elmo-message-cached-p): New method.
3769         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3770         (elmo-message-flags): New method.
3771         (elmo-message-flagged-p): New function.
3772
3773         * elmo-version.el (elmo-version): Up to 2.11.9.
3774
3775 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3776
3777         * elmo-version.el (elmo-version): Up to 2.11.8.
3778
3779         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3780
3781         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3782
3783 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3784
3785         * elmo.el (elmo-folder-detach-messages): Undo last change.
3786
3787 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3788
3789         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3790
3791         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3792         only when src folder type is pop3.
3793
3794 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3795
3796         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3797         elmo-msgdb-overview-entity-get-number instead of
3798         elmo-message-entity-number.
3799
3800 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3801
3802         * elmo-version.el (elmo-version): Up to 2.11.7.
3803
3804 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3805
3806         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3807         function.
3808
3809         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3810         (elmo-msgdb-merge): New function.
3811         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3812         (elmo-msgdb-make-index): Rewrite.
3813
3814         * elmo-version.el (elmo-version): Up to 2.11.6.
3815
3816         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3817         use it as a the path for loading message entities.
3818
3819         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3820
3821 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3822
3823         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3824         message-modified slot of itself if it does not require target msgdb.
3825
3826         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3827         if folder length is zero.
3828         (elmo-mime-display-as-is): Ditto.
3829
3830         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3831
3832         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3833
3834 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3835
3836         * elmo.el (elmo-folder-set-message-modified): New method.
3837         (elmo-generic-folder-commit): Use it.
3838         (elmo-folder-synchronize): Ditto.
3839
3840         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3841         (elmo-folder-commit): Remove duplicate definition.
3842
3843 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3844
3845         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3846
3847 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3848
3849         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3850         (elmo-strict-folder-diff): Ditto.
3851         (elmo-folder-set-info-max-by-numdb): Simplify.
3852
3853         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3854         elmo-msgdb-list-messages.
3855
3856         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3857         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3858
3859 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3860
3861         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3862         visible-only is non-nil.
3863         (elmo-folder-confirm-appends): Changed message.
3864         (elmo-folder-synchronize): Added argument disable-killed.
3865
3866         * elmo-multi.el (elmo-folder-synchronize): Added argument
3867         disable-killed.
3868
3869         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3870
3871         * elmo-version.el (elmo-version): Up to 2.11.5.
3872
3873         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3874         elmo-list-filter.
3875
3876         * elmo-util.el (elmo-list-filter): Simplify.
3877
3878         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3879         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3880         (elmo-generic-folder-diff): Abolish argument.
3881         (elmo-msgdb-load): Don't use number-alist.
3882
3883         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3884
3885         * elmo-pipe.el (elmo-folder-diff): Ditto.
3886
3887         * elmo-nmz.el (elmo-folder-diff): Ditto.
3888
3889         * elmo-net.el (elmo-folder-diff): Ditto.
3890
3891         * elmo-maildir.el (elmo-folder-diff): Ditto.
3892
3893         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3894
3895         * elmo-multi.el (elmo-folder-diff): Ditto
3896         (elmo-multi-folder-diff): Rewrite.
3897
3898 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3899
3900         * elmo-pipe.el (elmo-folder-msgdb): Define.
3901
3902 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3903
3904         * elmo.el (elmo-message-set-cached): Define as a method.
3905
3906         * elmo-pipe.el (elmo-message-set-cached): Define.
3907         (elmo-find-fetch-strategy): Ditto.
3908
3909         * elmo-multi.el (elmo-message-set-cached): Define.
3910         (elmo-find-fetch-strategy): Rewrite.
3911
3912         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3913
3914         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3915
3916 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3917
3918         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3919         instead of number-alist.
3920
3921         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3922         mark nor message-id when msgdb of source folder is not loaded.
3923
3924         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3925
3926         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3927
3928 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3929
3930         * elmo.el (elmo-folder-length): Don't require msgdb.
3931
3932 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3933
3934         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3935         (elmo-message-field): Ditto.
3936
3937         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3938         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3939         slot.
3940         (elmo-map-folder-list-answereds): Define.
3941         (elmo-maildir-list-location): Treat 'R' info.
3942         (elmo-folder-msgdb-create): Treat flag-table.
3943         (elmo-folder-append-messages): Save flag-table.
3944
3945 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3946
3947         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3948         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3949
3950 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3951
3952         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3953
3954         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3955         'read when mark is null.
3956
3957 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3958
3959         * elmo-version.el (elmo-version): Up to 2.11.4.
3960
3961 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3962
3963         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3964         (elmo-folder-mark-as-answered): Ditto.
3965
3966 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3967
3968         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3969         (elmo-pop3-get-session): Make msgdb directory after session.
3970         (elmo-folder-exists-p): Check exactly at the first time even when the
3971         elmo-pop3-exists-exactly is nil.
3972
3973         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3974         (elmo-folder-list-messages): Define instead of
3975         elmo-folder-list-messages-internal.
3976         (elmo-folder-check): Check destination folder.
3977         (elmo-folder-synchronize): Drain the pipe.
3978
3979         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3980         when msgdb is not loaded.
3981
3982         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3983
3984         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3985         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3986         messages.
3987
3988         * elmo.el (elmo-folder-kill-messages-before): New function.
3989         (elmo-folder-kill-messages): Ditto.
3990         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3991
3992         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3993         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3994         killed not by synchronize (e.g. scoring).
3995
3996 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3997
3998         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3999         treated.
4000         (elmo-folder-search): Follow the change above.
4001
4002         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4003         into the candidates of search field.
4004
4005 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4006
4007         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4008         (elmo-msgdb-unset-flag): Ditto.
4009
4010         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4011
4012 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4013
4014         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4015         (elmo-folder-commit): Define.
4016         (elmo-folder-synchronize): Ditto.
4017         (elmo-folder-list-flagged): Ditto.
4018         (elmo-folder-commit): Ditto.
4019         (elmo-folder-length): Ditto.
4020         (elmo-folder-count-flags): Ditto.
4021         (elmo-message-mark): Ditto.
4022         (elmo-message-field): Ditto.
4023         (elmo-message-entity): Ditto.
4024         (elmo-message-folder): Ditto.
4025
4026 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4027
4028         * elmo.el (elmo-message-field): Define as a method.
4029
4030         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4031         (elmo-message-field): Define.
4032
4033         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4034         (elmo-folder-list-importants): Ditto.
4035         (elmo-folder-list-answereds): Ditto.
4036
4037         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4038         qualifier.
4039         (elmo-folder-mark-as-read): Ditto.
4040         (elmo-folder-unmark-read): Ditto.
4041         (elmo-folder-mark-as-answered): Ditto.
4042         (elmo-folder-unmark-answered): Ditto.
4043         (elmo-folder-list-flagged): Define.
4044         (elmo-folder-commit): Ditto.
4045         (elmo-folder-length): Ditto.
4046         (elmo-folder-count-flags): Ditto.
4047
4048 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4049
4050         * elmo.el (elmo-folder-detach-messages): New method.
4051         (elmo-folder-move-messages): Use it.
4052         (elmo-folder-synchronize): Ditto.
4053
4054         * elmo-multi.el (elmo-folder-detach-messages): Define.
4055
4056         * elmo.el (elmo-message-copy-entity): New function.
4057         (elmo-message-entity-set-number): Ditto.
4058         (elmo-message-mark): Define as method.
4059
4060         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4061         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4062         (elmo-message-entity): Fixed last change.
4063         (elmo-message-mark): Define.
4064         (elmo-folder-msgdb-create): Abolish.
4065         (elmo-multi-folder-append-msgdb): Ditto.
4066         (elmo-multi-folder-diff): Fixed.
4067         (elmo-multi-split-number-alist): Removed.
4068         (elmo-multi-split-mark-alist): Removed.
4069         (elmo-folder-list-messages): Define.
4070         (elmo-folder-list-messages-internal): Removed.
4071
4072         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4073         local file messages.
4074         (elmo-folder-msgdb-create): Fixed read mark.
4075
4076 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4077
4078         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4079         if mark is nil.
4080
4081 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4082
4083         * elmo.el (elmo-folder-list-message-entities): Define as inline
4084         function.
4085         (elmo-folder-messages): Abolish.
4086
4087         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4088         folder.
4089         (elmo-folder-synchronize): Define.
4090         (elmo-message-entity): Define.
4091
4092 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4093
4094         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4095         elmo-imap4-session-select-mailbox.
4096
4097         * elmo.el (elmo-folder-move-messages): Don't display any message.
4098
4099         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4100         parsing.
4101         (elmo-imap4-session-check): Don't wait CHECK response.
4102         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4103
4104 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4105
4106         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4107
4108 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4109
4110         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4111         API.
4112         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4113
4114
4115         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4116         (elmo-folder-list-message-entities): Added argument in-msgdb and
4117         numbers.
4118         (elmo-folder-synchronize): Define as a method.
4119
4120         * elmo-nntp.el (elmo-folder-initialize): Don't use
4121         elmo-nntp-default-user if zero-length username is specified
4122         explicitly.
4123
4124 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4125
4126         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4127         server name in case with username.
4128         (XXX: this is ad-hoc fix against username includes "@", it
4129         should be solved fundamentally)
4130
4131 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4132
4133         * elmo-nntp.el (elmo-nntp-debug): New function.
4134         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4135         (elmo-network-authenticate-session): Hide auth-info from the log.
4136
4137         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4138         user name if it is equal to elmo-nntp-default-user.
4139
4140 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4141
4142         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4143         instead of shimbun-server-internal;
4144         Use shimbun-current-group instead of shimbun-current-group-internal.
4145         (elmo-folder-plugged-p): Use shimbun-server instead of
4146         shimbun-server-internal.
4147         (elmo-folder-set-plugged): Ditto.
4148         (elmo-net-port-info): Ditto.
4149         (elmo-folder-check): Ditto.
4150         (elmo-folder-expand-msgdb-path): Ditto.
4151         (elmo-folder-list-subfolders): Ditto.
4152
4153 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4154
4155         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4156         Convert field-name to lower case.
4157         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4158
4159 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4160
4161         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4162         `message' and `error' take format string.
4163
4164 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4165
4166         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4167
4168 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4169
4170         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4171         recursive call (can't byte compile on emacs 20.7).
4172
4173 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4174
4175         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4176         (elmo-folder-list-message-entities): New API.
4177         (elmo-message-entity): Ditto.
4178         (elmo-message-entity-parent): Ditto.
4179         (elmo-folder-do-each-message-entity): Ditto.
4180         (elmo-message-entity-number): Ditto.
4181         (elmo-message-entity-field): Ditto.
4182         (elmo-message-entity-set-field): Ditto.
4183         (elmo-folder-count-flags): Ditto.
4184         (elmo-folder-length): Ditto.
4185
4186         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4187         not.
4188
4189         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4190         (elmo-msgdb-count-marks): Abolish.
4191         (elmo-msgdb-make-entity): Ditto.
4192         (elmo-msgdb-do-each-entity): Ditto.
4193         (elmo-msgdb-message-entity): New inline function.
4194         (elmo-msgdb-message-entity-field): Ditto.
4195         (elmo-msgdb-message-entity-set-field): Ditto.
4196         (elmo-msgdb-make-message-entity): New function.
4197
4198 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4199
4200         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4201         to flag. (All other related portions are changed.)
4202         (elmo-folder-msgdb-create): Likewise.
4203         (elmo-generic-folder-append-messages): Use flag-table instead of
4204         seen-list.
4205         (elmo-folder-move-messages): Removed redundant process.
4206         (elmo-folder-synchronize): Likewise.
4207
4208         * elmo-msgdb.el (elmo-flag-table-get): New function.
4209         (elmo-flag-table-save): Fixed.
4210         (elmo-msgdb-length): New inline function.
4211         (elmo-msgdb-flag-table): New function.
4212         (elmo-msgdb-mark): Add optional argument new.
4213         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4214         (elmo-msgdb-seen-list): Ditto.
4215         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4216
4217
4218 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4219
4220         * elmo.el (elmo-message-set-mark): Abolish.
4221         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4222         (All related portions are changed.)
4223
4224         * elmo-msgdb.el (toplevel): Added comment.
4225         (elmo-load-msgdb): Added 4th element `path'.
4226         (elmo-msgdb-append): Follow the change above.
4227         (elmo-msgdb-clear): Ditto.
4228         (elmo-msgdb-delete-msgs): Ditto.
4229         (elmo-msgdb-get-path): New inline function.
4230         (elmo-msgdb-set-path): Ditto.
4231         (elmo-flag-table-filename): New variable.
4232         (elmo-flag-table-load): New function.
4233         (elmo-flag-table-set): Ditto.
4234         (elmo-flag-table-save): Ditto.
4235         (elmo-msgdb-get-field-value): Abolish.
4236         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4237
4238 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4239
4240         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4241         the folder has been deleted successfully.
4242         * elmo-imap4.el (elmo-folder-delete): Ditto.
4243         * elmo-archive.el (elmo-folder-delete): Ditto.
4244         * elmo-localdir.el (elmo-folder-delete): Ditto.
4245         * elmo-maildir.el (elmo-folder-delete): Ditto.
4246
4247 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4248
4249         * elmo-util.el (elmo-string-member-ignore-case): New function.
4250         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4251         (elmo-imap4-fetch-callback-1-subr): Likewise.
4252
4253 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4254
4255         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4256         the case of the name attribute "\Noselect".
4257
4258 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4259
4260         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4261
4262         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4263         flist, is not always a member of onum-alist.
4264
4265 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4266
4267         * elmo-version.el (elmo-version): Up to 2.11.3.
4268
4269 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4270
4271         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4272         copied from localdir's one.
4273
4274         * elmo-pipe.el (elmo-folder-rename): New method, rename
4275         destination folder with leaving source folder as it is.
4276
4277 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4278
4279         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4280         replace-regexp.
4281
4282 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4283
4284         * elmo-version.el (elmo-version): Up to 2.11.2.
4285
4286 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4287
4288         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4289         shimbun-open in case of "@".
4290         (elmo-folder-open-internal): Cope with shimbun = nil case.
4291         (elmo-folder-plugged-p): Ditto.
4292         (elmo-folder-list-subfolders): Make list for "@/" group.
4293
4294 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4295
4296         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4297         mailbox (e.g. for %~/something).
4298
4299 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4300
4301         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4302         Replace nested conditional with guard clauses.
4303
4304 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4305
4306         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4307         error [wl:11327].
4308
4309         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4310         print-depth.
4311
4312 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4313
4314         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4315         Replace nested conditional with guard clauses.
4316
4317 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4318
4319         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4320         (elmo-passwd-alist-save): Ditto.
4321         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4322
4323 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4324
4325         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4326         dir-name only if it is absolute path.
4327         (TODO: distinguish +/something and +something)
4328
4329 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4330
4331         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4332         path for "+~/something".
4333
4334 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4335
4336         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4337         as non-directory, cause error before rename-file.
4338         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4339         apropriately, mimic localdir's one.
4340         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4341
4342 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4343
4344         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4345
4346 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4347
4348         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4349
4350         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4351         
4352         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4353         is included in the global-mark or not.
4354
4355 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4356
4357         * utf7.el (toplevel): Avoid error when the function
4358         find-coding-system does not exist.
4359
4360 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4361
4362         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4363         cache even if the folder is plugged.
4364         (elmo-nntp-search-primitive): Do nothing when body search is
4365         invoked (although it is not used by the change above).
4366         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4367
4368 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4369
4370         * elmo-version.el (elmo-version): Up to 2.11.1.
4371
4372 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4373
4374         * elmo-archive.el: Specify charset.
4375
4376 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4377
4378         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4379         process buffer lives or not.
4380
4381         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4382         while flushing queues (It causes infinite loop).
4383
4384 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4385
4386         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4387
4388 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4389
4390         * utf7.el (toplevel): Check the ucs features dynamically.
4391         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4392
4393         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4394         folder is creatabe or not if it already exists.
4395
4396 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4397
4398         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4399
4400         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4401
4402         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4403         (elmo-imap4-read-response): Take care of garbage response.
4404
4405 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4406
4407         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4408         just return nil instead of error.
4409
4410 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4411
4412         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4413         search-key is "body".
4414
4415 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4416
4417         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4418         of elmo-string-matched-assoc to use match-data.
4419         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4420
4421 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4422
4423         * elmo-split.el (elmo-split->): New function.
4424         (elmo-split-<): Ditto.
4425
4426 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4427
4428         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4429         workaround for invalid message-id.
4430
4431 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4432
4433         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4434         return normal pop3 session or pop3 biff session.
4435
4436 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4437
4438         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4439         info part to the cur files when the new files already have it.
4440         (Adviced by Jared Rhine <jared@wordzoo.com>)
4441
4442 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4443
4444         * elmo-split.el (elmo-split-default-action): New variable.
4445         (elmo-split-subr): Use it if all other conditions are passed.
4446         Extend `fname' and rename it as `action'. (implemented
4447         Teranishi-san's idea in [wl:10800])
4448
4449 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4450
4451         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4452         * elmo-util.el: Ditto.
4453
4454 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4455
4456         * elmo.el (elmo-message-accessible-p): Renamed from
4457         elmo-message-cached-p and rewritten.
4458
4459 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4460
4461         * elmo.el (elmo-folder-list-flagged): New generic function.
4462         (elmo-folder-list-importants): New implementation.
4463         (elmo-folder-list-answereds): Ditto.
4464         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4465         Added 'digest'.
4466         (elmo-message-cached-p): New function.
4467         (elmo-message-set-flag): Ditto (no content).
4468         (elmo-message-unset-flag): Ditto.
4469         (elmo-folder-list-messages-mark-match): Abolish.
4470
4471         * elmo-util.el (elmo-regexp-opt): New function.
4472
4473         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4474         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4475         Added 'digest'.
4476         (elmo-msgdb-list-flagged): New function.
4477
4478         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4479         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4480         Added 'digest'.
4481
4482         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4483
4484 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4485
4486         * elmo-version.el (elmo-version): Up to 2.11.0.
4487
4488 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4489
4490         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4491         `elmo-file-cache-exists-p'; use proper mark that depends on
4492         `use-cache'.
4493         (elmo-msgdb-unset-flag): Ditto.
4494         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4495
4496         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4497         with 4th argument `use-cache'.
4498
4499 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4500
4501         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4502         (elmo-folder-mark-as-important): Ditto.
4503         (elmo-folder-unmark-read): Ditto.
4504         (elmo-folder-mark-as-read): Ditto.
4505         (elmo-folder-unmark-answered): Ditto.
4506         (elmo-folder-mark-as-answered): Ditto.
4507
4508         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4509         message status.
4510         (elmo-msgdb-mark): Likewise.
4511         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4512         (elmo-msgdb-unset-flag): Likewise.
4513
4514         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4515
4516 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4517
4518         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4519         `last:' filter.
4520
4521 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4522
4523         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4524         set spool-length to 0.
4525
4526 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4527
4528         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4529         (elmo-dop-queue-flush): Fixed last change.
4530
4531 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4532
4533         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4534         if require-msgdb slot is nil.
4535         (elmo-folder-list-importants): Likewise.
4536
4537 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4538
4539         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4540         mark is changed.
4541
4542         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4543         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4544         is changed.
4545
4546 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4547
4548         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4549
4550 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4551
4552         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4553
4554         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4555
4556 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4557
4558         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4559         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4560
4561 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4562
4563         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4564         the problem reported by Sean Rima [wl-en:180].
4565
4566 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4567
4568         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4569
4570         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4571
4572         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4573
4574         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4575
4576         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4577
4578         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4579
4580         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4581
4582 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4583
4584         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4585         status number.
4586
4587 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4588
4589         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4590         (elmo-folder-mark-as-read): Follow the API change.
4591         (elmo-message-set-cached): New function.
4592
4593         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4594
4595         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4596
4597         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4598         (elmo-folder-mark-as-important): Ditto.
4599         (elmo-folder-unmark-read): Ditto.
4600         (elmo-folder-mark-as-read): Ditto.
4601         (elmo-folder-unmark-answered): Ditto.
4602         (elmo-folder-mark-as-answered): Ditto.
4603
4604         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4605         (elmo-folder-unmark-important): Ditto.
4606         (elmo-folder-mark-as-read): Ditto.
4607         (elmo-folder-unmark-read): Ditto.
4608         (elmo-folder-mark-as-answered): Ditto.
4609         (elmo-folder-unmark-answered): Ditto.
4610
4611         * elmo-mark.el (toplevel): Removed some mark method definitions.
4612
4613         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4614         (elmo-map-folder-mark-as-answered): Ditto.
4615         (elmo-folder-unmark-important): Add :before qualifier.
4616         (elmo-folder-mark-as-important): Ditto.
4617         (elmo-folder-unmark-read): Ditto.
4618         (elmo-folder-mark-as-read): Ditto.
4619         (elmo-folder-unmark-answered): Define.
4620         (elmo-folder-mark-as-answered): Ditto.
4621
4622         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4623         (elmo-map-folder-unmark-answered): Ditto.
4624
4625         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4626
4627         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4628         (elmo-folder-mark-as-important): Ditto.
4629         (elmo-folder-unmark-read): Ditto.
4630         (elmo-folder-mark-as-read): Ditto.
4631         (elmo-folder-unmark-answered): Ditto.
4632         (elmo-folder-mark-as-answered): Ditto.
4633
4634         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4635         `mark'; evaluate mark condition.
4636         (elmo-msgdb-match-condition-internal): New function.
4637         (elmo-msgdb-match-condition): Call it; changed argument.
4638
4639         * elmo.el (elmo-folder-search): Follow the API change on
4640         `elmo-msgdb-match-condition'.
4641
4642 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4643
4644         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4645         original mark is non-nil.
4646
4647 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4648
4649         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4650         (elmo-map-folder-list-answereds): New method.
4651         (elmo-folder-list-unreads): Add :around qualifier.
4652         (elmo-folder-list-importants): Ditto.
4653         (elmo-folder-list-answereds): Ditto.
4654
4655 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4656
4657         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4658
4659         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4660         method if msgdb is not required.
4661         (elmo-filter-folder-list-importants): Don't treat global-mark.
4662
4663         * elmo.el (elmo-folder-list-importants): Ditto.
4664
4665         * elmo-net.el (elmo-folder-list-importants): Ditto.
4666
4667         * elmo-map.el (elmo-folder-list-importants): Ditto.
4668
4669         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4670
4671         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4672         (elmo-imap4-folder-list-any-plugged): New function.
4673         (elmo-imap4-search-internal-primitive): Use it.
4674
4675         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4676         only when require-msgdb slot is non-nil.
4677         (elmo-folder-close): Clear target folder's msgdb.
4678
4679 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4680
4681         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4682         (elmo-pop3-msgdb-create-by-header): Ditto.
4683         (elmo-pop3-msgdb-create-message): Ditto.
4684
4685         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4686
4687         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4688
4689         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4690
4691         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4692         (elmo-folder-msgdb-create): Ditto.
4693         (elmo-nntp-folder-msgdb-create): Ditto.
4694         (elmo-nntp-msgdb-create-by-header): Ditto.
4695         (elmo-nntp-msgdb-create-message): Ditto.
4696         (elmo-folder-list-unreads): Define.
4697
4698         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4699         (elmo-folder-append-messages): Ditto.
4700         (elmo-folder-list-unreads): Define.
4701         (elmo-folder-list-importants): Ditto.
4702         (elmo-folder-list-answereds): Ditto.
4703
4704         * elmo-net.el (elmo-folder-list-unreads): Define.
4705         (elmo-folder-list-importants): Ditto.
4706         (elmo-folder-list-answereds): Ditto.
4707         (elmo-folder-list-answereds-plugged): Ditto.
4708         (elmo-folder-msgdb-create): Follow the API change.
4709         (elmo-folder-msgdb-create-unplugged): Ditto.
4710         (elmo-folder-unmark-answered): Define.
4711         (elmo-folder-mark-as-answered-unplugged): Ditto.
4712         (elmo-folder-unmark-answered-unplugged): Ditto.
4713
4714         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4715         (elmo-msgdb-unread-uncached-mark): Ditto.
4716         (elmo-msgdb-unread-cached-mark): Ditto.
4717         (elmo-msgdb-read-uncached-mark): Ditto.
4718         (elmo-msgdb-answered-cached-mark): Ditto.
4719         (elmo-msgdb-answered-uncached-mark): Ditto.
4720         (elmo-msgdb-important-mark): Ditto.
4721         (elmo-msgdb-set-mark): Rewrite.
4722         (elmo-msgdb-count-marks): Rewrite.
4723         (elmo-msgdb-mark-alist-set): Abolish.
4724         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4725         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4726
4727         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4728         (elmo-folder-close): Define.
4729         (elmo-folder-msgdb-create): Follow the API change.
4730         (elmo-folder-list-unreads): Rewrite.
4731         (elmo-folder-mark-as-important): Ditto.
4732         (elmo-folder-unmark-important): Ditto.
4733         (elmo-folder-mark-as-read): Ditto.
4734         (elmo-folder-unmark-read): Ditto.
4735         (elmo-folder-mark-as-answered): Define.
4736         (elmo-folder-unmark-answered): Ditto.
4737
4738         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4739         (elmo-folder-append-messages): Ditto.
4740
4741         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4742
4743         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4744         (elmo-folder-list-importants): Ditto.
4745
4746         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4747         (elmo-folder-append-messages): Ditto.
4748
4749         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4750         change.
4751         (elmo-folder-msgdb-create-plugged): Ditto.
4752         (elmo-folder-append-messages): Ditto.
4753         (elmo-folder-list-answereds-plugged): Define.
4754         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4755         (elmo-folder-unmark-answered-plugged): Define.
4756         (elmo-folder-mark-as-answered-plugged): Ditto.
4757         (elmo-folder-search-requires-msgdb-p): Ditto.
4758
4759         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4760         (elmo-folder-initialize): Set it.
4761         (elmo-folder-msgdb): Define.
4762         (elmo-folder-check): Call elmo-folder-synchronize.
4763         (elmo-folder-close): Define.
4764         (elmo-folder-commit): Ditto.
4765         (elmo-folder-msgdb-create): Rewrite.
4766         (elmo-folder-list-unreads): Ditto.
4767         (elmo-folder-list-importants): Ditto.
4768         (elmo-folder-mark-as-read): Ditto.
4769         (elmo-folder-unmark-read): Ditto.
4770         (elmo-folder-mark-as-important): Ditto.
4771         (elmo-folder-unmark-important): Ditto.
4772         (elmo-folder-mark-as-answered): Define.
4773         (elmo-folder-unmark-answered): Ditto.
4774
4775         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4776         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4777         (elmo-dop-queue-method-name-alist): Likewise.
4778         (elmo-folder-mark-as-answered-dop): New inline function.
4779         (elmo-folder-unmark-answered-dop): Ditto.
4780         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4781
4782         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4783         (elmo-folder-msgdb-create): Ditto.
4784         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4785         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4786         (elmo-archive-parse-mmdf): Ditto.
4787
4788         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4789         (elmo-folder-list-unreads-internal): Ditto.
4790
4791         * elmo.el (elmo-folder-msgdb): Define as generic function.
4792         (elmo-folder-list-messages): Added argument `in-msgdb'.
4793         (elmo-folder-list-unreads): Define as generic function.
4794         (elmo-folder-list-importants): Ditto.
4795         (elmo-folder-list-answereds): Ditto.
4796         (elmo-folder-list-messages-with-global-mark): New function.
4797         (elmo-folder-msgdb-create): Removed mark arguments.
4798         (elmo-folder-unmark-answered): New generic function.
4799         (elmo-folder-mark-as-answered): Ditto.
4800         (elmo-folder-append-messages): Removed argunment `unread-marks'
4801         (elmo-folder-list-unreads-internal): Abolish.
4802         (elmo-folder-list-importants-internal): Ditto.
4803         (elmo-folder-search-requires-msgdb-p): New generic function.
4804         (elmo-folder-search-requires-msgdb-p-internal): New function.
4805         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4806         elmo-msgdb-load.
4807         (elmo-folder-search-fast): Added key 'mark'.
4808         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4809         instead of unread-marks argument.
4810         (elmo-folder-move-messages): Removed argunment `unread-marks'
4811         (elmo-folder-unmark-important): Define.
4812         (elmo-folder-mark-as-important): Ditto.
4813         (elmo-folder-unmark-read): Ditto.
4814         (elmo-folder-mark-as-read): Ditto.
4815         (elmo-folder-unmark-answered): Ditto.
4816         (elmo-folder-mark-as-answered): Ditto.
4817         (elmo-folder-replace-marks): Abolish.
4818         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4819         duplicates.
4820         (elmo-folder-synchronize): Removed mark arguments;
4821         return crosspost only number.
4822
4823 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4824
4825         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4826         Remove redundunt connectivity check.
4827
4828 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4829
4830         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4831         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4832
4833 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4834
4835         * pldap.el (ldap-decode-string): Return string as-is if
4836         `ldap-coding-system' is nil.
4837         (ldap-encode-string): Ditto.
4838         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4839         (ldap-default-host): Fixed docstring.
4840
4841 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4842
4843         * elmo-util.el (elmo-warning): Define as a macro which uses
4844         `display-warning' if it is defined as a function.
4845
4846         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4847         (elmo-split-equal): Use it.
4848         (elmo-split-match): Ditto.
4849         (elmo-split-message-entity): New buffer-local variable.
4850         (elmo-split-subr): Set it.
4851
4852         * elmo-version.el (elmo-version): Up to 2.9.15.
4853
4854 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4855
4856         * elmo-imap4.el (elmo-network-initialize-session):
4857         Check capability after starttls.
4858
4859 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4860
4861         * elmo-util.el (elmo-list-delete): Added optional argument
4862         DELETE-FUNCTION.
4863
4864         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4865
4866         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4867
4868         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4869
4870         * elmo-imap4.el (elmo-folder-initialize): Don't use
4871         elmo-imap4-default-mailbox.
4872
4873 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4874
4875         * elmo-split.el (toplevel): Use `product-provide'.
4876         (elmo-split): Checkdoc.
4877
4878 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4879
4880         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4881         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4882         the function `elmo-imap4-debug-1'.
4883
4884 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4885
4886         * elmo-split.el (elmo-split): Moved to run hooks and to show
4887         message from elmo-split-subr.
4888         (elmo-split-subr): Follow the change above.
4889
4890         * elmo-split.el (elmo-split-subr): New function (renamed from
4891         elmo-split-subr).
4892         (elmo-split): Changed to call elmo-split-subr by element of
4893         elmo-split-folder.
4894         (elmo-split-folder): Changed customization type to choice.
4895
4896 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4897
4898         * elmo-split.el (elmo-split-and): Fixed condition.
4899
4900 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4901
4902         * elmo-split.el: New file.
4903         (elmo-split): Fixed logic.
4904         Display "Test:" instead of "Folder:" when reharsal.
4905
4906         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4907         explicitly.
4908
4909         * elmo-version.el (elmo-version): Up to 2.9.14.
4910
4911         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4912         wl-expand-newtext).
4913
4914 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4915
4916         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4917         message with no message-id field.
4918
4919 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4920
4921         * elmo-version.el (elmo-version): Up to 2.9.13.
4922
4923         * elmo-dop.el (elmo-folder-status-dop): Fix.
4924
4925 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4926
4927         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4928
4929         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4930         changing default value of default-mime-charset.
4931         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4932
4933         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4934
4935         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4936         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4937         instead of elmo-dop-queue-method-name-alist to check merging queue.
4938         (elmo-folder-delete-messages-dop): Delete from queue if negative
4939         message number.
4940         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4941         file is already removed.
4942
4943 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4944
4945         * elmo-vars.el: Bind colon keywords for old Emacsen.
4946
4947 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4948
4949         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4950         against non-exsisting charset.
4951
4952 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4953
4954         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4955         Use eword-decode-and-unfold-unstructured-field-body.
4956
4957         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4958         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4959         exists to decode raw subject string.
4960         (toplevel): Require 'mime.
4961
4962         * elmo-version.el (elmo-version): Up to 2.9.12.
4963
4964 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4965
4966         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4967         (elmo-msgdb-set-mark): Ditto.
4968
4969         * elmo-version.el (elmo-version): Up to 2.9.11.
4970
4971 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4972
4973         * elmo-util.el (elmo-delete-match-files): New function.
4974
4975         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4976         instead of elmo-delete-directory.
4977
4978         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4979         elmo-hash-minimun-size as 63.
4980
4981         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4982         elmo-diff-unread is nil.
4983
4984         * elmo-imap4.el (elmo-folder-open): Fix.
4985
4986         * elmo.el (elmo-message-mark): Rewrite.
4987         (elmo-message-field): Ditto.
4988         (elmo-message-set-mark): Ditto.
4989         (elmo-folder-replace-marks): New function.
4990         (elmo-generic-folder-append-msgdb): Removed third argument for
4991         elmo-msgdb-append.
4992         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4993         (elmo-msgdb-load): New implementation.
4994
4995         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4996
4997         * elmo-util.el (elmo-list-insert): New implementation.
4998
4999         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5000         argument for elmo-msgdb-append.
5001         
5002
5003         * elmo-msgdb.el (elmo-load-msgdb): New function.
5004         (elmo-make-msgdb): Ditto.
5005         (elmo-msgdb-get-index): New inline function.
5006         (elmo-msgdb-set-index): Ditto.
5007         (elmo-msgdb-get-entity-hashtb): Ditto.
5008         (elmo-msgdb-get-mark-hashtb): Ditto.
5009         (elmo-msgdb-get-mark): Ditto.
5010         (elmo-msgdb-set-mark): Ditto.
5011         (elmo-msgdb-count-marks): Ditto.
5012         (elmo-msgdb-get-number): Ditto.
5013         (elmo-msgdb-get-field): Ditto.
5014         (elmo-msgdb-seen-list): Ditto.
5015         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5016         (elmo-msgdb-delete-msgs): Follow the changes above.
5017         (elmo-msgdb-overview-get-entity): Ditto.
5018         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5019         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5020         and rewritten.
5021         (elmo-msgdb-make-index): Likewise.
5022         (elmo-msgdb-append): Removed third argument.
5023         (elmo-msgdb-clear): Clear index as nil.
5024         (elmo-folder-set-info-hashtb): Removed.
5025         (elmo-folder-set-info-max-by-numdb): Ditto.
5026         (elmo-folder-info-make-hashtb): Ditto.
5027
5028         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5029
5030         * elmo-map.el (elmo-folder-pack-number): Ditto.
5031
5032 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5033
5034         * elmo-version.el (elmo-version): Up to 2.9.10.
5035
5036         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5037
5038         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5039
5040 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5041
5042         * elmo-utils.el (elmo-make-directory): Add option.
5043         Default file mode is 700.
5044
5045 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5046
5047         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5048
5049 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5050
5051         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5052         mime-charset.
5053
5054         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5055         and "smaller".
5056
5057 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5058
5059         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5060         (elmo-shimbun-folder-entity-hash): New function.
5061         (elmo-shimbun-folder-shimbun-header): Ditto.
5062         (elmo-shimbun-entity-to-header): Ditto.
5063         (elmo-shimbun-msgdb-to-headers): Removed.
5064         (elmo-shimbun-folder-setup): Ditto.
5065         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5066         for hash key.
5067         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5068         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5069         Removed useless local bind.
5070         (elmo-folder-open-internal): Don't call
5071         `elmo-shimbun-folder-setup'.
5072         (elmo-folder-close-internal): Clear entity-hash slot.
5073         (elmo-folder-clear): Ditto.
5074         (elmo-shimbun-msgdb-create-entity): Use
5075         `elmo-shimbun-folder-shimbun-header'.
5076         (elmo-map-message-fetch): Ditto.
5077         (elmo-shimbun-update-overview): Use overview entity instead of
5078         shimbun header to lookup id by references.
5079         (elmo-map-folder-list-message-locations): Use not only headers but
5080         also overviews to list locations.
5081
5082 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5083
5084         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5085         msgdb path.
5086
5087         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5088
5089 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5090
5091         * elmo-util.el (elmo-read-search-condition-internal): Give default
5092         value for date.
5093
5094 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5095
5096         * elmo-util.el (elmo-condition-parse-search-value): Accept
5097         YYYY-MM-DD format to search.
5098         * elmo-date.el (elmo-date-get-datevec): Likewise.
5099
5100 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5101
5102         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5103         debugging code.
5104
5105 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5106
5107         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5108         from t.
5109
5110         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5111
5112         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5113         case from `elmo-folder-exists-p'.
5114         (elmo-folder-exists-p): Removed.
5115         (elmo-folder-creatable-p) Ditto.
5116
5117         * elmo-net.el (elmo-folder-create): Defined.
5118         (elmo-folder-create-unplugged): New function.
5119         (elmo-folder-exists-p): Changed default value to nil from t.
5120
5121         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5122         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5123
5124         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5125         `elmo-create-folder-dop' and append queue
5126         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5127         (elmo-folder-create-dop-delayed): New function.
5128
5129         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5130
5131         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5132
5133         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5134         (elmo-folder-writable-p) : Ditto.
5135
5136         * elmo-version.el (elmo-version): Up to 2.9.9.
5137
5138 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5139
5140         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5141         `elmo-message-use-cache-p' returns nil.
5142         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5143         (ignore cache file and refer the substance in local folders)
5144
5145 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5146
5147         * elmo-version.el (elmo-version): Up to 2.9.8.
5148
5149 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5150
5151         * elmo-version.el (elmo-version): Up to 2.9.7.
5152
5153         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5154
5155 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5156
5157         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5158
5159 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5160
5161         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5162         from --early.
5163         (elmo-map-folder-list-message-locations): Reverse location list.
5164
5165 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5166
5167         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5168
5169 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5170
5171         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5172         as a key.
5173         (elmo-nntp-folder-list-subfolders): Follow the change above.
5174
5175 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5176
5177         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5178         name if authentication type is specified.
5179
5180 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5181
5182         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5183         variable.
5184         (elmo-default-nntp-stream-type): Ditto.
5185         (elmo-default-pop3-stream-type): Ditto.
5186
5187 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5188
5189         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5190
5191 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5192
5193         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5194         elmo-vars.el.
5195         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5196
5197         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5198         (elmo-maildir-folder-path): Ditto.
5199         (elmo-maildir-list): Ditto (abolished).
5200
5201 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5202
5203         * elmo-version.el (elmo-version): Up to 2.9.6.
5204
5205 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5206
5207         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5208         (elmo-maildir-folder-path): Ditto.
5209         (elmo-msgdb-directory): Ditto.
5210         (elmo-passwd-life-time): Ditto.
5211         (elmo-msgdb-extra-fields): Ditto.
5212         (elmo-enable-disconnected-operation): Ditto.
5213
5214 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5215
5216         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5217         other choices.
5218         (elmo-pop3-default-authenticate-type): Ditto.
5219
5220 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5221
5222         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5223         choices for custom.
5224         (elmo-pop3-default-authenticate-type): Ditto.
5225
5226 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5227
5228         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5229         mailbox to new-folder.
5230
5231 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5232
5233         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5234         less than new, set new as unread.
5235
5236         * elmo-util.el (elmo-string): Don't put text-property if nil.
5237
5238 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5239
5240         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5241         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5242
5243 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5244
5245         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5246         is nil on `completing-read'.
5247
5248 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5249
5250         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5251         for namespace part.
5252         (elmo-imap4-parse-namespace-subr): Ditto.
5253         (elmo-folder-list-subfolders): Append a delimiter when the specified
5254         folder path is a root with namespace and does not end with delimiter.
5255
5256 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5257
5258         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5259         was used.
5260
5261 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5262
5263         * elmo-util.el (elmo-save-buffer): The first argument of message
5264         is a format control string.
5265
5266 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5267
5268         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5269         `elmo-folder-diff').
5270         (elmo-diff-unread): Likewise.
5271
5272 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5273
5274         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5275         is t on `completing-read'.
5276
5277 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5278
5279         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5280         method of target folder with self mark-alist if MARK-ALIST is nil.
5281
5282 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5283
5284         * elmo-version.el (elmo-version): Up to 2.9.5.
5285
5286 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5287
5288         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5289         (elmo-dop-merge-funcs): Remove.
5290
5291 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5292
5293         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5294         Return t if PATH is directory, too.
5295         Use `dolist' instead of while loop.
5296
5297 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5298
5299         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5300         is deleted.
5301
5302 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5303
5304         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5305         return value to t.
5306         (elmo-folder-list-messages-unplugged): Return t if
5307         elmo-enable-disconnected-operation is nil.
5308
5309         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5310         `elmo-folder-list-messages-internal'.
5311
5312 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5313
5314         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5315         Change to looking-at `[23][0-9]+'.
5316         (elmo-network-initialize-session): Use 'error-msg'
5317         * elmo-net.el (elmo-network-open-session): Set unplugged
5318         if elmo-network-initialize-session returns 'elmo-open-err.
5319
5320 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5321
5322         * elmo-version.el (elmo-version): Up to 2.9.4.
5323
5324 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5325
5326         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5327         `elmo-folder-list-messages-internal'.
5328
5329 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5330
5331         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5332         (elmo-message-match-condition): New method.
5333         (elmo-folder-search-fast): New inline function.
5334         (elmo-msgdb-search): Removed.
5335
5336         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5337         target folder if it is unplugged.
5338         (elmo-folder-list-messages-internal): Return t if target folder is
5339         unplugged and itself is persistent; In this case, use list be
5340         searched already.
5341
5342         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5343         (elmo-msgdb-search-internal-primitive): Ditto.
5344         (elmo-msgdb-match-condition): New function.
5345         (elmo-msgdb-match-condition-primitive): Ditto.
5346
5347         * elmo-util.el (elmo-filter-condition-p): New macro.
5348
5349         * elmo-cache.el (elmo-folder-search): Removed.
5350
5351         * elmo-localdir.el (elmo-folder-search): Ditto.
5352
5353         * elmo-maildir.el (elmo-folder-search): Ditto.
5354
5355         * elmo-mark.el (elmo-folder-search): Ditto.
5356
5357         * elmo-nmz.el (elmo-folder-search): Ditto.
5358
5359         * elmo-sendlog.el (elmo-folder-search): Ditto.
5360
5361         * elmo-shimbun.el (elmo-folder-search): Ditto.
5362
5363         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5364         if folder is unplugged.
5365
5366         * elmo-nntp.el (elmo-folder-search): Likewise.
5367         (elmo-nntp-search-internal): New function.
5368
5369         * elmo-version.el (elmo-version): Up to 2.9.3.
5370
5371 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5372
5373         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5374
5375 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5376
5377         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5378
5379 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5380
5381         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5382
5383 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5384
5385         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5386         (elmo-map-folder-list-message-locations): Do drive letter conversion
5387         on Windows environment.
5388         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5389         (elmo-map-message-fetch): Ditto.
5390
5391 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5392
5393         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5394         (elmo-network-initialize-session): Ditto.
5395
5396 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5397
5398         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5399
5400         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5401
5402         * elmo-util.el (elmo-progress-clear): Ditto.
5403
5404         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5405         `DD-Mon-YYYY' type date.
5406
5407 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5408
5409         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5410         `elmo-date-make-sortable-string' instead of
5411         `timezone-make-date-sortable'.
5412
5413         * elmo-date.el (elmo-date-make-sortable-string): Use
5414         `timezone-make-time-string'.
5415
5416 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5417
5418         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5419
5420         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5421         `since'; Fix timezone.
5422
5423         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5424
5425         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5426
5427 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5428
5429         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5430
5431 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5432
5433         * elmo.el (elmo-generic-folder-append-messages): Make
5434         fetch-strategy with `use-cache' as 'maybe. Check return value of
5435         `elmo-message-fetch'.
5436         (elmo-message-fetch): Return return value of
5437         `elmo-message-fetch-with-cache-process'.
5438         (elmo-message-fetch-with-cache-process): Return non-nil if
5439         fetching was succeed. Load cache when fetching was failed and
5440         fetch-strategy-use-cache is 'maybe.
5441
5442         * elmo-util.el (elmo-file-cache-load): New function.
5443
5444         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5445         defun.
5446
5447         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5448         non-nil if fetching was succeed.
5449
5450         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5451
5452         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5453
5454         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5455         (elmo-message-fetch-with-cache-process): Likwise.
5456
5457         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5458
5459         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5460
5461         * elmo-version.el (elmo-version): Up to 2.9.2.
5462
5463 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5464
5465         * elmo.el (elmo-folder-delete): Delete msgdb path.
5466
5467         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5468
5469         * elmo-maildir.el (elmo-folder-delete): Ditto.
5470
5471         * elmo-localdir.el (elmo-folder-delete): Ditto.
5472
5473         * elmo-imap4.el (elmo-folder-delete): Ditto.
5474
5475 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5476
5477         * elmo.el (luna-define-class): Added `biff' slot.
5478
5479         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5480         (elmo-pop3-debug-inhibit-logging): Abolished.
5481         (elmo-network-close-session): Eliminated needless let.
5482         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5483         (elmo-pop3-send-command): Added `no-log' argument.
5484         (elmo-pop3-process-filter): Use `with-current-buffer'.
5485         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5486         if login failure.
5487         (elmo-pop3-auth-apop): Likewise.
5488         (elmo-network-authenticate-session): Likewise.
5489
5490         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5491         if biff folder.
5492
5493         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5494         string to determine protocol.
5495         (elmo-network-session-name-prefix): Abolished.
5496         (elmo-network-session-cache-key): Follow the change above.
5497         (elmo-network-open-session): Ditto.
5498
5499         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5500         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5501
5502         * elmo-version.el (elmo-version): Up to 2.9.1.
5503
5504         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5505         unmatch condition checking.
5506
5507         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5508         condition.
5509
5510 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5511
5512         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5513
5514 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5515
5516         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5517         test for while loop to execute at least one SEARCH command.
5518
5519 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5520
5521         * elmo-version.el (elmo-version): Up to 2.9.0.
5522
5523 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5524
5525         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5526         (elmo-archive-folder-path): Define.
5527         (elmo-folder-initialize): Setup `dir-name' slot.
5528         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5529         Use `dir-name' as prefix of each subfolders.
5530         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5531
5532 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5533
5534         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5535         (elmo-pipe-folder-list-target-messages): New internal function.
5536         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5537         `killed-list'.
5538         (elmo-pipe-folder-copied-list-load): New function.
5539         (elmo-pipe-folder-copied-list-save): Ditto.
5540         (elmo-folder-open-internal): Follow the change above.
5541         (elmo-folder-status): Fixed for copy.
5542
5543 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5544
5545         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5546
5547 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5548
5549         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5550         elmo-copy-file instead of elmo-add-name-to-file.
5551
5552         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5553
5554         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5555         "file://..." index.
5556
5557         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5558         of accept-process-output as 1.
5559         (elmo-pop3-read-contents): Ditto.
5560         (elmo-pop3-read-body): Ditto.
5561
5562 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5563
5564         * elmo-version.el (product-version-as-string): Remove define.
5565
5566 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5567
5568         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5569         (elmo-imap4-copy-messages): Chop number set using
5570         `elmo-imap4-number-set-chop-length'.
5571         (elmo-imap4-set-flag): Ditto.
5572         (elmo-imap4-search-internal-primitive): Ditto.
5573
5574 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5575
5576         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5577         `elmo-folder-make-temp-dir'
5578
5579         * elmo-vars.el (elmo-cache-directory): New variable.
5580         (elmo-cache-dir): Abolished.
5581         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5582
5583         * elmo-version.el (elmo-version): Up to 2.7.7.
5584
5585 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5586
5587         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5588         defcustom; Set default value as t.
5589
5590 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5591
5592         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5593         (ldap-search-program-arguments): Changed default value.
5594         (ldap-search-basic): Accept exit status 4.
5595         (ldap/field-body): Parse options.
5596         (ldap/collect-field): Ditto.
5597         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5598
5599         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5600         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5601         (elmo-imap4-accept-ok): Ditto.
5602         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5603         'notify-bye, only BYE error is reported.
5604         (elmo-folder-exists-p-plugged): Set no-error argument of
5605         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5606
5607         * elmo.el (elmo-imap4-bye-error): Changed message.
5608
5609         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5610         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5611         queues (It causes infinite loop).
5612
5613 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5614
5615         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5616         (RECENT UNSEEN MESSAGES) extension.
5617
5618 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5619
5620         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5621         Check number of overview fields.
5622
5623 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5624
5625         * elmo.el (elmo-folder-confirm-appends): Changed message.
5626         (elmo-folder-confirm-appends): Ditto.
5627
5628         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5629         `with-temp-buffer'.
5630         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5631
5632 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5633
5634         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5635         of elmo-folder-update-threshold is nil, which can be set by
5636         wl-summary-update-confirm-threshold.
5637
5638 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5639
5640         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5641         (elmo-nmz-index-alias-alist): Ditto.
5642         (elmo-map-folder-list-message-locations): Follow the change above.
5643
5644 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5645
5646         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5647
5648         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5649
5650         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5651
5652         * elmo-util.el (elmo-read): Ditto.
5653         (elmo-display-error): Ditto.
5654
5655         * elmo-vars.el (elmo-date-match): Ditto.
5656
5657         * pldap.el (ldap-coding-system): Ditto.
5658
5659         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5660         `elmo-inhibit-number-mapping' as nil.
5661
5662 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5663
5664         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5665         space delimiter for list response.
5666
5667 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5668
5669         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5670
5671 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5672
5673         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5674         (elmo-map-message-fetch): Fix.
5675         * elmo-map.el (elmo-folder-status): Fix for killed.
5676
5677 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5678
5679         * elmo-sendlog.el: New file.
5680         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5681
5682 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5683
5684         * acap.el (acap-logging-out): New buffer local variable.
5685         (acap-close): Set it.
5686         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5687         an error.
5688
5689 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5690
5691         * acap.el (acap-response-bye-p): New function.
5692         (acap-response-bye-message): Ditto.
5693         (acap-wait-for-response): If bye response is received, cause an error.
5694         (acap-parse-response): Make bye response when 'Bye' is received.
5695
5696 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5697
5698         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5699
5700 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5701
5702         * elmo-util.el (elmo-copy-file): Added argument
5703         `ok-if-already-exists'.
5704         (elmo-copy-file): Fixed typo.
5705
5706 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5707
5708         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5709
5710 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5711
5712         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5713
5714 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5715
5716         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5717         to killed-list.
5718
5719 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5720
5721         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5722         (elmo-folder-initialize): Fix for `copy'.
5723         (elmo-pipe-drain): Ditto.
5724         (elmo-folder-open-internal): Ditto.
5725         (elmo-folder-newsgroups): Fix.
5726
5727 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5728
5729         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5730         for each message.
5731
5732         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5733         recent value is returned from imap folder.
5734
5735         * elmo.el (elmo-folder-newsgroups): New generic function.
5736
5737         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5738         (elmo-folder-initialize): Set it.
5739         (elmo-folder-expand-msgdb-path): Use it.
5740         (elmo-folder-newsgroups): Define.
5741
5742         * elmo-filter.el (elmo-folder-newsgroups): Define.
5743
5744         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5745
5746         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5747
5748         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5749
5750 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5751
5752         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5753         user option.
5754         (elmo-shimbun-header-extra-field): New inline function.
5755         (elmo-shimbun-header-set-extra-field): Ditto.
5756         (elmo-shimbun-folder-header-hash-setup): Ditto.
5757         (elmo-shimbun-update-overview): Ditto.
5758         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5759         (elmo-shimbun-folder-setup): Use
5760         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5761         (elmo-shimbun-get-headers): Ditto.
5762         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5763         Insert `X-Shimbun-Id:' header if extra field is set.
5764         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5765         field's value instead of `shimbun-header-id'.
5766
5767         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5768         inline function.
5769         (elmo-msgdb-overview-entity-set-date): Ditto.
5770         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5771
5772 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5773
5774         * mmimap.el (mmimap-entity-section): Changed body node number from
5775         "0" to "1".
5776
5777 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5778
5779         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5780         `elmo-folder-delete-messages'.
5781
5782         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5783         (elmo-folder-initialize): Changed to expand alias into index path.
5784
5785         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5786         `elmo-mime-insert-header-from-buffer' with 6th arg
5787         `sorted-fields'.
5788
5789 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5790
5791         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5792
5793         * elmo.el (elmo-diff-new): New inline function.
5794         (elmo-diff-unread): Ditto.
5795         (elmo-diff-all): Ditto.
5796
5797         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5798         value from responseb.
5799         (elmo-imap4-folder-diff-plugged): Ditto.
5800         (elmo-imap4-server-diff-async): Added recent argument.
5801         (elmo-server-diff-async): Ditto.
5802         (elmo-imap4-folder-diff-plugged): Ditto.
5803
5804         * elmo-version.el (elmo-version): Up to 2.7.6.
5805
5806 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5807
5808         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5809         in quoted-stirng.
5810
5811 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5812
5813         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5814
5815         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5816
5817         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5818
5819         * elmo-multi.el (elmo-folder-initialize): Ditto.
5820
5821         * elmo-util.el (elmo-parse-token): New function.
5822         (elmo-parse-prefixed-element): Ditto.
5823
5824 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5825
5826         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5827         delete process.
5828         (elmo-imap4-accept-ok): Ditto.
5829
5830 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5831
5832         * mmimap.el (mime-imap-entity-header-string): Don't check first
5833         element of node-id is `0' (Follow last change).
5834
5835 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5836
5837         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5838         assigned irregular node-id to nested multipart section.
5839         (initialize-instance): Followed above change.
5840
5841 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5842
5843         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5844         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5845         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5846         `elmo-shimbun-get-headers');
5847         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5848         visible article on summary exists in headers).
5849         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5850
5851 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5852
5853         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5854         definition.
5855
5856 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5857
5858         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5859
5860 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5861
5862         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5863         header separator into loop condition.
5864
5865 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5866
5867         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5868         Return duplicate folder if it has subfolder.
5869
5870 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5871
5872         * elmo.el (elmo-make-folder): Add folder name error check.
5873
5874         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5875         (elmo-nntp-encode-group-string): New inline function.
5876         (elmo-nntp-decode-group-string): Ditto.
5877         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5878         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5879         Use `not' instead of `null';
5880         Use elmo-nntp-decode-group-string.
5881
5882         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5883
5884         * elmo-version.el (elmo-version): Up to 2.7.5.
5885
5886 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5887
5888         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5889         Hide progress gauge if `elmo-folder-move-messages' exits
5890         nonlocally.
5891
5892 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5893
5894         * elmo-imap4.el (elmo-folder-initialize): Use
5895         `elmo-imap4-encode-folder-string' for folder name.
5896
5897 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5898
5899         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5900         `done'.
5901
5902 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5903
5904         * elmo-util.el (elmo-progress-counter-alist): New internal
5905         variable.
5906         (elmo-progress-counter-value): New macro.
5907         (elmo-progress-counter-all-value): Ditto.
5908         (elmo-progress-counter-format): Ditto.
5909         (elmo-progress-counter-set-value): Ditto.
5910         (elmo-progress-set): New function.
5911         (elmo-progress-clear): Ditto.
5912         (elmo-progress-notify): Ditto.
5913
5914         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5915         counter.
5916
5917         * elmo.el (elmo-generic-folder-append-messages): Call
5918         `elmo-progress-notify'.
5919         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5920
5921         * elmo-archive.el (elmo-folder-append-messages): Call
5922         `elmo-progress-notify'.
5923
5924         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5925
5926         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5927
5928         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5929
5930 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5931
5932         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5933         'Create'.
5934         (elmo-message-encache-dop): Added argument `read'.
5935
5936         * elmo-shimbun.el (elmo-message-encache): Ditto.
5937
5938         * elmo-net.el (elmo-message-encache): Ditto.
5939
5940         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5941         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5942         elmo-imap4-seen-messages.
5943         (elmo-folder-msgdb-create-plugged): Initialize
5944         elmo-imap4-seen-messages;
5945         Set seen mark on elmo-imap4-seen-messages.
5946
5947         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5948
5949         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5950         elmo-folder-append-buffer.
5951         (elmo-folder-encache): Added optional argument `read'.
5952         (elmo-message-encache): Ditto.
5953
5954         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5955
5956         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5957
5958         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5959         if append buffer content succeds.
5960
5961 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5962
5963         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5964         elmo-display-progress.
5965
5966         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5967         Set 4th argument of mime-display-message.
5968         (elmo-mime-display-as-is): Ditto.
5969
5970 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5971
5972         * elmo-nmz.el (toplevel): Require 'mime-edit.
5973         (elmo-nmz-content-type-alist): Abolished.
5974         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5975         content is not a message.
5976         (elmo-map-message-fetch): Changed behavior exept for message content;
5977         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5978         content-type, Add From: and Subject: field.
5979
5980 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5981
5982         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5983         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5984         not a message.
5985
5986 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5987
5988         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5989         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5990
5991         * elmo-archive.el (elmo-folder-writable-p): Defined.
5992
5993         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5994
5995         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5996
5997         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5998
5999         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6000
6001         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6002
6003         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6004
6005         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6006
6007         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6008
6009 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6010
6011         * elmo-util.el (elmo-address-quote-specials): New function;
6012         Renamed from `wl-address-quote-specials'.
6013
6014 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6015
6016         * elmo-version.el (elmo-version): Up to 2.7.4.
6017
6018 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6019
6020         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6021
6022 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6023
6024         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6025         both compile-time and run-time to avoid byte-compile warning.
6026
6027 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6028
6029         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6030
6031 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6032
6033         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6034         option.
6035         (elmo-mime-display-as-is-internal): Use it.
6036
6037         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6038         if `read-passwd' is not defined.
6039
6040 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6041
6042         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6043         by original number.
6044         (elmo-folder-status): Call `elmo-folder-open-internal';
6045         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6046         (elmo-folder-close-internal): Set location-alist as nil.
6047         (elmo-folder-clear): Define.
6048         (elmo-folder-check): Don't set location-alist as nil.
6049
6050         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6051
6052 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6053
6054         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6055         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6056
6057         * mmimap.el (mime-imap-entity::requested): New slot.
6058         (mime-imap-location-fetch-entity-p): New generic function.
6059         (mime-decode-parameters): Define using `defun-maybe'.
6060         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6061         content-type structure.
6062         (mime-entity-body): Return empty body if
6063         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6064
6065         * elmo.el (elmo-message-displaying): New variable.
6066
6067         * elmo-mime.el (elmo-mime-message-display): Bind
6068         elmo-message-displaying as t.
6069
6070         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6071
6072 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6073
6074         * acap.el (acap-open): erase buffer before starting network process.
6075         (acap-store): Rewrite.
6076
6077 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6078
6079         * elmo-imap4.el (elmo-imap4-default-mailbox,
6080         elmo-imap4-default-server
6081         elmo-imap4-default-authenticate-type,
6082         elmo-imap4-default-user,
6083         elmo-imap4-default-port,
6084         elmo-imap4-default-stream-type,
6085         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6086
6087         * elmo-pop3.el (elmo-pop3-default-user,
6088         elmo-pop3-default-server,
6089         elmo-pop3-default-authenticate-type,
6090         elmo-pop3-default-port,
6091         elmo-pop3-default-stream-type,
6092         elmo-pop3-stream-type-alist): Ditto.
6093
6094         * elmo-nntp.el (elmo-nntp-default-server,
6095         elmo-nntp-default-user,
6096         elmo-nntp-default-port,
6097         elmo-nntp-default-stream-type,
6098         elmo-nntp-stream-type-alist): Ditto.
6099
6100         * elmo-vars.el: Follow changes above.
6101         (elmo-setting): New custom group; added 'elmo-setting group to
6102         above variables.
6103
6104         * elmo-version.el (elmo-version): Up to 2.7.3.
6105
6106         * acap.el (acap-parse-response): Don't delete process when BYE
6107         response (It causes hang-up on slow network environment).
6108         (toplevel): Added comment.
6109
6110 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6111
6112         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6113
6114         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6115         parsing NIL.
6116         (acap-parse-return-metadata): Ditto.
6117
6118         * slp.el: New file.
6119         (toplevel): Fixed typo.
6120
6121         * acap.el: New file.
6122         (acap-network-stream-open): Show "Connecting..." message.
6123         (acap-parse-response): Fixed problem for BYE untagged response.
6124         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6125         (toplevel): Added tiny comments.
6126
6127 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6128
6129         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6130         space delimiter for uidl response.
6131
6132 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6133
6134         * elmo-vars.el (elmo-use-semi): Eliminated.
6135
6136         * elmo-util.el (elmo-string-assoc-all): New function.
6137
6138 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6139
6140         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6141         property 'mime-preview-situation for `mime-preview-quit'.
6142
6143 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6144
6145         * elmo.el (elmo-message-fetch-with-cache-process): Call
6146         elmo-message-fetch-internal instead of causing an error when fetch
6147         strategy is 'entire but only 'section cache is available.
6148
6149 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6150
6151         * elmo-version.el (elmo-version): Up to 2.7.2.
6152
6153         * elmo.el (elmo-generic-folder-append-messages): Make
6154         fetch-strategy with `use-cache'.
6155
6156         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6157         (elmo-dop-queue-method-name): New macro.
6158
6159 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6160
6161         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6162         unbalanced parenthesis.
6163
6164 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6165
6166         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6167
6168 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6169
6170         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6171         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6172
6173 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6174
6175         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6176         local variables.
6177
6178 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6179
6180         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6181         (elmo-message-use-cache-p): Define.
6182         (elmo-folder-msgdb-create): Treat cache.
6183
6184 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6185
6186         * elmo-nntp.el (elmo-network-initialize-session): Call
6187         `elmo-nntp-send-mode-reader'.
6188         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6189
6190 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6191
6192         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6193         alist.
6194         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6195         assoc.
6196
6197         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6198         for `elmo-plugged-p'.
6199         (elmo-open-network-stream): Fixed stream-type argument.
6200
6201 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6202
6203         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6204         unknown archive type is specified.
6205
6206 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6207
6208         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6209
6210         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6211         while loading msgdb.
6212
6213         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6214         (elmo-folder-open-internal): Rewrite.
6215
6216 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6217
6218         * elmo-mime.el (elmo-mime-display-as-is-internal):
6219         Adjust buffer-multibyte status.
6220
6221 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6222
6223         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6224         of elmo-condition-find-key.
6225
6226         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6227         (elmo-condition-in-msgdb-p): Ditto.
6228         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6229         argument.
6230
6231 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6232
6233         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6234
6235 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6236
6237         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6238         label for elmo-display-progress.
6239
6240 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6241
6242         * elmo.el (elmo-folder-clear): New method.
6243         (elmo-folder-clear): Define.
6244         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6245
6246         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6247         (elmo-folder-clear): Define.
6248
6249         * elmo-map.el (elmo-folder-clear): Define.
6250
6251         * elmo-version.el (elmo-version): Up to 2.7.1.
6252
6253 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6254
6255         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6256         updates.
6257
6258 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6259
6260         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6261         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6262
6263 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6264
6265         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6266
6267         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6268         and re-written.
6269
6270         * elmo-imap4.el (elmo-folder-initialize): Use
6271         elmo-get-network-stream-type.
6272
6273         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6274
6275         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6276
6277 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6278
6279         * elmo.el (elmo-message-encache): Set unread argument for
6280         elmo-message-fetch.
6281
6282         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6283
6284         * elmo.el (elmo-net-port-info): New method.
6285
6286         * elmo-shimbun.el (elmo-net-port-info): Define.
6287         (elmo-message-encache): Ditto.
6288
6289         * elmo-net.el (elmo-net-port-info): Define as method.
6290
6291         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6292         unplugged status when elmo-enable-disconnected-operation is t.
6293
6294         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6295         of spool folder before checking new number.
6296
6297 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6298
6299         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6300         (elmo-network-setup-session): Ditto.
6301         (elmo-message-fetch-plugged): Ditto.
6302         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6303         (elmo-network-initialize-session): Ditto.
6304         (elmo-pop3-read-response): Abolish 3rd argument.
6305         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6306         (elmo-pop3-read-contents): Ditto.
6307         (elmo-pop3-read-body): Ditto.
6308         (elmo-folder-status): Call elmo-folder-close.
6309         (elmo-pop3-lock): Abolish.
6310         (elmo-pop3-unlock): Ditto.
6311         (elmo-pop3-locked-p): Ditto.
6312         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6313
6314 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6315
6316         * elmo-version.el (elmo-version): Up to 2.7.0.
6317
6318         * elmo-pop3.el (elmo-pop3-debug): New variable.
6319         (elmo-pop3-debug-inhibit-logging): Ditto.
6320         (elmo-pop3-debug): New function.
6321         (elmo-pop3-send-command): Call elmo-pop3-debug.
6322         (elmo-pop3-read-response): Added keep-lock optional argument;
6323         Don't unlock if keep-lock is non-nil.
6324         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6325         (elmo-network-authenticate-session): Bind
6326         elmo-pop3-debug-inhibit-logging as t.
6327         (elmo-network-setup-session): Call elmo-pop3-read-response with
6328         keep-lock argument.
6329         (elmo-pop3-read-msg): Ditto.
6330         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6331         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6332         (elmo-network-initialize-session): Call elmo-pop3-lock.
6333         (elmo-folder-close-internal): Don't clear location-alist slot.
6334         (elmo-folder-check): Clear location-alist slot.
6335
6336 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6337
6338         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6339         (elmo-pop3-send-command): Call elmo-pop3-lock.
6340         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6341         (elmo-pop3-read-contents): Ditto.
6342         (elmo-pop3-lock): New function.
6343         (elmo-pop3-unlock): Ditto.
6344         (elmo-pop3-locked-p): Ditto.
6345         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6346         returns t.
6347
6348 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6349
6350         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6351
6352         * elmo-util.el (elmo-file-field-primitive-condition-match):
6353         New inline function (Don't fetch file content if "first" or "last").
6354         (elmo-file-field-condition-match): Use
6355         elmo-file-field-primitive-condition-match.
6356
6357         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6358         "first".
6359
6360         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6361         (elmo-message-fetch-plugged): Fixed.
6362
6363         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6364
6365 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6366
6367         * elmo.el (elmo-folder-move-messages): Bind
6368         elmo-inhibit-display-retrieval-progress as t while moving messages.
6369
6370         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6371         New variable.
6372         (elmo-inhibit-display-retrieval-progress): Ditto.
6373
6374         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6375         for retrieval progress;
6376         Don't display progress when total buffer size is smaller than
6377         elmo-display-retrieval-progress-threshold.
6378         (elmo-message-fetch-plugged): Don't display progress when
6379         elmo-inhibit-display-retrieval-progress is non-nil.
6380
6381         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6382         for retrieval progress;
6383         Don't display progress when literal size is smaller than
6384         elmo-display-retrieval-progress-threshold.
6385         (elmo-imap4-message-fetch): Don't display progress when
6386         elmo-inhibit-display-retrieval-progress is non-nil.
6387
6388 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6389
6390         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6391         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6392         (elmo-imap4-message-fetch): Likewise.
6393
6394         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6395         (elmo-shimbun-index-range-alist): Ditto.
6396         (elmo-shimbun-use-entire-index): Abolish.
6397         (shimbun-mua-use-entire-index): Ditto.
6398         (elmo-shimbun-folder): Added new slot `range'.
6399         (elmo-folder-initialize): Setup slot `range'.
6400
6401 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6402
6403         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6404         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6405         (elmo-shimbun-get-headers): Use return value of
6406         `shimbun-article-expiration-days'.
6407         (elmo-folder-close-internal): Clean up last-check slot.
6408
6409         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6410         (elmo-pop3-total-size): New variable.
6411         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6412
6413         * elmo.el (elmo-folder-reserve-status-p): New method.
6414
6415         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6416         (elmo-shimbun-use-entire-index): New user option.
6417         (shimbun-elmo-mua): New class.
6418         (shimbun-mua-search-id): Define.
6419         (shimbun-mua-use-entire-index): Ditto.
6420         (elmo-shimbun-folder:last-check): New slot.
6421         (elmo-shimbun-headers-cache-header-list): Abolish.
6422         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6423         (elmo-shimbun-headers-cache-header-hash): Ditto.
6424         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6425         (elmo-shimbun-headers-cache-last-check): Ditto.
6426         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6427         (elmo-shimbun-headers-check-p): Rewrite.
6428         (elmo-shimbun-msgdb-to-headers): New function.
6429         (elmo-shimbun-get-headers): Rewrite.
6430         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6431         (elmo-folder-open-internal): Get headers only if
6432         `elmo-shimbun-headers-check-p' is non-nil.
6433         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6434         is non-nil.
6435         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6436         (elmo-quit): Removed.
6437
6438         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6439         function.
6440         (elmo-msgdb-overview-entity-set-extra): Ditto.
6441         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6442
6443         * elmo-map.el (elmo-folder-status): Don't call
6444         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6445         is non-nil.
6446
6447 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6448
6449         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6450         of `elmo-msgdb-search-internal-primitive' when condition's car is
6451         `and' or `or'.
6452
6453 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6454
6455         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6456
6457 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6458
6459         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6460         call `elmo-pipe-drain'.
6461
6462 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6463
6464         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6465         typo. (elmo-cache-folder -> elmo-mark-folder)
6466
6467 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6468
6469         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6470         `elmo-message-fetch'.
6471
6472 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6473
6474         * elmo-net.el (elmo-message-encache): Fixed typo.
6475         (elmo-message-fetch-unplugged): Changed call
6476         `elmo-message-fetch-internal' without argument `outbuf'.
6477
6478 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6479
6480         * elmo.el (elmo-message-encache): Define as generic function.
6481         (elmo-message-fetch-field): New generic function.
6482         (elmo-message-fetch-with-cache-process): Cause an error when
6483         fetch strategy is 'entire but only 'section cache is available.
6484         (toplevel): Fixed nmz folder definition.
6485
6486         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6487         (elmo-msgdb-resume-list-filename): Ditto.
6488         (elmo-queue-filename): Ditto.
6489         (elmo-enable-disconnected-operation): Changed default value to t.
6490
6491         * elmo-util.el (elmo-cache-path-section-p): New function.
6492         (elmo-file-cache-get): Use it.
6493         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6494         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6495         (elmo-dop-queue-save): Ditto.
6496
6497         * elmo-net.el (elmo-folder-status-unplugged): Call
6498         elmo-folder-status-dop.
6499         (elmo-folder-list-messages-unplugged): Implemented.
6500         (elmo-folder-delete-messages-unplugged): Define.
6501         (elmo-folder-msgdb-create): Define.
6502         (elmo-folder-msgdb-create-unplugged): Define.
6503         (elmo-folder-mark-as-read-unplugged): Ditto.
6504         (elmo-folder-unmark-read-unplugged): Ditto.
6505         (elmo-folder-mark-as-important-unplugged): Ditto.
6506         (elmo-folder-unmark-important-unplugged): Ditto.
6507         (elmo-message-encache): Ditto.
6508
6509         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6510         (elmo-dop-queue-save): Ditto.
6511
6512         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6513         `elmo-folder-msgdb-create'.
6514         (elmo-folder-append-buffer): Implemented unplugged operation.
6515         (elmo-folder-append-messages): Call parent method in unplugged status.
6516         (elmo-message-fetch-unplugged): Removed definition.
6517         (elmo-message-fetch-field): Implemented.
6518
6519         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6520         (elmo-dop-folder): Removed variable definition.
6521         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6522         (elmo-dop-queue-flush): Implemented.
6523         (elmo-dop-queue-merge): Removed definition (TODO).
6524         (elmo-dop-spool-folder): New function.
6525         (elmo-dop-spool-folder-append-buffer): Ditto.
6526         (elmo-dop-spool-folder-list-messages): Ditto.
6527         (elmo-dop-list-deleting-messages): Ditto.
6528         (elmo-folder-append-buffer-dop): Ditto.
6529         (elmo-folder-delete-messages-dop): Ditto.
6530         (elmo-message-encache-dop): New inline function.
6531         (elmo-create-folder-dop): Ditto.
6532         (elmo-folder-mark-as-read-dop): Ditto.
6533         (elmo-folder-unmark-read-dop): Ditto.
6534         (elmo-folder-mark-as-important-dop): Ditto.
6535         (elmo-folder-unmark-important-dop): Ditto.
6536         (elmo-folder-status-dop): Fixed.
6537         (elmo-folder-append-buffer-dop-delayed): New function.
6538         (elmo-folder-delete-messages-dop-delayed): Ditto.
6539         (elmo-dop-msgdb): Ditto.
6540
6541 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6542
6543         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6544
6545 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6546
6547         * elmo.el (elmo-folder-move-messages): Fixed problem when
6548         `dst-folder' is 'null.
6549
6550 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6551
6552         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6553         instead of current mark.
6554
6555         * elmo-multi.el (elmo-folder-list-importants-internal): No
6556         operation if importants is not list.
6557
6558         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6559         Return t if importants is not list.
6560
6561         * elmo-map.el (elmo-map-folder-list-importants): Define.
6562         (elmo-folder-list-importants-internal): Check return value of
6563         `elmo-map-folder-list-importants-internal'.
6564
6565         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6566
6567         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6568
6569         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6570
6571         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6572
6573 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6574
6575         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6576         (Patch is provided by <kita@coe.nttdata.co.jp>).
6577
6578 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6579
6580         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6581         mark folder.
6582
6583 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6584
6585         * elmo.el (elmo-message-fetch): Define.
6586         (elmo-message-fetch-with-cache-process): New generic method.
6587         (elmo-message-fetch-internal): New generic method.
6588         (elmo-folder-synchronize):
6589
6590         * elmo-archive.el (elmo-message-fetch-internal): Define.
6591         (elmo-message-fetch): Eliminated.
6592
6593         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6594         (elmo-message-fetch): Eliminated.
6595
6596         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6597         argument OUTBUF.
6598         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6599
6600         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6601         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6602
6603         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6604         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6605
6606         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6607
6608         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6609
6610         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6611
6612         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6613         (elmo-message-fetch-unplugged): New generic method.
6614         (elmo-message-fetch-internal): Remove cache process (Renamed from
6615         `elmo-message-fetch').
6616
6617         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6618         (elmo-message-fetch): Eliminated.
6619         (elmo-message-fetch-unplugged): Ditto.
6620
6621         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6622
6623 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6624
6625         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6626         of `to-be-deleted' from number-alist to number-list.
6627
6628 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6629
6630         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6631         (elmo-folder-mark-as-important): Ditto.
6632
6633 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6634
6635         * elmo.el (elmo-folder): Added process-duplicates slot.
6636
6637         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6638         (elmo-folder-unmark-read): Ditto.
6639         (elmo-folder-unmark-important): Ditto.
6640         (elmo-folder-mark-as-important): Ditto.
6641
6642         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6643         duplicated message processing.
6644
6645         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6646
6647 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6648
6649         * elmo-util.el (elmo-list-subdirectories-1): New function.
6650         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6651         (elmo-mapcar-list-of-list): New function.
6652
6653         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6654         `elmo-mapcar-list-of-list' instead of `mapcar'.
6655
6656         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6657
6658         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6659         `elmo-have-link-count'. Return the fully qualified folder name.
6660
6661 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6662
6663         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6664         (elmo-shimbun-headers-cache): New internal variable.
6665         (elmo-shimbun-headers-cache-header-list): New inline function.
6666         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6667         (elmo-shimbun-headers-cache-header-hash): Ditto.
6668         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6669         (elmo-shimbun-headers-cache-last-check): Ditto.
6670         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6671         (elmo-shimbun-lapse-seconds): Ditto.
6672         (elmo-shimbun-headers-cache-check-p): Ditto.
6673         (elmo-shimbun-get-headers): New function.
6674         (elmo-folder-open-internal): Call it.
6675         (elmo-quit): Define (Clear headers-cache).
6676
6677 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6678
6679         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6680
6681         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6682         (elmo-msgdb-flist-save): Ditto.
6683
6684         * elmo-shimbun.el (elmo-folder-list-subfolders):
6685         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6686         (elmo-folder-exists-p): Ditto.
6687
6688         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6689         argument for `shimbun-header-insert'.
6690
6691 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6692
6693         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6694         at first time.
6695
6696         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6697         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6698
6699 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6700
6701         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6702         (elmo-folder-plugged-p): Define.
6703         (elmo-folder-set-plugged): Ditto.
6704         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6705         (elmo-folder-list-messages-internal): Return t if unplugged.
6706         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6707
6708         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6709         when elmo-folder-list-messages-internal method of children returns t.
6710
6711         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6712         pair is nil.
6713         (elmo-folder-open-internal): Don't update if unplugged status.
6714
6715 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6716
6717         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6718         new message.
6719
6720 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6721
6722         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6723
6724         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6725         saving.
6726
6727 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6728
6729         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6730
6731         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6732         (elmo-folder-open-internal): Set up headers slot.
6733         (elmo-folder-check): Call elmo-folder-close-internal and
6734         elmo-folder-open-internal.
6735         (elmo-folder-close-internal): Clean up headers slot.
6736
6737 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6738
6739         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6740         exactly folder list.
6741         (elmo-folder-append-messages): Fixed append archive with prefix.
6742
6743         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6744         make temp files with start-number.
6745
6746         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6747
6748 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6749
6750         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6751         argument `visible-only'.
6752         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6753         instead of `if'.
6754
6755         * elmo-pop3.el (elmo-folder-open-internal): Check
6756         `elmo-inhibit-number-mapping' is non-nil.
6757
6758         * elmo-pipe.el (elmo-folder-status): Fixed.
6759
6760 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6761
6762         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6763
6764         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6765         (elmo-folder-open-internal): Setup `header-hash' slot.
6766         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6767         information.
6768         (elmo-map-message-fetch): Ditto.
6769
6770 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6771
6772         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6773         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6774         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6775         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6776
6777         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6778
6779 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6780
6781         * sb-airs.el: Added footer.
6782
6783         * shimbun.el (shimbun-article): Define as luna-method.
6784
6785         * sb-tcup.el: New file.
6786
6787         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6788         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6789
6790 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6791
6792         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6793         (shimbun-get-headers): Ditto.
6794
6795         * elmo.el: Moved obsolete variable definitions from
6796         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6797
6798         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6799         groups.
6800
6801         * shimbun.el: New file.
6802
6803         * elmo-shimbun.el: New file.
6804
6805         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6806         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6807         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6808         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6809
6810 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6811
6812         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6813         hierarchy is t.
6814
6815 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6816
6817         * elmo.el (elmo-folder-msgdb): Define as macro.
6818         (elmo-folder-open): Added argument `load-msgdb'.
6819         (elmo-generic-folder-open): Ditto.
6820         (elmo-folder-encache): New function.
6821
6822         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6823
6824         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6825
6826         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6827         Eliminated argument FOLDER and added argument MSGDB.
6828         (elmo-dop-queue-load): Moved from elmo-dop.el.
6829         (elmo-dop-queue-save): Ditto.
6830
6831         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6832
6833         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6834
6835         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6836         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6837         (elmo-filter-folder-list-importants-internal): Ditto.
6838
6839         * elmo-map.el (elmo-folder-pack-number): Ditto.
6840
6841         * elmo-mime.el (elmo-mime-message-display): Ditto.
6842
6843         * elmo.el (elmo-generic-folder-commit): Ditto.
6844         (elmo-folder-list-unreads): Ditto.
6845         (elmo-folder-list-importants): Ditto.
6846         (elmo-generic-folder-commit): Ditto.
6847         (elmo-message-set-mark): Ditto.
6848         (elmo-generic-folder-append-msgdb): Ditto.
6849         (elmo-folder-synchronize): Ditto.
6850         (elmo-folder-messages): Ditto.
6851         (elmo-init): Call elmo-dop-queue-load.
6852         (elmo-folder-list-messages): Ditto.
6853
6854         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6855         (elmo-nntp-folder-process-crosspost): Ditto.
6856         (elmo-folder-list-unreads-internal): Ditto.
6857
6858         * elmo-dop.el: Removed old functions.
6859
6860 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6861
6862         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6863         `folder' to `msgdb'.
6864
6865 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6866
6867         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6868         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6869
6870         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6871         case-fold-search.
6872
6873 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6874
6875         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6876         defined.
6877
6878         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6879         (mmimap-parse-parameters-from-list): Define as alias for
6880         `mime-decode-parameter-plist' if it is defined as function.
6881         (mmimap-make-mime-entity): Added argument `number'.
6882         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6883         as 0.
6884         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6885
6886         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6887
6888         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6889
6890         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6891
6892 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6893
6894         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6895
6896         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6897         when elmo-imap4-default-authenticate-type is nil.
6898         (elmo-folder-list-subfolders): Ditto
6899         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6900         (elmo-imap4-fetch-callback-1-subr): Renamed from
6901         `elmo-imap4-fetch-callback-1' and define as inline function.
6902         (elmo-imap4-fetch-callback-1):
6903         Renamed from `elmo-imap4-fetch-callback'.
6904         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6905
6906         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6907         msgdb path (To keep compatibility with main trunk).
6908
6909         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6910
6911         * elmo-util.el (elmo-make-file-cache): Moved position of
6912         some macros.
6913
6914         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6915         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6916         instead of `elmo-pop3-inhibit-uidl'.
6917         (elmo-folder-exists-p): Ditto.
6918         (elmo-pop3-folder-list-messages): Ditto.
6919
6920         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6921         instead of `elmo-pop3-inhibit-uidl'.
6922         (elmo-folder-status): Ditto.
6923
6924         * elmo-dop.el (elmo-dop-folder): New variable.
6925         (elmo-dop-lock-message): Eliminated.
6926         (elmo-dop-unlock-message): Ditto.
6927         (elmo-dop-lock-list-load): Ditto.
6928         (elmo-dop-lock-list-save): Ditto.
6929         (elmo-dop-delete-folder): Ditto.
6930         (elmo-dop-rename-folder): Ditto.
6931
6932         * elmo.el: Removed incomplete commentary.
6933
6934 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6935
6936         * elmo.el (toplevel): Require 'elmo-version first;
6937         for little `recursive-load-depth' settings.
6938         Fix "ends here" comment.
6939
6940 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6941
6942         * elmo-util.el (toplevel): Require 'poem;
6943         Some functions are moved from elmo-cache.el.
6944
6945         * elmo-net.el (toplevel): Require 'elmo-cache.
6946
6947         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6948
6949         * elmo.el (toplevel): Ditto.
6950
6951         * elmo-cache.el: Rewrite with luna;
6952         Some functions are moved to elmo-util.el.
6953
6954         * elmo-internal.el (elmo-internal-folder-list): New variable.
6955         (elmo-internal-folder-initialize): Rewrite.
6956         (elmo-folder-list-subfolders): Ditto.
6957
6958         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6959         (elmo-cache-collect-sub-directories): Ditto.
6960
6961 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6962
6963         * elmo-version.el (elmo-version): Up to 2.5.8.
6964
6965         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6966
6967         * elmo-util.el (elmo-list-insert): New function.
6968
6969 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6970
6971         * elmo.el (elmo-init): New function.
6972         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6973
6974         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6975         (Renamed from `elmo-localdir-header-chop-length').
6976
6977         * elmo-pop3.el (elmo-pop3-use-cache,
6978         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6979
6980         * elmo-nntp.el (elmo-message-fetch): Define.
6981         (elmo-message-fetch-unplugged): Ditto.
6982         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6983         (elmo-nntp-use-cache): Ditto.
6984         (elmo-nntp-max-number-precedes-list-active): Ditto.
6985
6986         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6987
6988         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6989         `elmo-msgdb-insert-file-header'.
6990         Use `elmo-msgdb-file-header-chop-length'.
6991
6992         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6993         `elmo-vars.el'.
6994
6995         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6996         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6997         `elmo-msgdb-insert-file-header'.
6998
6999         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7000         Use new variable;
7001         Define obsolete variables with `elmo-define-obsolete-variable',
7002
7003         * elmo-util.el (elmo-warning-buffer-name): New constant.
7004         (elmo-warning): New function.
7005         (elmo-obsolete-variable-alist): New variable.
7006         (elmo-obsolete-variable-show-warnings): New variable.
7007         (elmo-define-obsolete-variable): New function.
7008         (elmo-resque-obsolete-variable): Ditto.
7009         (elmo-resque-obsolete-variables): Ditto.
7010
7011 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7012
7013         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7014         Eliminated.
7015
7016         * elmo-pop3.el, elmo-nntp.el: Use custom.
7017
7018 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7019
7020         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7021         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7022
7023 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7024
7025         * Luna-fy Kenichi OKADA's following changes.
7026         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7027         `nohide'.
7028         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7029
7030 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7031
7032         * elmo-util.el (elmo-display-progress): Prefer
7033         `progress-feedback-with-label' to `lprogress-display'.
7034
7035 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7036
7037         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7038
7039 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7040
7041         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7042         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7043         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7044         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7045         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7046         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7047         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7048         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7049         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7050         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7051         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7052         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7053         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7054
7055 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7056
7057         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7058         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7059
7060 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7061
7062         * elmo.el (elmo-folder-process-crosspost): New generic method.
7063         (elmo-folder-writable-p): Ditto.
7064         (elmo-folder-message-appendable-p): Eliminated.
7065         (elmo-generic-folder-append-msgdb): Rewrite.
7066         (elmo-newsgroups-hashtb): New internal variable.
7067         (elmo-crosspost-message-set): Eliminated.
7068         (elmo-crosspost-message-delete): Ditto.
7069         (elmo-setup-subscribed-newsgroups): New function.
7070         (elmo-crosspost-message-alist-modified): New internal variable.
7071         (elmo-crosspost-message-alist-load): New function (Renamed from
7072         `wl-crosspost-alist-load').
7073         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7074         `wl-crosspost-alist-save').
7075
7076         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7077
7078         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7079         `unreads'.
7080         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7081         elmo-newsgroups-hashtb).
7082         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7083         `elmo-nntp-folder-update-crosspost-message-alist'.
7084         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7085         `elmo-nntp-groups-hashtb'.
7086         (elmo-nntp-make-groups-hashtb): Eliminated.
7087         (elmo-nntp-parse-newsgroups): New function (Renamed from
7088         `wl-parse-newsgroups').
7089         (elmo-folder-creatable-p, elmo-folder-writable-p,
7090         elmo-folder-close-internal, elmo-folder-mark-as-read,
7091         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7092         Define.
7093         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7094
7095         * elmo-net.el (elmo-message-fetch): Check buffer size.
7096
7097         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7098
7099         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7100
7101         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7102         before `close' command.
7103
7104         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7105         `mark-alist' (All other related portions are changed).
7106
7107 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7108
7109         * elmo-util.el (elmo-create-hash-size): Eliminated.
7110         (elmo-make-hash) Make a hash with `one less than a power of two'
7111         length.
7112
7113         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7114         (elmo-hash-maximum-size): Changed value.
7115
7116 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7117
7118         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7119         (elmo-mime-message-display-as-is): Ditto.
7120
7121 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7122
7123         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7124         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7125
7126 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7127
7128         * elmo-mark.el: New file.
7129
7130         * elmo-internal.el: Rewrite (Almost empty).
7131
7132 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7133
7134         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7135         (mime-imap-entity-header-string): Ditto.
7136         (mmimap-entity-section): Rewrite.
7137
7138 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7139
7140         * elmo-nmz.el: New file.
7141
7142         * elmo-pipe.el: Rewrite with luna.
7143
7144 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7145
7146         * elmo-archive.el: Rewrite with luna.
7147
7148         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7149         (elmo-folder-list-importants-internal): Ditto.
7150
7151 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7152
7153         * elmo-archive.el (elmo-archive-version): Abolish.
7154         (toplevel) Removed `boso' comment.
7155
7156 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7157
7158         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7159         elmo-msgdb-add-msgs-to-seen-list-subr;
7160         Changed argument seen-marks to unread-marks.
7161
7162         * elmo-nntp.el: Rewrite with luna.
7163
7164 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7165
7166         * elmo-filter.el: Rewrite with luna.
7167
7168 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7169
7170         * elmo-pop3.el: Rewrite with luna.
7171
7172 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7173
7174         * elmo-multi.el: Rewrite with luna.
7175
7176         * elmo-vars.el (elmo-use-killed-list): Abolish.
7177         All other related portions are changed.
7178         (elmo-filename-replace-string-alist): Renamed from
7179         elmo-msgid-replace-string-alist.
7180
7181 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7182
7183         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7184
7185         * elmo-map.el: New file.
7186         * elmo-maildir.el: Rewrite with luna.
7187
7188 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7189
7190         * elmo.el: Changed meaning of `elmo-folder-commit'.
7191         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7192
7193 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7194
7195         * elmo.el (elmo-folder-append-buffer): New function.
7196         (Renamed from `elmo-append-msg')
7197
7198 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7199
7200         * elmo-mime.el: New file.
7201
7202 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7203
7204         * elmo-cache.el: Rewrite.
7205
7206 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7207
7208         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7209
7210 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7211
7212         * elmo-vars.el (elmo): New group.
7213         (elmo-strict-diff-folder-regexp): New variable.
7214
7215         * elmo-util.el (elmo-call-func): Abolish.
7216         (elmo-folder-get-type): Ditto.
7217         (elmo-*-get-spec): Ditto.
7218         (elmo-*-spec-*): Ditto.
7219         (elmo-imap4-identical-name-space-p): Ditto.
7220         (elmo-folder-identical-system-p): Ditto.
7221         (elmo-folder-direct-copy-alist): Ditto.
7222         (elmo-folder-direct-copy-p): Ditto.
7223
7224         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7225         (elmo-folder-initialize): Define.
7226         (elmo-folder-get-primitive-list): Ditto.
7227
7228         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7229         (elmo-folder-initialize): Define.
7230         Renamed `elmo-network-session-host-internal' to
7231         `elmo-network-session-server-internal'.
7232
7233         * elmo-multi.el (elmo-multi-folder): New luna class.
7234         (elmo-folder-initialize): Define.
7235         (elmo-folder-get-primitive-list): Ditto.
7236         (elmo-folder-contains-type): Ditto.
7237         (elmo-message-use-cache-p): Ditto.
7238
7239         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7240         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7241
7242         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7243         (elmo-folder-initialize): Define.
7244
7245         * elmo-filter.el (elmo-filter-folder): New luna class.
7246         (elmo-folder-initialize): Define.
7247         (elmo-folder-get-primitive-list): Ditto.
7248         (elmo-folder-contains-type): Ditto.
7249
7250 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7251
7252         * elmo-imap4.el: Rewrite with luna.
7253
7254         * mmimap.el: New file.
7255
7256         * mmelmo.el, mmelmo-imap4.el: Removed.
7257
7258         * elmo-net.el: Ditto.
7259
7260         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7261         (elmo-folder-initialize): Define.
7262
7263         * elmo-archive.el (elmo-archive-folder): New luna class.
7264         (elmo-folder-initialize): Define.
7265
7266         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7267         `elmo-folder-msgdb-path'.
7268         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7269         `elmo-make-folder'.
7270
7271 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7272
7273         * elmo.el: New file.
7274
7275         * elmo2.el: Renamed to elmo.el.
7276
7277 \f
7278 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7279
7280         * elmo-cache.el (elmo-cache-expire-by-size): Count
7281         a disk usage for a cache file entry in KB even when
7282         its kind is a directory.
7283
7284 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7285
7286         * elmo-version.el (elmo-version): Up to 2.5.7.
7287
7288 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7289
7290         * elmo-version.el (elmo-version): Up to 2.5.6.
7291
7292 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7293
7294         * elmo-version.el (elmo-version): Up to 2.5.5.
7295
7296 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7297
7298         * elmo-imap4.el (elmo-network-authenticate-session):
7299         Fixed a logic for response checking.
7300
7301 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7302
7303         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7304         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7305         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7306         `sasl-mechanisms'.
7307
7308         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7309         for `starttls-open-stream' and `starttls-negotiate'.
7310
7311         * elmo-nntp.el: Remove autoload settings for
7312         `starttls-open-stream' and `starttls-negotiate'.
7313
7314         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7315         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7316         `luna-define-class' with `eval-and-compile'.
7317
7318 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7319
7320         * elmo-util.el (elmo-read-search-condition-internal):
7321         Require an element of table for searching field.
7322
7323 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7324
7325         * elmo-version.el (elmo-version): Up to 2.5.4.
7326
7327 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7328
7329         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7330
7331 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7332
7333         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7334
7335 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7336
7337         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7338         before greeting.
7339
7340 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7341
7342         * elmo-imap4.el (elmo-imap4-delete-folder):
7343         Send "close" before "delete" (Use commented out line).
7344         (elmo-imap4-rename-folder): Ditto.
7345
7346         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7347         folder string itself.
7348         (elmo-dop-list-deleted): New function.
7349         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7350         killed.
7351
7352         * elmo-util.el (elmo-string-rassoc-all): New function.
7353
7354 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7355
7356         * elmo-version.el (elmo-version): Up to 2.5.3.
7357
7358         * elmo-net.el (elmo-network-get-session): Changed logic for
7359         checking process status.
7360
7361         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7362         process is nil;
7363         Changed logic for checking process status.
7364
7365 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7366
7367         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7368         before greeting.
7369         (elmo-network-setup-session): Set UIDL hash size according to
7370         the length of list response.
7371         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7372         according to the length of list response;
7373         Return the length of list response.
7374         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7375
7376 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7377
7378         * elmo-imap4.el (toplevel): Require 'ssl.
7379         Add autoload 'starttls.
7380         * elmo-pop3.el (toplevel): Ditto.
7381         * elmo-nntp.el (toplevel): Ditto.
7382
7383 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7384
7385         * elmo-imap4.el (toplevel): defun at compile time.
7386         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7387         sasl-next-step, sasl-step-data, sasl-step-set-data.
7388         * elmo-pop3.el (toplevel): Ditto.
7389
7390 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7391
7392         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7393
7394 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7395
7396         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7397         if error.
7398         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7399         and `elmo-pop-auth-apop'.
7400
7401 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7402
7403         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7404
7405 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7406
7407         * elmo-pop3.el (elmo-network-authenticate-session): Split
7408         encoded response value.
7409
7410 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7411
7412         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7413         `elmo-pop3-force-login'.
7414         Redefine `sasl-mechanisms'.
7415         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7416
7417 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7418
7419         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7420         Delete `elmo-imap4-authenticator-alist'.
7421         (elmo-imap4-auth-cram-md5): Delete.
7422         (elmo-imap4-auth-digest-md5): Delete.
7423
7424 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7425
7426         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7427         (elmo-pop3-auth-scram-md5): Ditto.
7428         (elmo-pop3-auth-cram-md5): Ditto.
7429
7430 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7431
7432         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7433         Delete `elmo-pop3-authenticator-alist'.
7434
7435 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7436
7437         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7438         new SASL API.
7439         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7440
7441 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7442
7443         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7444
7445 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7446
7447         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7448         Fixed problem when `elmo-pop3-use-uidl' is nil.
7449         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7450
7451 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7452
7453         * elmo-version.el (elmo-version): Up to 2.5.2.
7454
7455 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7456
7457         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7458         New function.
7459         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7460         (elmo-pop3-msgdb-create-as-numlist): Use it.
7461
7462         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7463         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7464
7465         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7466         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7467
7468 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7469
7470         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7471         when elmo-mark-as-read is called with second argument nil.
7472
7473 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7474
7475         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7476         Moved to elmo-util.el.
7477
7478         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7479         Moved from elmo-pipe.el
7480
7481         * elmo-archive.el (elmo-archive-call-process): Enclose with
7482         static-if.
7483
7484         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7485         "RFC822" (because RFC822.PEEK is obsolete).
7486         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7487
7488 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7489
7490         * elmo-archive.el (elmo-archive-call-process): Don't check for
7491         the exit status when Nemacs is running.
7492
7493 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7494
7495         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7496         'plain.
7497
7498         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7499         (elmo-pop3-get-spec): Set default of auth to 'user.
7500
7501         * elmo-imap4.el (elmo-imap4-session-check):
7502         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7503         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7504         (elmo-imap4-auth-login): New function; Revival.
7505         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7506         `elmo-imap4-auth-login'.
7507
7508 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7509
7510         * elmo2.el (toplevel): Move `product-provide' declare.
7511         * mmelmo.el (toplevel): Ditto.
7512
7513 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7514
7515         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7516
7517 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7518
7519         * elmo-util.el (elmo-folder-get-store-type): New function.
7520         (elmo-folder-direct-copy-p): Use it.
7521
7522 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7523
7524         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7525         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7526         and result of `elmo-imap4-use-flag-p'.
7527         (elmo-imap4-fetch-callback-1): Set mark according to
7528         the result of `elmo-imap4-use-flag-p'.
7529
7530 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7531
7532         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7533         (elmo-generic-list-folder-unread): Ditto.
7534         (elmo-folder-get-info): Ditto.
7535         (elmo-folder-set-info-max-by-numdb): Ditto.
7536         (elmo-folder-get-info-max): Ditto.
7537         (elmo-folder-get-info-length): Ditto.
7538         (elmo-folder-get-info-unread): Ditto.
7539         (elmo-folder-info-make-hashtb): Ditto.
7540
7541         * elmo2.el: Removed above functions.
7542
7543 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7544
7545         * elmo-imap4.el (toplevel): Require 'ssl.
7546         Add autoload 'starttls.
7547         * elmo-pop3.el (toplevel): Ditto.
7548         * elmo-nntp.el (toplevel): Ditto.
7549
7550 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7551
7552         * elmo-imap4.el (toplevel): defun at compile time.
7553         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7554         sasl-next-step, sasl-step-data, sasl-step-set-data.
7555         * elmo-pop3.el (toplevel): Ditto.
7556
7557 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7558
7559         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7560
7561 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7562
7563         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7564         if error.
7565         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7566         and `elmo-pop-auth-apop'.
7567
7568 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7569
7570         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7571
7572 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7573
7574         * elmo-pop3.el (elmo-network-authenticate-session): Split
7575         encoded response value.
7576
7577 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7578
7579         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7580         `elmo-pop3-force-login'.
7581         Redefine `sasl-mechanisms'.
7582         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7583
7584 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7585
7586         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7587         Delete `elmo-imap4-authenticator-alist'.
7588         (elmo-imap4-auth-cram-md5): Delete.
7589         (elmo-imap4-auth-digest-md5): Delete.
7590
7591 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7592
7593         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7594         (elmo-pop3-auth-scram-md5): Ditto.
7595         (elmo-pop3-auth-cram-md5): Ditto.
7596
7597 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7598
7599         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7600         Delete `elmo-pop3-authenticator-alist'.
7601
7602 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7603
7604         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7605         new SASL API.
7606         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7607
7608 \f
7609 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7610
7611         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7612
7613 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7614
7615         * elmo-nntp.el (elmo-nntp-get-folders-info):
7616         Fixed problem when '\' character is contained in user-id.
7617         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7618
7619 \f
7620 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7621
7622         * elmo-imap4.el (elmo-imap4-delete-folder):
7623         Send "close" before "delete" (Use commented out line).
7624         (elmo-imap4-rename-folder): Ditto.
7625
7626         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7627         folder string itself.
7628         (elmo-dop-list-deleted): New function.
7629         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7630         killed.
7631
7632         * elmo-util.el (elmo-string-rassoc-all): New function.
7633
7634         * elmo-version.el (elmo-version): Up to 2.5.1.
7635
7636 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7637
7638         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7639
7640         * elmo-internal.el (elmo-internal-search): Fix last change.
7641
7642 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7643
7644         * elmo-internal.el (elmo-internal-search): Rewrite.
7645         (Fixed problem which is pointed out by Akihiro MOTOKI
7646         <motoki@da.jp.nec.com>)
7647
7648         * elmo-version.el (elmo-version): Up to 2.5.0.
7649
7650 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7651
7652         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7653
7654 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7655
7656         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7657         non-nil, make hierarchy.
7658
7659 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7660
7661         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7662         `elmo-pop3-use-uidl' must be bound to nil.
7663         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7664
7665 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7666
7667         * elmo-util.el (elmo-copy-file): Don't cause an error after
7668         `add-name-to-file' failed.
7669
7670         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7671         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7672
7673 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7674
7675         * elmo-version.el (elmo-version): Up to 2.3.93.
7676
7677 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7678
7679         * elmo-util.el (elmo-flatten): New function.
7680
7681 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7682
7683         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7684         sync Author header.
7685         * elmo-cache.el (toplevel): Ditto.
7686         * elmo-database.el (toplevel): Ditto.
7687         * elmo-date.el (toplevel): Ditto.
7688         * elmo-dop.el (toplevel): Ditto.
7689         * elmo-filter.el (toplevel): Ditto.
7690         * elmo-imap4.el (toplevel): Ditto.
7691         * elmo-internal.el (toplevel): Ditto.
7692         * elmo-localdir.el (toplevel): Ditto.
7693         * elmo-localnews.el (toplevel): Ditto.
7694         * elmo-maildir.el (toplevel): Ditto.
7695         * elmo-msgdb.el (toplevel): Ditto.
7696         * elmo-multi.el (toplevel): Ditto.
7697         * elmo-net.el (toplevel): Ditto.
7698         * elmo-nntp.el (toplevel): Ditto.
7699         * elmo-pipe.el (toplevel): Ditto.
7700         * elmo-pop3.el (toplevel): Ditto.
7701         * elmo-util.el (toplevel): Ditto.
7702         * elmo-vars.el (toplevel): Ditto.
7703         * elmo2.el (toplevel): Ditto.
7704         * mmelmo-imap4.el (toplevel): Ditto.
7705         * mmelmo.el (toplevel): Ditto.
7706
7707         * elmo-version.el (elmo-version): Move to top.
7708
7709         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7710         * elmo-imap4.el (toplevel): Ditto.
7711         * elmo-localdir.el (toplevel): Ditto.
7712         * elmo-msgdb.el (toplevel): Ditto.
7713         * elmo-nntp.el (toplevel): Ditto.
7714         * elmo-pop3.el (toplevel): Ditto.
7715         * elmo-version.el (toplevel): Ditto.
7716
7717         * elmo-localnews.el (toplevel): Added Keyword header.
7718
7719 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7720
7721         * elmo-version.el (product-version-as-string): Defined using
7722         `defun-maybe'.
7723         (toplevel): Use it.
7724
7725         * elmo-localdir.el (toplevel): Updated copyright notice.
7726         * elmo-version.el (toplevel): Ditto.
7727         * elmo-msgdb.el (toplevel): Ditto.
7728         * elmo-imap4.el (toplevel): Ditto.
7729         * elmo-nntp.el (toplevel): Ditto.
7730         * elmo-pop3.el (toplevel): Ditto.
7731
7732 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7733
7734         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7735         messages.
7736
7737         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7738         parameter value (It sometimes contains raw kanji).
7739
7740 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7741
7742         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7743         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7744
7745 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7746
7747         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7748
7749 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7750
7751         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7752         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7753
7754 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7755
7756         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7757         value if selecting folder succceeded.
7758         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7759
7760 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7761
7762         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7763         representation.
7764
7765         * elmo-util.el (elmo-string-matched-member): New function.
7766
7767 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7768
7769         * elmo-util.el (elmo-unintern): New macro.
7770         (elmo-number-set-member): Fixed docstring.
7771
7772         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7773         tag token.
7774
7775 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7776
7777         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7778         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7779
7780 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7781
7782         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7783         `no-error'.
7784         Added docstring.
7785         Return non-nil if selecting folder succeeded.
7786         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7787
7788 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7789
7790         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7791         `file-name-completion' returns t.
7792         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7793         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7794         directory if it does not exist.
7795         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7796         for iteration.
7797
7798 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7799
7800         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7801         enclosure (It's harmful in unplugged status).
7802
7803         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7804
7805         * mmelmo-1.el: Removed.
7806
7807         * mmelmo-2.el: Ditto.
7808
7809         * mmelmo-imap4-1.el: Ditto.
7810
7811         * mmelmo-imap4-2.el: Ditto.
7812
7813         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7814
7815         * mmelmo.el: Merged mmelmo-2.el.
7816
7817         * elmo-version.el (elmo-version): Up to 2.3.92.
7818
7819 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7820
7821         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7822         elmo-update-number): Remove last period in "...done." message.
7823         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7824         Ditto.
7825         * elmo-cache.el (elmo-cache-expire-by-size,
7826         elmo-cache-get-sorted-cache-file-list,
7827         elmo-cache-msgdb-create-as-numlist): Ditto.
7828         * elmo-dop.el (elmo-dop-save-pending-messages,
7829         (elmo-dop-flush-pending-append-operations): Ditto.
7830         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7831         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7832         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7833         (elmo-localdir-pack-number): Ditto.
7834         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7835         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7836         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7837         mime-write-entity-content): Ditto.
7838         * pldap.el (ldap-search-basic): Ditto.
7839
7840 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7841
7842         * elmo-version.el (elmo-version): Up to 2.3.91.
7843
7844         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7845         Only when filter is 'last'.
7846
7847         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7848         (elmo-condition-parse-search-value): Use it.
7849         (elmo-read-search-condition-internal): Quote value only when
7850         it is not an atom.
7851
7852 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7853
7854         * elmo2.el (elmo-generic-folder-diff): Fix.
7855
7856 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7857
7858         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7859         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7860         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7861         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7862         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7863         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7864
7865 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7866
7867         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7868         extra-fields.
7869
7870 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7871
7872         * elmo-version.el (elmo-version): Up to 2.3.90.
7873
7874         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7875         (elmo-imap4-list-folder-important): Ditto.
7876
7877 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7878
7879         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7880
7881 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7882
7883         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7884
7885 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7886
7887         * elmo-nntp.el (elmo-network-initialize-session):
7888         Add starttls negotiation.
7889
7890 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7891
7892         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7893         response.
7894         (elmo-network-setup-session): Define.
7895         Call `elmo-nntp-send-mode-reader' when session opened.
7896
7897 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7898
7899         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7900
7901 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7902
7903         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7904         an invalid SPACE character ahead of `SEARCH' command.  Move
7905         a valid SPACE character following `SEARCH' from conditional
7906         `format' arguments to control-strings.
7907
7908 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7909
7910         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7911         was succeeded.
7912
7913         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7914
7915 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7916
7917         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7918         `w32-get-true-file-link-count' as t.
7919
7920         * elmo-imap4.el (elmo-imap4-read): Abolished.
7921         (Renamed to `elmo-read' and moved to elmo-util.el)
7922         All other related portions are changed.
7923
7924         * elmo-util.el (elmo-read): New function.
7925         (elmo-condition-parse-search-value): Use it.
7926
7927 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7928
7929         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7930
7931         * elmo-nntp.el (elmo-nntp-session): Define.
7932         (elmo-nntp-setting): Abolished.
7933         All other related portions are changed.
7934         (elmo-nntp-get-server-command): Changed argument.
7935         (elmo-nntp-set-server-command): Ditto.
7936         (elmo-nntp-xover-p): Ditto.
7937         (elmo-nntp-set-xover): Ditto.
7938         (elmo-nntp-listgroup-p): Ditto.
7939         (elmo-nntp-set-listgroup): Ditto.
7940         (elmo-nntp-list-active-p): Ditto.
7941         (elmo-nntp-set-list-active): Ditto.
7942         (elmo-nntp-xhdr-p): Ditto.
7943         (elmo-nntp-set-xhdr): Ditto.
7944         (elmo-nntp-flush-connection): Abolished.
7945         (elmo-nntp-get-connection): Abolished.
7946         (elmo-nntp-get-session): New function.
7947         (elmo-network-initialize-session): Defined.
7948         (elmo-network-authenticate-session): Ditto.
7949         (elmo-nntp-send-mode-reader): Changed argument.
7950         (elmo-nntp-send-command): Changed argument.
7951         All other related portions are changed.
7952         (elmo-nntp-read-response): Ditto.
7953         (elmo-nntp-read-raw-response): Ditto.
7954         (elmo-nntp-read-contents): Ditto.
7955         (elmo-nntp-read-body): Ditto.
7956         (elmo-nntp-goto-folder): Abolished.
7957         (elmo-nntp-select-group): New function.
7958         All other related portions are changed.
7959         (This function substitutes `elmo-nntp-goto-folder')
7960         (elmo-nntp-msgdb-create-by-header): Rewrite.
7961         (elmo-nntp-get-overview): Eliminated.
7962         (elmo-nntp-get-message): Ditto.
7963         (elmo-nntp-open-connection) Abolished.
7964         (elmo-nntp-read-msg): Rewrite.
7965         (elmo-nntp-post): Ditto.
7966         (elmo-nntp-send-data): Abolished.
7967         (elmo-nntp-send-buffer): New function.
7968         (elmo-nntp-send-data-line): Define as inline function.
7969         (elmo-nntp-get-folders-info-prepare): Use session as key.
7970         (elmo-nntp-groups-read-response): Changed argument.
7971         (elmo-nntp-retrieve-headers): Ditto.
7972         (elmo-nntp-msgdb-create-message): Ditto.
7973
7974         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7975         when searching by 'since' or 'before'.
7976
7977 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7978
7979         * elmo-version.el (toplevel): Use product-version-as-string for set
7980         verstion-string, if defined.
7981
7982 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7983
7984         * elmo-util.el: Doc fixes.
7985
7986 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7987
7988         * elmo-archive.el (toplevel): Use product-provide.
7989         * elmo-cache.el (toplevel): Ditto.
7990         * elmo-database.el (toplevel): Ditto.
7991         * elmo-date.el (toplevel): Ditto.
7992         * elmo-dop.el (toplevel): Ditto.
7993         * elmo-filter.el (toplevel): Ditto.
7994         * elmo-imap4.el (toplevel): Ditto.
7995         * elmo-internal.el (toplevel): Ditto.
7996         * elmo-localdir.el (toplevel): Ditto.
7997         * elmo-localnews.el (toplevel): Ditto.
7998         * elmo-maildir.el (toplevel): Ditto.
7999         * elmo-msgdb.el (toplevel): Ditto.
8000         * elmo-multi.el (toplevel): Ditto.
8001         * elmo-net.el (toplevel): Ditto.
8002         * elmo-nntp.el (toplevel): Ditto.
8003         * elmo-pipe.el (toplevel): Ditto.
8004         * elmo-pop3.el (toplevel): Ditto.
8005         * elmo-util.el (toplevel): Ditto.
8006         * elmo-vars.el (toplevel): Ditto.
8007         * elmo2.el (toplevel): Ditto.
8008         * mmelmo-1.el (toplevel): Ditto.
8009         * mmelmo-2.el (toplevel): Ditto.
8010         * mmelmo-imap4-1.el (toplevel): Ditto.
8011         * mmelmo-imap4-2.el (toplevel): Ditto.
8012         * mmelmo-imap4.el (toplevel): Ditto.
8013         * mmelmo.el (toplevel): Ditto.
8014
8015 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8016
8017         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8018         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8019
8020 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8021
8022         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8023         before splitting.
8024         (elmo-multi-split-number-alist): Ditto.
8025
8026 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8027
8028         * elmo-version.el: New file.  Use product.el.
8029         * elmo2.el: Add (require 'elmo-version).
8030         * elmo-vars.el (elmo-appname, elmo-version): Move to
8031         elmo-version.el
8032
8033 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8034
8035         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8036         `elmo-msgdb-expand-path'.
8037         (elmo-msgdb-load): Ditto.
8038         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8039         (elmo-generic-list-folder-unread): Rewrite.
8040         (elmo-generic-list-folder-important): Changed argument.
8041         (elmo-list-folder-unread): Ditto.
8042         (elmo-list-folder-important): Ditto.
8043         (elmo-folder-diff): Rewrite.
8044         (elmo-generic-folder-diff): New function.
8045         (elmo-multi-get-number-alist-list): Abolished
8046         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8047         (elmo-multi-folder-diff): Moved to elmo-multi.el
8048         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8049
8050         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8051         `elmo-msgdb-expand-path'.
8052         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8053         (elmo-pop3-read-msg): Ditto.
8054         (elmo-pop3-delete-msgs): Ditto.
8055         (elmo-pop3-folder-diff): New alias.
8056
8057         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8058         `elmo-msgdb-expand-path'.
8059         (elmo-pipe-list-folder-unread): Changed arguments.
8060         (elmo-pipe-list-folder-important): Ditto.
8061         (elmo-pipe-folder-diff): New alias.
8062
8063         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8064         `elmo-msgdb-expand-path'.
8065         (elmo-nntp-max-of-folder): Ditto.
8066         (elmo-nntp-msgdb-create): Ditto.
8067         (elmo-nntp-delete-msgs): Ditto.
8068         (elmo-nntp-folder-diff): New alias.
8069
8070         * elmo-multi.el (elmo-multi-folder-diff): New function.
8071         (elmo-multi-split-mark-alist): Ditto.
8072         (elmo-multi-split-number-alist): Ditto.
8073         (elmo-multi-mark-alist-list): Abolished (Renamed to
8074         elmo-multi-split-mark-alist).
8075         (elmo-multi-list-folder-unread): Rewrite.
8076         (elmo-multi-list-folder-important): Ditto.
8077         (elmo-multi-list-folder): Set `spec' as 1st argument for
8078         `elmo-msgdb-expand-path'.
8079         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8080         instead of `elmo-multi-get-number-alist-list'.
8081
8082         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8083         If 1st argument is not string, treat as spec.
8084         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8085         `elmo-msgdb-expand-path'.
8086         (elmo-msgdb-flist-load): Ditto.
8087         (elmo-msgdb-flist-save): Ditto.
8088         (elmo-msgdb-delete-path): Ditto.
8089         (elmo-msgdb-rename-path): Ditto.
8090
8091         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8092         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8093         (elmo-maildir-delete-mark-msgs): Ditto.
8094         (elmo-maildir-msgdb-create): Ditto.
8095         (elmo-maildir-read-msg): Ditto.
8096         (elmo-maildir-delete-msgs): Ditto.
8097         (elmo-maildir-list-folder-subr): Ditto.
8098         (elmo-maildir-search): Ditto.
8099         (elmo-maildir-get-msg-filename): Ditto.
8100         (elmo-maildir-pack-number): Ditto.
8101         (elmo-maildir-folder-diff): New alias.
8102
8103         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8104
8105         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8106         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8107         (elmo-localdir-folder-diff): New alias.
8108
8109         * elmo-internal.el (elmo-internal-list-folder-subr):
8110         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8111         (elmo-internal-list-folder-by-location): Ditto.
8112         (elmo-internal-msgdb-create): Ditto.
8113         (elmo-internal-delete-msgs): Ditto.
8114         (elmo-internal-read-msg): Ditto.
8115         (elmo-internal-folder-diff): New alias.
8116
8117         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8118         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8119         `elmo-msgdb-expand-path'.
8120         (elmo-imap4-list-folder-unread): Changed arguments.
8121         (elmo-imap4-list-folder-important): Ditto.
8122
8123         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8124         (elmo-filter-list-folder-important): Ditto.
8125         (elmo-filter-folder-diff): New function.
8126
8127         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8128
8129         * elmo-cache.el (elmo-cache-list-folder):
8130         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8131         (elmo-cache-copy-msgs): Ditto.
8132         (elmo-cache-folder-diff): New alias.
8133
8134         * elmo-archive.el (elmo-archive-list-folder-subr):
8135         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8136         (elmo-archive-get-archive-name): Ditto.
8137         (elmo-archive-create-file): Ditto.
8138         (elmo-archive-append-msg): Ditto.
8139         (elmo-archive-copy-msgs): Ditto.
8140         (elmo-archive-copy-msgs-froms): Ditto.
8141         (elmo-archive-get-msg-filename): Ditto.
8142         (elmo-archive-folder-diff): New alias.
8143
8144 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8145
8146         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8147         (elmo-pop3-stream-type-alist): New variable.
8148         (elmo-nntp-stream-type-alist): New variable.
8149
8150         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8151         (elmo-kill-buffer): Ditto.
8152         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8153         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8154         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8155         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8156         (elmo-imap4-get-spec): Take into account
8157         `elmo-imap4-stream-type-alist'.
8158
8159 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8160
8161         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8162         (elmo-nntp-list-folders-get-cache): Ditto.
8163
8164 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8165
8166         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8167         character before 'uid'.
8168
8169 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8170
8171         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8172
8173         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8174
8175         * elmo-util.el (elmo-number-set-member): New function.
8176         (elmo-number-set-append-list): Ditto.
8177         (elmo-number-set-append): Ditto.
8178
8179         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8180         Use `elmo-number-set-member'.
8181         (elmo-living-messages): Ditto.
8182         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8183         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8184
8185         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8186         (elmo-imap4-add-to-cont-list): Abolished.
8187         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8188         instead of elmo-imap4-add-to-cont-list.
8189
8190         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8191         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8192
8193         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8194
8195 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8196
8197         * elmo-util.el (elmo-condition-parse-search-value):
8198         Fixed date parsing.
8199
8200 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8201
8202         * elmo-util.el (elmo-condition-find-key-internal): New function.
8203         (elmo-condition-find-key): Ditto.
8204
8205         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8206         (elmo-msgdb-search-internal): Ditto.
8207         (elmo-msgdb-search): Ditto.
8208
8209 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8210
8211         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8212         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8213
8214         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8215         (elmo-nntp-search-primitive): Fixed problem when condition is
8216         'unmatch'.
8217
8218         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8219
8220         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8221         (elmo-nntp-xhdr-p): New macro.
8222         (elmo-nntp-set-xhdr): Ditto.
8223         (elmo-nntp-parse-xhdr-response): New function.
8224         (elmo-nntp-retrieve-field): Ditto.
8225         (elmo-nntp-search-primitive): Ditto.
8226         (elmo-nntp-search): Implemented.
8227
8228         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8229
8230         * elmo-archive.el (elmo-archive-search): Set all number list to
8231         `elmo-archive-field-condition-match'
8232
8233         * elmo-localdir.el (elmo-localdir-search): Likewise.
8234
8235         * elmo-maildir.el (elmo-maildir-search): Likewise.
8236
8237 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8238
8239         * elmo-msgdb.el (elmo-living-messages): New function.
8240         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8241         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8242         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8243         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8244         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8245         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8246         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8247         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8248         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8249         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8250         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8251
8252 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8253
8254         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8255
8256         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8257
8258         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8259
8260         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8261         arguments for `SEARCH' command.
8262         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8263         All other related portions are changed.
8264
8265         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8266
8267         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8268         (elmo-list-folder-unread): Rewrite.
8269         (elmo-list-folder-important): Ditto.
8270
8271         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8272         (elmo-condition-parse-error): New inline function.
8273         (elmo-read-search-condition): New function.
8274         (elmo-read-search-condition-internal): Ditto.
8275         (elmo-parse-search-condition): Rewrite.
8276         (elmo-condition-parse): New function.
8277         (elmo-condition-parse-or-expr): Ditto.
8278         (elmo-condition-parse-and-expr): Ditto.
8279         (elmo-condition-parse-primitive): Ditto.
8280         (elmo-condition-parse-search-value): Ditto.
8281         (elmo-buffer-field-primitive-condition-match): Ditto.
8282         (elmo-buffer-field-condition-match): Rewrite.
8283         (elmo-file-field-condition-match): Ditto.
8284
8285         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8286         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8287
8288         * elmo-internal.el (elmo-internal-search): Set `number' and
8289         `number-list' argument of `elmo-file-field-condition-match'.
8290
8291         * elmo-maildir.el (elmo-maildir-search): Ditto.
8292
8293         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8294         `msgdb' as argument instead of `mark-alist'.
8295         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8296         `overview'.
8297
8298         * elmo-multi.el: Likewise.
8299
8300         * elmo-pipe.el: Likewise.
8301
8302         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8303         (elmo-imap4-search-internal): Rewrite.
8304         (elmo-imap4-search): Ditto.
8305
8306         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8307         (elmo-filter-list-folder-unread): Ditto.
8308         (elmo-filter-list-folder-important): Ditto.
8309         (elmo-filter-search): Rewrite.
8310
8311         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8312         `number-list' argument of `elmo-file-field-condition-match'.
8313         (elmo-cache-search): Ditto.
8314
8315         * elmo-localdir.el: Likewise.
8316
8317         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8318         number-list and pass it to `elmo-buffer-field-condition-match'.
8319         (elmo-archive-field-condition-match): Pass `number-list' to
8320         `elmo-archive-field-condition-match'
8321
8322 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8323
8324         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8325         `listgroup'.
8326
8327         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8328         (elmo-folder-diff-async-callback-data): Ditto.
8329         (elmo-folder-diff-async): New function.
8330
8331         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8332         (elmo-network-session-cache-key): Use it as a prefix of the session
8333         name.
8334         (elmo-network-open-session): Ditto.
8335
8336         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8337         (elmo-imap4-status-callback-data): Ditto.
8338         (elmo-imap4-server-diff-async-callback): New variable.
8339         (elmo-imap4-server-diff-async-callback-data): Ditto.
8340         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8341         `elmo-imap4-status-callback-data'.
8342         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8343         `elmo-imap4-status-callback-data' as nil.
8344         (elmo-imap4-server-diff): Ditto.
8345         (elmo-imap4-server-diff-async-callback-1): New function.
8346         (elmo-imap4-server-diff-async): Ditto.
8347         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8348
8349 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8350
8351         * elmo-util.el (elmo-list-delete): Doc fix.
8352         (elmo-delete-lists): Abolish.
8353         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8354         instead of `elmo-delete-lists'.
8355
8356 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8357
8358         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8359         before `sort'.
8360
8361 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8362
8363         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8364         `elmo-imap4-literal-subr'.
8365         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8366         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8367
8368 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8369
8370         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8371         (elmo-archive-list-folder): Fix.
8372         (elmo-archive-max-of-folder): Fix.
8373
8374 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8375
8376         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8377          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8378         (elmo-localdir-append-msg): Ditto.
8379         (elmo-localdir-list-folder): Fix for `nonsort'.
8380         (elmo-localdir-list-folder-subr): Fix for `killed'.
8381         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8382         (elmo-maildir-list-folder-subr): Ditto.
8383         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8384         (elmo-archive-list-folder-subr): Ditto.
8385         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8386         (elmo-internal-list-folder-subr): Ditto.
8387
8388 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8389
8390         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8391
8392 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8393
8394         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8395
8396 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8397
8398         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8399         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8400
8401         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8402         before greeting.
8403         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8404         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8405
8406 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8407
8408         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8409
8410         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8411         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8412         before STORE command.
8413
8414 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8415
8416         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8417
8418         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8419         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8420         of `response'.
8421         (elmo-imap4-list-folders): Removed unused local variable.
8422         (elmo-network-initialize-session): Ditto.
8423         (elmo-imap4-delete-msg-by-id): Ditto.
8424         (elmo-imap4-parse-fetch): Ditto.
8425         (elmo-imap4-copy-msgs): Ditto.
8426         Use `dst-spec' instead of `dst-folder'.
8427         (elmo-network-authenticate-session): Check authenticate type `plain'.
8428
8429 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8430
8431         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8432         garbage checking.
8433         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8434         `elmo-imap4-response-value'.
8435         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8436
8437 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8438
8439         * elmo-imap4.el (elmo-imap4-send-command):
8440         Cause elmo-imap4-bye-error when current response is BYE.
8441         (elmo-imap4-arrival-filter): Changed greeting response value.
8442
8443         * elmo2.el (elmo-imap4-bye-error): Define.
8444
8445         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8446         (elmo-imap4-server-diff): Ditto.
8447         (elmo-imap4-response-bye-p): New macro.
8448         (elmo-imap4-response-error-text): Get text from BYE response.
8449         (elmo-imap4-read-response): Return if BYE response.
8450         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8451         (elmo-imap4-folder-exists-p): Ditto.
8452         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8453         (elmo-imap4-parse-bye): New function.
8454         (elmo-imap4-parse-response): Remove needless let.
8455         Call `elmo-imap4-parse-bye'.
8456
8457 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8458
8459         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8460         the mailbox does not exist.
8461         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8462
8463 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8464
8465         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8466
8467 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8468
8469         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8470
8471         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8472         (elmo-network-initialize-session-buffer): Defined.
8473
8474         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8475         Abolished.
8476         (mmelmo-imap4-get-mime-entity): Rewrite.
8477
8478         * elmo2.el (elmo-error): Capitalize error message.
8479
8480         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8481         (elmo-network-session-buffer): New macro.
8482         (elmo-network-open-session): Use it.
8483
8484         * elmo-imap4.el: Rewrite.
8485
8486 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8487
8488         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8489
8490 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8491
8492         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8493         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8494         (elmo-imap4-create-msgdb-from-overview-string): Use
8495         `elmo-msgdb-create-overview-from-buffer'.
8496
8497 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8498
8499         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8500         (elmo-imap4-default-hierarchy-delimiter): New variable.
8501         (elmo-imap4-list-folders): Use it.
8502
8503 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8504
8505         * elmo-net.el (elmo-network-open-session): Add user and
8506         stream-type for process-buffer name.
8507
8508         * elmo-pop3.el (elmo-network-initialize-session): Call
8509         buffer-disable-undo.
8510
8511         * elmo-imap4.el (elmo-network-initialize-session):
8512         Set current-buffer as an argument for `buffer-disable-undo'.
8513
8514         * elmo-pop3.el (elmo-network-close-session): Don't use
8515         `process-live-p'.
8516
8517         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8518         Set default as 'user.
8519
8520         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8521
8522         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8523         and `elmo-imap4-flush-connection'.
8524
8525         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8526         (elmo-pop3-get-spec): Assume auth as symbol.
8527         (elmo-open-network-stream): Moved to `elmo-net'.
8528
8529         * elmo-pop3.el (toplevel): Require 'elmo-net.
8530         Define `sasl-cram-md5' to silence byte compilier.
8531         (elmo-pop3-connection-cache) Abolished.
8532         (elmo-pop3-authenticator-alist) New variable.
8533         (elmo-pop3-session): Define.
8534         (elmo-pop3-connection-get-process): Abolished.
8535         (elmo-pop3-connection-get-buffer): Ditto.
8536         (elmo-pop3-close-connection): Ditto.
8537         (elmo-pop3-flush-connection): Ditto.
8538         (elmo-pop3-get-connection): Ditto.
8539         (elmo-pop3-get-session): New function.
8540         (Replacement for `elmo-pop3-get-connection').
8541         All other related modules are changed.
8542         (elmo-network-close-session): Define.
8543         (elmo-pop3-send-command): Abolished argument `buffer'.
8544         All other related modules are changed.
8545         (elmo-pop3-read-response): Likewise.
8546         (elmo-pop3-open-connection): Abolished.
8547         (elmo-pop3-auth-user): New function.
8548         (elmo-pop3-auth-apop): Ditto.
8549         (elmo-pop3-auth-cram-md5): Ditto.
8550         (elmo-pop3-auth-scram-md5): Ditto.
8551         (elmo-pop3-auth-digest-md5): Ditto.
8552         (elmo-network-initialize-session): Define.
8553         (elmo-network-authenticate-session): Ditto.
8554         (elmo-network-setup-session): Ditto.
8555
8556         * elmo-imap4.el (toplevel): Require 'elmo-net.
8557         (elmo-imap4-session): Define.
8558         (elmo-imap4-connection-cache): Abolished.
8559         (elmo-imap4-password-key): Ditto.
8560         (elmo-imap4-flush-connection): Ditto.
8561         (elmo-imap4-get-connection): Ditto.
8562         All other related modules are changed.
8563         (elmo-imap4-get-session): New function
8564         (Replacement for `elmo-imap4-get-connection').
8565         (elmo-imap4-read-response): Abolished argument `buffer'.
8566         All other related modules are changed.
8567         (elmo-imap4-send-command): Likewise.
8568         (elmo-imap4-select-folder): Abolished.
8569         All other related modules are changed.
8570         (elmo-imap4-select-mailbox): New function.
8571         (Replacement for `elmo-imap4-select-folder').
8572         (elmo-imap4-auth-login): Simplify.
8573         (Assume current buffer as process buffer)
8574         (elmo-imap4-auth-cram-md5): Ditto.
8575         (elmo-imap4-auth-digest-md5): Ditto.
8576         (elmo-imap4-login): Ditto.
8577         (elmo-imap4-open-connection): Abolished.
8578         (elmo-imap4-open-connection-1): Abolished.
8579         (elmo-network-initialize-sessoin): Define.
8580         (elmo-network-authenticate-session): Ditto.
8581         (elmo-network-setup-session): Ditto.
8582
8583         * elmo-net.el: New module.
8584
8585 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8586
8587         * elmo-util.el (elmo-define-error): New function.
8588
8589         * elmo2.el (elmo-error): Define.
8590         (elmo-open-error): Define.
8591         (elmo-authenticate-error): Define.
8592
8593         * elmo-imap4.el (elmo-imap4-error): Abolish.
8594         (elmo-imap4-error-type): Abolish.
8595         (elmo-imap4-error-process): Abolish.
8596         (elmo-imap4-error-message): Abolish
8597         (elmo-imap4-list-folders): Don't quote lambda.
8598         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8599         (elmo-imap4-parse-namespace): Ditto.
8600         (elmo-imap4-open-connection): Rewrite.
8601         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8602         (elmo-imap4-get-connection): Abolish local variable `result'.
8603
8604 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8605
8606         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8607         wrong-type-argument error when auth is nil.
8608
8609 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8610
8611         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8612         (elmo-default-nntp-stream-type): Ditto.
8613         (elmo-default-pop3-stream-type): Ditto.
8614         (elmo-network-stream-type-alist): Ditto.
8615         (elmo-default-imap4-ssl): Abolished.
8616         (elmo-default-nntp-ssl): Ditto.
8617         (elmo-default-pop3-ssl): Ditto.
8618
8619         * elmo-util.el: (toplevel): Removed needless requires.
8620         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8621         (elmo-open-network-stream): Open network stream according to
8622         the value of `elmo-network-stream-type-alist'.
8623         (elmo-get-network-stream-type): New function.
8624         (elmo-network-stream-type-spec-string): New macro.
8625         (elmo-network-stream-type-symbol): Ditto.
8626         (elmo-network-stream-type-function): Ditto.
8627
8628         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8629         network-stream-type. All other related portions are changed.
8630         (elmo-pop3-open-connection): Ditto.
8631
8632         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8633         network-stream-type. All other related portions are changed.
8634
8635         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8636         network-stream-type.All other related portions are changed.
8637         (elmo-imap4-error): New macro.
8638         (elmo-imap4-error-type): Ditto.
8639         (elmo-imap4-error-process): Ditto.
8640         (elmo-imap4-error-message): Ditto.
8641         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8642         (elmo-imap4-auth-cram-md5): Ditto.
8643         (elmo-imap4-auth-digest-md5): Ditto.
8644         (elmo-imap4-login): Ditto.
8645         (elmo-imap4-open-connection): Remove password entry if authentication
8646         was in vain.
8647         (elmo-imap4-user-at-host): Abolished.
8648         (elmo-imap4-password-key): New buffer local variable.
8649         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8650         using protocol, port, auth and stream-type.
8651
8652         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8653
8654 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8655
8656         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8657
8658         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8659
8660         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8661         (elmo-imap4-authenticator-alist): New variable.
8662         (elmo-imap4-open-connection-1): Rename from
8663         elmo-imap4-open-connection.
8664         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8665         only wraps elmo-imap4-open-connection-1.
8666         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8667         user-at-host.
8668         (elmo-imap4-auth-login): New function.
8669         (elmo-imap4-auth-cram-md5): New function.
8670         (elmo-imap4-auth-digest-md5): New function.
8671         (elmo-imap4-login): New function.
8672
8673 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8674
8675         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8676         function `error'.
8677
8678 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8679
8680         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8681
8682 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8683
8684         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8685
8686 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8687
8688         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8689         for server responses, quote `*' regardless of where it appears.
8690
8691 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8692
8693         * elmo-maildir.el (elmo-maildir-commit): New alias.
8694
8695 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8696
8697         * elmo-util.el (elmo-display-progress):
8698                 Use `progress-feedback-with-label'.
8699
8700 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8701
8702         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8703         (elmo-imap4-non-atom-char-regex): Ditto.
8704         (elmo-imap4-non-text-char-regex): Ditto.
8705         (elmo-imap4-literal-threshold): Ditto.
8706         (elmo-imap4-atom-p): New function.
8707         (elmo-imap4-quotable-p): Ditto.
8708         (elmo-imap4-nil): Ditto.
8709         (elmo-imap4-atom): Ditto.
8710         (elmo-imap4-quoted): Ditto.
8711         (elmo-imap4-literal-subr): Ditto.
8712         (elmo-imap4-literal): Ditto.
8713         (elmo-imap4-buffer-literal): Ditto.
8714         (elmo-imap4-string-subr): Ditto.
8715         (elmo-imap4-string): Ditto.
8716         (elmo-imap4-buffer-string): Ditto.
8717         (elmo-imap4-astring-subr): Ditto.
8718         (elmo-imap4-astring): Ditto.
8719         (elmo-imap4-buffer-astring): Ditto.
8720         (elmo-imap4-nstring): Ditto.
8721         (elmo-imap4-buffer-nstring): Ditto.
8722         (elmo-imap4-mailbox): New alias.
8723         (elmo-imap4-field-body): Ditto.
8724         (elmo-imap4-userid): Ditto.
8725         (elmo-imap4-password): Ditto.
8726         (elmo-imap4-format-quoted): New function.
8727         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8728         arguments and handle "atom", "quoted" and "literal" string here.
8729         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8730         `elmo-imap4-send-command'.
8731         (elmo-imap4-folder-exists-p): Likewise.
8732         (elmo-imap4-create-folder): Likewise.
8733         (elmo-imap4-delete-folder): Likewise.
8734         (elmo-imap4-rename-folder): Likewise.
8735         (elmo-imap4-max-of-folder): Likewise.
8736         (elmo-imap4-check-validity): Likewise.
8737         (elmo-imap4-sync-validity): Likewise.
8738         (elmo-imap4-server-diff): Likewise.
8739         (elmo-imap4-select-folder): Likewise.
8740         (elmo-imap4-copy-msgs): Likewise.
8741         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8742         (elmo-imap4-mark-set-on-msgs): Likewise.
8743         (elmo-imap4-read-part): Likewise.
8744         (elmo-imap4-read-msg): Likewise.
8745         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8746         `elmo-imap4-password' for `elmo-imap4-send-command'.
8747         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8748         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8749         `elmo-imap4-buffer-literal'.
8750         (elmo-imap4-append-msg): Likewise.
8751
8752         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8753         `delete' for removing dead connection from the connection cache.
8754         Move deletion of the process buffer after that.
8755         (elmo-imap4-list): Change `defsubst' to `defun'.
8756         (elmo-imap4-commit): Make error message verbose.
8757         (elmo-imap4-search): Ditto.
8758         (elmo-imap4-list): Ditto.
8759         (elmo-imap4-select-folder): Ditto.
8760         (elmo-imap4-copy-msgs): Ditto.
8761         (elmo-imap4-delete-msg-by-id): Ditto.
8762         (elmo-imap4-append-msg-by-id): Ditto.
8763         (elmo-imap4-append-msg): Ditto.
8764
8765 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8766
8767         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8768         when dired is used on XEmacs.
8769
8770 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8771
8772         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8773         instead of `append'.
8774         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8775         `elmo-plugged-p' directly.
8776         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8777         of `elmo-plugged-p' directly.
8778
8779         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8780         Eliminate unused variable.  Use `memq' for checking a process status.
8781         Use `cons' instead of `append' for updating the connection cache.
8782         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8783         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8784
8785 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8786
8787         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8788         `elmo-imap4-read-point' exactly.
8789
8790         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8791         the local variable `folder' to `mailbox'.
8792         Rename the argument `fld' to `folder'.
8793
8794 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8795
8796         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8797         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8798
8799 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8800
8801         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8802         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8803         (elmo-pop3-uidl-number-hash): Ditto.
8804         (elmo-pop3-size-hash): Ditto.
8805         (elmo-pop3-uidl-done): Ditto.
8806         (elmo-pop3-list-done): Ditto.
8807         (elmo-pop3-connection-get-process): New defmacro.
8808         (elmo-pop3-connection-get-buffer): Ditto.
8809         (elmo-pop3-close-connection): Delete buffer and process.
8810         (elmo-pop3-flush-connection): Don't delete buffer and process.
8811         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8812         Setup UIDL and size hash.
8813         (elmo-pop3-send-command-no-erase): Deleted
8814         (elmo-pop3-send-command): Added optional argument `no-erase'.
8815         (elmo-pop3-parse-uidl-response): New function.
8816         (elmo-pop3-parse-list-response): Set size hash.
8817         (elmo-pop3-list-location): New function.
8818         (elmo-pop3-list-by-uidl-subr): Ditto.
8819         (elmo-pop3-list-by-list): Ditto.
8820         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8821         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8822         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8823         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8824         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8825         Use uidl.
8826         (elmo-pop3-uidl-to-number): New function.
8827         (elmo-pop3-number-to-uidl): Ditto.
8828         (elmo-pop3-number-to-size): Ditto.
8829         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8830         Set number by use of uidl.
8831         (elmo-pop3-msgdb-create-message): Likewise.
8832         Set size, loc-alist in msgdb.
8833         (elmo-pop3-read-msg): Set number by use of uidl.
8834         Added optional argument `msgdb'.
8835         (elmo-pop3-delete-msg): Ditto.
8836         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8837         (elmo-pop3-commit): Close connection.
8838
8839         * elmo-pipe.el (elmo-pipe-max-of-folder):
8840         Bind `elmo-pop3-use-uidl' as nil.
8841         (elmo-pipe-drain): Ditto.
8842         Call `elmo-commit'.
8843
8844         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8845         (elmo-msgdb-overview-entity-set-size): New defsubst.
8846
8847 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8848
8849         * elmo-vars.el (elmo-use-killed-list): New variable
8850         (Renamed from `elmo-nntp-use-killed-list').
8851         (elmo-nntp-use-killed-list): Eliminated.
8852
8853         * elmo-msgdb.el (elmo-msgdb-expand-path):
8854         Changed expanding msgdb path for elmo-multi.
8855
8856         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8857         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8858         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8859         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8860         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8861         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8862         (toplevel): Deleted time-stamp line.
8863
8864         * elmo2.el (elmo-clear-killed ): Defined as function
8865         (Abolished defining as a backend function).
8866         All other related modules are changed.
8867
8868 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8869
8870         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8871
8872 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8873
8874         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8875
8876 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8877
8878         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8879
8880 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8881
8882         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8883         asynchronous folder check.
8884
8885         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8886
8887         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8888         `elmo-nntp-use-killed-list'.
8889         (elmo-nntp-list-folder): Use killed list.
8890         (elmo-nntp-max-of-folder): Ditto.
8891         (elmo-nntp-msgdb-create): Set killed list.
8892
8893         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8894
8895         * elmo2.el (elmo-clear-killed): New backend function.
8896         All other related modules are changed.
8897
8898 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8899
8900         * elmo-util.el (elmo-imap4-spec-folder): Use
8901         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8902         All callers changed.
8903
8904 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8905
8906         * mmelmo-2.el (initialize-instance):
8907         Use `mime-buffer-entity-buffer-internal' instead of
8908         `mime-entity-buffer'.
8909
8910         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8911         (mime-entity-body): Implemented.
8912         (mime-goto-header-start-point): Deleted.
8913         (mime-goto-body-end-point): Ditto.
8914         (mime-entity-point-min): Ditto.
8915         (mime-entity-point-max): Ditto.
8916         (mime-entity-children): Ditto.
8917         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8918         instead of `mime-entity-buffer'.
8919         (mime-entity-header-buffer): Ditto.
8920         (mime-entity-body-buffer): Ditto.
8921         (mime-write-entity-content): Ditto.
8922
8923         * pldap.el (ldap-static-if): New macro.
8924         (toplevel): Use it instead of `static-if'.
8925
8926 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8927
8928         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8929         included in `attrs' argument.
8930
8931 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8932
8933         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8934
8935         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8936         (ldap-ldif-safe-init-char-regexp): Ditto.
8937         (ldap-ldif-safe-string-regexp): Ditto.
8938         (ldap/ldif-safe-string-p): New macro.
8939         (ldap/ldif-insert-field): Ditto.
8940         (ldap-modify): Use it.
8941         (ldap-add): Ditto.
8942         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8943         (ldap-decode-attribute): Decode only when `attr' is consp.
8944         (ldap-delete): Bind `ret'.
8945         (toplevel): Require 'cl at compile time.
8946         Removed (require 'poe) and (require 'std11).
8947         (pldap-version): Eliminated.
8948         (ldap-search-basic): Removed auth and dn binding.
8949         (ldap-ldif-field-name-regexp): New constant.
8950         (ldap-ldif-field-head-regexp): Ditto.
8951         (ldap-ldif-next-field-head-regexp): Ditto.
8952         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8953         (ldap/field-end): New function.
8954         (ldap/field-body): Use it.
8955         (ldap/collect-field): Ditto.
8956         (ldap-search-basic): Use `ldap/field-body'.
8957
8958 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8959
8960         * pldap.el (ldap-default-attribute-encoder): New user option.
8961         (ldap/field-body): Decode base64 string.
8962         (ldap/collect-field): Ditto.
8963         (ldap-encode-attribute): New function.
8964         (ldap-add-entries): Use it.
8965         (ldap-modify-entries): Ditto.
8966         (ldap-search-entries): Enclosed decoding function with
8967         `with-temp-buffer' and set as unibyte.
8968         (ldap-search-basic): Set process buffer as unibyte.
8969
8970         * elmo-util.el (elmo-folder-identical-system-p):
8971         Eliminated name space checking.
8972
8973         * pldap.el: New module.
8974         toplevel: Changed condition to detect built-in ldap feature.
8975         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8976         (ldap-add): Added error handling.
8977         (ldap-modify): Ditto.
8978         (ldap-delete): Ditto.
8979
8980 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8981
8982         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8983         Initialize local variables with `let'.  Inline a temporary
8984         variable for the progress percentage.  Sort `setq' to reduce
8985         function call in the while-loop.
8986
8987         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8988         into the conditional branch.
8989
8990 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8991
8992         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8993         Move a conditional out of the while-loop.
8994
8995 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8996
8997         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8998         elmo-msgdb-overview-get-entity-by-number.
8999         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9000         throw.
9001
9002 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9003
9004         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9005         the local variable for a packed number self descriptively.
9006
9007 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9008
9009         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9010         * elmo-localdir.el (elmo-localdir-pack-number): Use
9011         `elmo-msgdb-overview-get-entity' instead of
9012         `elmo-msgdb-overview-get-entity-by-number'.
9013         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9014         (elmo-msgdb-search-overview-entity): Removed.
9015         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9016         by message-id or number.
9017         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9018         instead of `elmo-msgdb-overview-get-entity-by-number'.
9019
9020 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9021
9022         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9023         non-nil, use hash table for overview.
9024         (elmo-hash-maximum-size): New variable.
9025         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9026         (elmo-msgdb-make-overview-hashtb): New function.
9027         (elmo-msgdb-clear-overview-hashtb): New function.
9028         (elmo-clear-hash-val): New macro.
9029         All other related modules are changed.
9030
9031 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9032
9033         * elmo2.el (elmo-move-msgs): If there's other message with
9034         same message-id, don't use cache.
9035
9036 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9037
9038         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9039         number is already packed.
9040
9041 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9042
9043         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9044
9045 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9046
9047         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9048         All other related modules are changed.
9049
9050 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9051
9052         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9053         of refiling failure on Maildir.
9054
9055 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9056
9057         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9058         decoded mime-charset with cache.
9059         (elmo-msgdb-overview-entity-get-from): Ditto.
9060         (elmo-msgdb-overview-entity-get-subject): Ditto.
9061         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9062
9063 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9064
9065         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9066         (elmo-remove-passwd): Fill password with 0 before erase.
9067         * elmo-vars.el (elmo-passwd-life-time): New variable.
9068
9069 \f
9070 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9071
9072         * elmo-cache.el (elmo-buffer-cache-add):
9073         Set message cache buffer as unibyte.
9074
9075 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9076
9077         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9078         become nil.
9079
9080 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9081
9082         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9083         when display is finished.
9084         (elmo-nntp-msgdb-create): Ditto.
9085         (elmo-nntp-groups-read-response): Ditto.
9086         (elmo-nntp-retrieve-headers): Ditto.
9087         (elmo-nntp-msgdb-create-message): Ditto.
9088         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9089         (elmo-pop3-msgdb-create-message): Ditto.
9090
9091 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9092
9093         * elmo-maildir.el (elmo-maildir-msgdb-create):
9094         Use `elmo-msgdb-sort-by-date'.
9095
9096 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9097
9098         * elmo2.el (elmo-read-msg-no-cache):
9099         Eliminated arguments after `outbuf'.
9100         Don't use cache even if it exists.
9101         (elmo-read-msg): Don't pass arguments after `outbuf' to
9102         `elmo-read-msg-no-cache'.
9103
9104 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9105
9106         * elmo-archive.el (elmo-archive-list-folders):
9107         Use `file-name-directory' if base folder does not exist.
9108
9109 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9110
9111         * elmo-archive.el (elmo-archive-list-folders): Don't use
9112         `file-name-directory'.
9113
9114 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9115
9116         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9117         If `force' is non-nil, try flushing all operation queues.
9118
9119 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9120
9121         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9122         as-binary-process.
9123
9124 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9125
9126         * elmo-util.el (elmo-display-progress): Fixed.
9127
9128 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9129
9130         * elmo-util.el (elmo-display-progress): New function.
9131         All other related modules are changed.