(elmo-imap4-session-capable-p): New macro.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
4         (elmo-imap4-send-command): Use it.
5         (elmo-network-initialize-session): Ditto.
6         (elmo-network-setup-session): Ditto.
7         (elmo-folder-msgdb-create-plugged): Ditto.
8
9 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
10
11         * elmo-util.el (elmo-progress-done): Fix a miss refer to
12         `elmo-progress-counter'.
13
14 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
15
16         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
17         (elsp-bsfilter-list-spam-filter): New function.
18         (elsp-bsfilter-start-list-spam): Ditto.
19         (elsp-bsfilter-read-list-spam): Ditto.
20         (elmo-spam-list-spam-messages): Use async process to display
21         progress message by each message.
22
23 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
24
25         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
26         of flushing previously inserted message contents.
27
28         * elmo-imap4.el (elmo-folder-search): Fix return value.
29
30 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
31
32         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
33         of reporter is enable or not.
34
35 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
36
37         * elmo-util.el (elmo-list-bigger-diff): Abolish.
38         (elmo-display-progress): Ditto.
39         (elmo-progress-counter-alist): Ditto.
40         (elmo-progress-set): Ditto.
41         (elmo-progress-clear): Ditto.
42         (elmo-progress-counter-all-value): Rename to
43         `elmo-progress-counter-total'.
44         (elmo-progress-counter-format): Rename to
45         `elmo-progress-counter-action'.
46         (elmo-progress-counter): New internal variable.
47         (elmo-progress-callback-function): Ditto.
48         (elmo-progress-counter-label): New function.
49         (elmo-progress-counter-set-total): Ditto.
50         (elmo-progress-counter-set-action): Ditto.
51         (elmo-progress-call-callback): Ditto.
52         (elmo-progress-start): Ditto.
53         (elmo-progress-done): Ditto.
54         (elmo-progress-notify): Rewrite.
55         (elmo-with-progress-display): Remove first argument
56         `condition'. Add optional argument `var' in `spec'.
57
58         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
59         (elmo-display-retrieval-progress-threshold): Ditto.
60         (elmo-inhibit-display-retrieval-progress): Ditto.
61
62         * Replace all pair of `elmo-progress-set' and
63         `elmo-progress-clear' into `elmo-with-progress-display'.
64
65         * Replace to call `elmo-display-progress' into pair of
66         `elmo-progress-notify' and `elmo-with-progress-display'.
67
68         * elmo-version.el (elmo-version): Up to 2.15.5.
69
70 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
71
72         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
73         `cond'.
74
75 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
76
77         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
78         cleanup-forms [wl:14027].
79
80 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
81
82         * elmo-flag.el (elmo-global-flag-set-internal): Use
83         `elmo-copy-file' by priority when the message is a file.
84
85 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
86
87         * elmo.el: Fix typo: disptch -> dispatch.
88
89 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
90
91         * elmo.el (elmo-file-tag): New class.
92         (elmo-append-messages-disptch-table): New constant.
93         (elmo-folder-type-p): New function.
94         (elmo-folder-append-messages): Redefine as function.
95
96         * elmo-null.el (elmo-folder-append-messages): Renamed from
97         `elmo-folder-append-messages'.
98
99         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
100         (elmo-folder-append-messages-*-maildir): Renamed from
101         `elmo-folder-append-messages'.
102
103         * elmo-localdir.el (elmo-localdir-folder): Inherit
104         `elmo-file-tag'.
105         (elmo-folder-append-messages-*-localdir): Renamed from
106         `elmo-folder-append-messages'.
107
108         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
109         from `elmo-folder-append-messages'.
110
111         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
112         `elmo-folder-append-messages'.
113
114         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
115         function.
116         (elmo-folder-append-messages-*-filter): Ditto.
117
118         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
119
120         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
121         (elmo-folder-append-messages-*-pipe): Renamed from
122         `elmo-folder-append-messages'.
123
124         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
125
126         * elmo-file.el (elmo-file-folder): Ditto.
127
128         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
129
130         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
131         from `elmo-folder-append-messages'
132
133 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
134
135         * elmo-map.el (elmo-location-map-setup): Change an argument
136         `locations' to optional.
137         (elmo-location-map-clear): Abolish.
138         (elmo-folder-clear): Follow the API change.
139
140         * elmo-pop3.el (elmo-folder-clear): Ditto.
141
142         * elmo-pop3.el (toplevel): Require elmo-map.
143         (elmo-pop3-folder): Inherit elmo-location-map and abolish
144         location-alist slot (All other related portions are changed).
145         (elmo-pop3-folder-use-uidl): New function.
146         (elmo-folder-msgdb-create): Don't sort message entities.
147         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
148         (elmo-pop3-number-to-size): Convert return value to number.
149         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
150         working buffer.
151
152         * elmo-map.el: Use `location-map' as a variable name for instance
153         instead of `mapper'.
154         (elmo-location-map-setup): Return location alist.
155         (elmo-location-map-update): Ditto.
156
157 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
158
159         * elmo-map.el (elmo-location-map): New class; split location and
160         number mapping from elmo-map-folder (All other related portions
161         are changed).
162
163         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
164         change.
165
166         * elmo-version.el (elmo-version): Up to 2.15.4.
167
168 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
169
170         * elmo-vars.el (elmo-use-hardlink): New user option.
171
172         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
173         `elmo-use-hardlink'.
174
175         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
176         killed-list.
177         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
178         instead of `*-internal'. Use `elmo-with-progress-display'.
179
180 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
181
182         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
183         `elmo-spam-process-messages-as-mbox'.
184
185         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
186
187 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
188
189         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
190         argument BUFFER of `call-process'.
191
192 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
193
194         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
195         args.
196         (elsp-bsfilter-list-spam-files): Ditto.
197
198 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
199
200         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
201         (elmo-spam-bsfilter-max-messages-per-process): New use option.
202         (elmo-spam-bsfilter-debug): Fix a group.
203         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
204         `--homedir'.
205         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
206         (elsp-bsfilter-list-spam-files): New function.
207         (elmo-spam-list-spam-messages): Define.
208         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
209         (elmo-spam-bsfilter-register-messages): New function.
210         (elmo-spam-register-spam-messages): Define.
211         (elmo-spam-register-good-messages): Ditto.
212
213         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
214
215         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
216         `nconc' and `consp'.
217
218 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
219
220         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
221         hash table to test whether a location is exists.
222
223 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
224
225         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
226         even if some error occurred.
227
228         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
229         meaningless unwind-protect.
230
231         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
232         start-number correctly.
233         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
234         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
235
236 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
237
238         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
239         (elmo-folder-initialize): Use it.
240         (elmo-global-flag-replace-referrer): New function.
241
242         * elmo.el (toplevel): Added autoload setting for
243         `elmo-global-flag-replace-referrer'.
244         (elmo-folder-rename): Rewrite the last change use
245         `elmo-global-flag-replace-referrer'.
246
247         * elmo-pipe.el (elmo-folder-rename): Call
248         `elmo-global-flag-replace-referrer'.
249
250 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
251
252         * elmo.el (elmo-folder-rename): Set meta data for global flags
253         follow the rename.
254
255 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
256
257         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
258         as 'not-loaded.
259         (elmo-folder-close): Ditto.
260         (elmo-filter-folder-number-list-loaded-p): New function.
261         (elmo-filter-folder-number-list): Check whether loaded or not.
262         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
263         of `elmo-filter-folder-number-list-internal'.
264         (elmo-folder-delete-messages): Ditto.
265         (elmo-folder-length): Check whether number-list is loaded or not.
266
267 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
268
269         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
270         field `real field' into each element of list.
271         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
272         (elmo-msgdb-message-entity-field): Ditto.
273         (modb-entity-ml-info-real-fields): New function.
274
275         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
276
277         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
278         `elmo-msgdb-extra-fields'.
279
280 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
281
282         * elmo-util.el (elmo-passwd-alist-load): Move point to min
283         position before read.
284
285 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
286
287         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
288         (elmo-global-flags-initialize): Ditto.
289
290 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
291
292         * elmo-archive.el (toplevel): Don't require emu, std11
293         and elmo-localdir.
294
295         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
296         definition.
297
298 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
299
300         * elmo.el (elmo-folder-confirm-appends): Display folder name.
301
302 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
303
304         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
305         literals.
306
307 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
308
309         * elmo-maildir.el (elmo-maildir-list-location): Reduce
310         `elmo-get-last-modification-time' call.
311
312 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
313
314         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
315         expression.
316         (elmo-maildir-set-mark): Ditto.
317         (elmo-maildir-delete-mark): Ditto.
318
319 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
320
321         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
322         optional argument `separators'.
323
324 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
325
326         * elmo.el (cache-changed): Abolish.
327         (status-changed): New signal.
328         (elmo-message-killed-p): New generic function and define for
329         elmo-folder.
330         (elmo-folder-recover-messages): Ditto.
331         (elmo-message-set-cached): Emit signal `status-changed' instead of
332         `cache-changed'.
333         (elmo-message-status): New macro.
334         (elmo-message-status-folder): Ditto.
335         (elmo-message-status-number): Ditto.
336         (elmo-message-status-set-flags): Ditto.
337         (elmo-message-status-set-killed): Ditto.
338         (elmo-message-status-flags): New function.
339         (elmo-message-status-cached-p): Ditto.
340         (elmo-message-status-killed-p): Ditto.
341
342         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
343         `status-changed' instead of `cache-changed'.
344         (elmo-folder-recover-messages): Define.
345         (elmo-message-killed-p): Ditto.
346
347         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
348         `status-changed' instead of `cache-changed'.
349
350         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
351         (elmo-message-killed-p): Define.
352         (elmo-folder-recover-messages): Ditto.
353
354         * elmo-version.el (elmo-version): Up to 2.15.3.
355
356 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
357
358         * elmo-signal.el (elmo-signal-bindings): Use cons to append
359         element into list.
360         (elmo-define-signal-handler): Add docstring.
361         (elmo-define-signal-filter): Ditto.
362
363         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
364
365 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
366
367         * elmo-util.el (elmo-flatten): Don't use recursive call.
368
369         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
370         assignment.
371         (elmo-folder-message-make-temp-files): Use `number-to-string'
372         instead of `int-to-string'.
373
374 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
375
376         * elmo-search.el (elmo-folder-delete-messages): Define.
377
378 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
379
380         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
381         customization type.
382         (elmo-mailing-list-count-spec-list): Ditto.
383
384         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
385         for `list-id'.
386
387 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
388
389         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
390         handling.
391
392 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
393
394         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
395         (elmo-mailing-list-count-spec-list): Ditto.
396
397         * elmo-util.el (elmo-map-until-success): New function.
398         (elmo-string-match-substring): Ditto.
399         (elmo-find-list-match-value): Ditto.
400
401         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
402         Removed.
403         (modb-entity-extract-ml-info-from-subject): Ditto.
404         (modb-entity-extract-ml-info-from-return-path): Ditto.
405         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
406         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
407         (modb-entity-extract-ml-info-from-mailman): Ditto.
408         (modb-entity-extract-mailing-list-info-functions): Ditto.
409         (modb-entity-extract-mailing-list-info): Rewrite with
410         `elmo-find-list-match-value'.
411
412 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
413
414         * elmo-net.el (elmo-network-session-retry-count): New user option.
415         (elmo-network-session-buffer-name): New internal function.
416         (elmo-network-session-buffer-create): Ditto.
417         (elmo-network-open-session): Retry open network session
418         `elmo-network-session-retry-count' times.
419
420 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
421
422         * elmo-util.el (elmo-list-filter): Rewritten.
423
424 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
425
426         * elmo-util.el (elmo-string-member): Allow symbol element in list.
427
428 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
429
430         * elmo-search.el (elmo-make-search-engine): Use prefix
431         `elmo-search-' for require symbol instead of `else-'.
432         (elmo-search-engine-extprog): New class.
433         (elmo-search-engine-do-search): Remove nil from argument
434         list. Added argument pattern to evaluate element as function.
435         (elmo-search-engine-local-file): Derived from
436         `elmo-search-engine-extprog'.
437         (elmo-search-engine-create-message-entity): Check existance of file.
438         (elmo-search-engine-fetch-message): Ditto.
439         (elmo-search-namazu-index): Follow the API change.
440         (elmo-search-grep-target): Ditto.
441
442 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
445         characters of working buffer.
446
447         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
448         Does not bind `default-mime-charset'.
449         (elmo-msgdb-create-message-entity-from-buffer): Removed
450         unnecessary local bind.
451
452         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
453         function.
454         (modb-entity-extract-mailing-list-info-functions): Added it.
455
456 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
457
458         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
459         when number and message-id are non-nil.
460
461         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
462
463         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
464         conditional steatment.
465         (elmo-pop3-auth-apop): Likewise.
466         (elmo-network-authenticate-session): Likewise.
467
468 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
469
470         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
471         symbol `fill-column'.
472         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
473         decode field value.
474
475         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
476         (elmo-decoded-field-body): Ditto.
477
478 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
479
480         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
481         `tokens' to `params'.
482
483 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
484
485         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
486         working buffer.
487
488 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
491         decide index.
492
493 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
496         Set default value as nil.
497         (toplevel): Register search engines by
498         `elmo-search-register-engine' if there are not defined.
499
500         * elmo.el (autoload): Added autoload setting for
501         `elmo-search-register-engine'.
502
503 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
504
505         * elmo.el (toplevel): `[' is redefined as the prefix of the search
506         folder instead of nmz folder.
507         (elmo-nmz-default-index-path): Added obsolete variable setting.
508         (elmo-nmz-index-alias-alist): Ditto.
509         (elmo-nmz-use-drive-letter): Ditto.
510
511         * elmo-search.el (elmo-search-register-engine): New function.
512
513         * elmo-nmz.el: Removed.
514
515         * elmo-version.el (elmo-version): Up to 2.15.2.
516
517 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
518
519         * elmo-search.el: New file.
520
521 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
522
523         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
524         condition `larger' and `smaller'.
525
526 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
527
528         * elmo-util.el (elmo-safe-filename): Rewrite to replace
529         `"' (double quote) into "_Q_".
530
531 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
532
533         * elmo-net.el (elmo-net-quote-chars): Abolish.
534         (elmo-net-format-quoted): Ditto.
535
536 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
537
538         * elmo.el (elmo-get-folder-function): New variable.
539         (elmo-get-folder): New function.
540         (elmo-folder-rename): Call `elmo-make-folder' with specified
541         mime-charset.
542
543         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
544         `elmo-make-folder'.
545         (elmo-split-subr): Ditto.
546
547         * elmo-multi.el (elmo-folder-initialize): Ditto.
548
549         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
550
551         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
552         (elmo-flag-get-folder): Ditto.
553
554         * elmo-filter.el (elmo-folder-initialize): Ditto.
555
556         * elmo-access.el (elmo-folder-initialize): Ditto.
557         (elmo-access-folder-update-children): Ditto.
558
559         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
560         (elmo-dop-queue-flush): Ditto.
561         (elmo-folder-append-buffer-dop-delayed): Ditto.
562         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
563         mime-charset.
564
565         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
566         instead of `elmo-make-folder'.
567         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
568         destination folder instead of send `elmo-folder-rename-internal'.
569
570         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
571         slot of subfolder instead of create it.
572
573 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
574
575         * elmo-util.el (elmo-collect-separators): New function.
576         (elmo-collect-separators-internal): Ditto.
577         (elmo-collect-trail-separators): Ditto.
578         (elmo-parse-separated-tokens): Ditto.
579         (elmo-parse-separated-tokens-internal): Ditto.
580         (elmo-quote-syntactical-element): Ditto.
581
582         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
583         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
584
585         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
586         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
587         (elmo-nntp-folder-list-subfolders): Quote a user name.
588
589         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
590         (elmo-net-parse-network): Abolish.
591         (elmo-net-folder-set-parameters): New function.
592         (elmo-folder-initialize): Follow the above change.
593
594         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
595         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
596         (elmo-folder-list-subfolders): Use
597         `elmo-quote-syntactical-element' instead of
598         `elmo-net-format-quoted' to quote mailbox and user name.
599
600 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
601
602         * elmo-util.el (elmo-token-valid-p): New function.
603         (elmo-parse-token): Add optional argument `requirement'.
604         (elmo-parse-prefixed-element): Likewise.
605
606         * elmo-net.el (elmo-net-quote-chars): Renamed from
607         `elmo-net-quote-chars-regexp'.
608         (elmo-net-format-quoted): Add optional argument `extra-chars'.
609
610         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
611         by info document. Check token `uidl' is started an alphabet.
612
613         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
614         by info document. Check token `user' is started an alphabet.
615
616         * elmo-imap4.el (elmo-folder-initialize): Ditto.
617         (elmo-folder-list-subfolders): Quote user.
618
619 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
620
621         * elmo-util.el (elmo-quoted-specials-list): New constant.
622         (elmo-quoted-token): New function.
623
624         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
625         (elmo-net-format-quoted): New function.
626         (elmo-net-parse-network): Ditto.
627         (elmo-folder-initialize): Use it.
628
629         * elmo-nntp.el (elmo-folder-initialize): Use
630         `elmo-net-parse-network' to parse network specification instead of
631         `elmo-folder-initialize#elmo-net'.
632
633         * elmo-pop3.el (elmo-folder-initialize): Ditto.
634
635         * elmo-imap4.el (elmo-folder-initialize): Ditto.
636         (elmo-folder-list-subfolders): Quote folder name by
637         `elmo-net-format-quoted'.
638
639 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
640
641         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
642         (elmo-folder-search): Use it.
643
644 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
645
646         * modb-standard.el (modb-standard-loaded-message-id): Use
647         `elmo-msgdb-message-entity-field'.
648
649 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
650
651         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
652         without filename.
653
654 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
655
656         * elmo-util.el (elmo-set-auto-coding): New function.
657         (elmo-object-load): Use it.
658
659 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
660
661         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
662         (elmo-time<): Define as alias of `elmo-time-less-p'.
663         (elmo-time-to-datevec): New function.
664
665         * elmo-date.el (elmo-time-to-days): New function.
666
667 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
668
669         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
670         is not cons cell.
671
672 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
673
674         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
675         parenthesis.
676
677         * elmo-util.el (elmo-map-recursive): New function.
678
679         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
680         (modb-entity-encode-string-recursive): Ditto.
681
682 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
683
684         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
685         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
686         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
687         compare sequence number when last modified time is nil.
688
689 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
690
691         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
692
693         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
694
695 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
696
697         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
698         modification time of the file.
699
700 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
701
702         * elmo-util.el (elmo-condition-optimize): Discriminated against
703         preserved fields, extra fields and the other weight.
704
705 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
706
707         * modb-entity.el (initialize-instance): Define.
708         (modb-entity-handler-mime-charset): New internal function.
709         (modb-standard-entity-set-field): Use it.
710         (elmo-msgdb-message-entity-field): Ditto.
711         (elmo-msgdb-message-entity-field): Ditto.
712
713         * modb.el (elmo-msgdb-match-condition): Rewrite with
714         `elmo-condition-match'.
715         (elmo-msgdb-match-condition-primitive): New function.
716
717         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
718         arguments `flags' and `numbers'.
719         (elmo-msgdb-match-condition-primitive): Abolished (merged to
720         `elmo-msgdb-message-match-condition').
721         (modb-buffer-entity-handler): New class.
722
723         * elmo.el (elmo-folder-search): Optimize condition to use
724         `elmo-condition-optimize'.
725         (elmo-message-buffer-match-condition): New function.
726         (elmo-message-match-condition): Use
727         `elmo-message-buffer-match-condition' instead of
728         `elmo-buffer-field-condition-match'.
729
730         * elmo-util.el (elmo-condition-match): New function.
731         (elmo-condition-optimize): Ditto.
732         (elmo-buffer-field-primitive-condition-match): Abolish.
733         (elmo-buffer-field-condition-match): Ditto.
734
735         * elmo-archive.el (elmo-archive-field-condition-match): Use
736         `elmo-message-buffer-match-condition' instead of
737         `elmo-buffer-field-condition-match'.
738
739 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
740
741         * elmo-flag.el (elmo-global-flags-initialize): Check the
742         existence of the flag directory.
743
744 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
745
746         * elmo-access.el (elmo-folder-initialize): Call
747         `elmo-multi-connect-signals'.
748
749         * elmo-pipe.el (elmo-folder-close): Define.
750
751         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
752         children folders.
753
754         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
755         with target folder.
756
757         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
758         `number'.
759
760         * elmo-multi.el (elmo-message-entity): Don't use return value of
761         `elmo-message-entity-set-number'.
762
763 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
764
765         * modb.el (modb-generic): Added slot `mime-charset'.
766
767         * modb-standard.el (modb-standard): Added slot `overview-handler'.
768         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
769         and `modb-entity-handler-dump-parameters'.
770         (modb-standard-default-entity-handler): Abolish.
771         (elmo-msgdb-message-entity-handler): Save created handler by
772         instance slot.
773
774         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
775         (modb-entity-handler-list-parameters): New method.
776         (modb-entity-handler-equal-p): New function.
777         (modb-entity-handler-dump-parameters): Ditto.
778         (modb-entity-parse-address-string): Encode return value.
779         (modb-entity-make-address-string): Decode argument value.
780         (modb-entity-decode-string-recursive): New function.
781         (modb-entity-encode-string-recursive): Ditto.
782         (modb-standard-entity-normalizer): Set to encode field value.
783         (modb-standard-entity-specializer): Follow the above change.
784         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
785         mime-charset of handler.
786         (elmo-msgdb-message-entity-field): Ditto.
787         (elmo-msgdb-copy-message-entity): Fixed reference to internal
788         structure.
789         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
790
791         * elmo.el (elmo-folder): Added slot `mime-charset'.
792         (elmo-make-folder): Added argument `mime-charset'.
793         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
794         `mime-charest'.
795
796         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
797         (elmo-make-msgdb): Likewise.
798
799         * elmo-internal.el (elmo-internal-folder-initialize): Call
800         `luna-make-entity' with :mime-charset parameter.
801
802 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
803
804         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
805         encoded words in `from' and `subject' field.
806
807 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
808
809         * modb.el (elmo-msgdb-message-field): Add argument `type'.
810         (elmo-msgdb-match-condition): Get handler from entity instead of
811         msgdb.
812
813         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
814         (modb-standard-load-entity): Treat new file format.
815         (modb-standard-save-entity-1): Save as new file format.
816         (modb-standard-save-entity): Split messages into section here.
817         (elmo-msgdb-message-field): Follow the API change.
818         (modb-standard-default-entity-handler): New internal variable.
819         (elmo-msgdb-message-entity-handler): Define.
820
821         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
822         to `elmo-vars.el'.
823         (modb-entity-field-extractor-alist): New user option.
824         (elmo-msgdb-message-entity-field): Removed argument `decode' and
825         added argument `type'.
826         (elmo-msgdb-copy-message-entity): Add optional argument
827         `make-handler'.
828         (modb-set-field-converter): New function.
829         (modb-convert-field-value): Ditto.
830         (modb-entity-string-decoder): Ditto.
831         (modb-entity-string-encoder): Ditto.
832         (modb-entity-parse-date-string): Ditto.
833         (modb-entity-make-date-string): Ditto.
834         (modb-entity-mime-decoder): Ditto.
835         (modb-entity-mime-encoder): Ditto.
836         (modb-entity-address-list-decoder): Ditto.
837         (modb-entity-address-list-encoder): Ditto.
838         (modb-entity-parse-address-string): Ditto.
839         (modb-entity-make-address-string): Ditto.
840         (modb-entity-create-field-indices): Ditto.
841         (modb-legacy-entity-field-slots): New constant.
842         (modb-legacy-entity-field-indices): Ditto.
843         (modb-legacy-entity-normalizer): New variable.
844         (modb-legacy-entity-specializer): Ditto.
845         (modb-legacy-entity-field-index): New macro.
846         (modb-legacy-entity-set-field): New function.
847         (modb-legacy-make-message-entity): Rewrite.
848         (elmo-msgdb-create-message-entity-from-buffer): Use
849         `elmo-msgdb-get-references-from-buffer'. Use
850         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
851         Use `modb-legacy-entity-set-field' instead of
852         `elmo-msgdb-message-entity-set-field'.
853         (elmo-msgdb-message-entity-field): Rewrite.
854         (elmo-msgdb-message-entity-set-field): Ditto.
855         (elmo-msgdb-copy-message-entity): Make new entity by
856         `make-handler' if it specified.
857         (elmo-msgdb-message-match-condition): Define a method of
858         `modb-entity-handler' and follow the API change.
859         (modb-standard-entity-handler): New class.
860         (modb-entity-extract-ml-info-from-x-sequence): New function.
861         (modb-entity-extract-ml-info-from-subject): Ditto.
862         (modb-entity-extract-ml-info-from-return-path): Ditto.
863         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
864         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
865         (modb-entity-extract-mailing-list-info): Ditto.
866         (modb-entity-extract-mailing-list-info-functions): New variable.
867
868         * elmo.el (elmo-message-field): Add optional argument `type'.
869
870         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
871         from `modb-entity.el'.
872
873         * elmo-util.el (elmo-object-load): Decode by coding-system from
874         `set-auto-coding-function'.
875         (elmo-object-save): Use `detect-mime-charset-region' and add
876         coding cookie if encode.
877         (elmo-msgdb-get-references-from-buffer): New function.
878         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
879
880         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
881
882         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
883         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
884         instead of `shimbun-make-header' and follow the API change.
885         (elmo-shimbun-update-overview): Follow the API change.
886         (elmo-map-folder-list-message-locations): Ditto.
887
888         * elmo-pipe.el (elmo-message-field): Ditto.
889
890         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
891         Ditto.
892
893         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
894
895         * elmo-multi.el (elmo-message-field): Ditto.
896
897         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
898         (elmo-msgdb-sort-by-date): Ditto.
899         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
900         `elmo-message-entity-field'.
901         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
902         change.
903         (elmo-msgdb-overview-entity-get-from): Ditto.
904         (elmo-msgdb-overview-entity-get-subject): Ditto.
905         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
906         (elmo-msgdb-overview-entity-get-date): Ditto.
907         (elmo-msgdb-overview-entity-get-to): Ditto.
908         (elmo-msgdb-overview-entity-get-cc): Ditto.
909
910         * elmo-mime.el (elmo-message-mime-entity): Ditto.
911         (elmo-mime-collect-message/partial-pieces): Ditto.
912
913         * elmo-filter.el (elmo-message-field): Ditto.
914
915         * elmo-date.el (elmo-datevec-to-time): New function.
916         (elmo-time-parse-date-string): Ditto.
917         (elmo-time-make-date-string): Ditto.
918         (elmo-time<): Ditto.
919
920         * elmo-version.el (elmo-version): Up to 2.15.1.
921
922 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
923
924         * elmo-flag.el (elmo-global-flags-initialize): Don't include
925         member of elmo-local-flags.
926
927 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
928
929         * elmo-version.el (elmo-version): Up to 2.15.0.
930
931 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
932
933         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
934         `ignore-msgdb' is non-nil.
935
936 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
937
938         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
939         (elmo-condition-in-msgdb-p): Ditto.
940         (elmo-file-field-primitive-condition-match): Ditto.
941         (elmo-file-field-condition-match): Ditto.
942
943         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
944
945 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
946
947         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
948         subdirectories here.
949         (elmo-global-flags-initialize): New function.
950
951         * elmo.el (toplevel): Added autoload setting for
952         `elmo-global-flags-initialize'.
953
954 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
955
956         * elmo.el (message-number-changed): Define new signal.
957         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
958         message-number-changed signal.
959         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
960         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
961         Respect `elmo-pack-number-check-strict'.
962
963 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
964
965         * elmo-signal.el (elmo-connect-signal): Document.
966         (elmo-emit-signal): Ditto.
967         (elmo-emit-signal): It should pass source argument to filter and
968         handler, not slot-source.
969
970 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
971
972         * modb.el (elmo-msgdb-update-entity): New API and define generic
973         implement.
974
975         * modb-standard.el (elmo-msgdb-update-entity): Define.
976
977         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
978         API and define generic implement.
979
980         * elmo.el (update-overview): New singnal.
981
982         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
983         `elmo-msgdb-update-entity' and emit signal `update-overview'.
984         (elmo-message-entity-parent): Define.
985
986         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
987         `update-overview'.
988
989         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
990
991         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
992
993 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
994
995         * elmo.el (elmo-folder-synchronize): Sort the return value of
996         `elmo-list-diff'.
997
998         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
999         list.
1000
1001 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1002
1003         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1004         `default-enable-multibyte-characters'.
1005         (elmo-object-load): Use `with-temp-buffer' instead of
1006         `elmo-set-work-buf'.
1007         (elmo-object-save): Ditto.
1008         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1009         `elmo-set-work-buf'.
1010         (elmo-decoded-field-body): Ditto.
1011
1012         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1013
1014         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1015         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1016
1017         * elmo-version.el (elmo-version): Up to 2.13.3.
1018
1019 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1020
1021         * elmo-util.el (elmo-list-diff): Fix the last change.
1022         Reverse order of result lists.
1023
1024 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1025
1026         * modb-standard.el (elmo-msgdb-set-flag): Use
1027         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1028         (elmo-msgdb-unset-flag): Ditto.
1029
1030         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1031         `elmo-list-diff'.
1032
1033         * elmo-util.el (elmo-list-diff): Rewrite.
1034         (elmo-list-diff-nonsortable): New function.
1035
1036 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1037
1038         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1039         `elmo-multibypte-buffer-name'.  All referers are updated.
1040
1041 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1042
1043         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1044         (elmo-mime-entity-fragment-p): New function.
1045         (mime-elmo-buffer-entity): Added slot `reassembled'.
1046         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1047         (elmo-message-mime-entity-internal): New function (renamed from
1048         `elmo-message-mime-entity').
1049         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1050         (elmo-mime-make-reassembled-mime-entity): New function.
1051         (elmo-message-reassembled-mime-entity): Ditto.
1052         (elmo-mime-collect-message/partial-pieces): Ditto.
1053
1054 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1055
1056         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1057
1058         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1059         (elmo-with-enable-multibyte): New macro.
1060
1061         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1062
1063 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1064
1065         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1066         argument `number'.
1067         (elmo-filter-connect-signals): Follow the above change.
1068
1069 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1070
1071         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1072
1073         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1074         that only the first flag is used.
1075
1076 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1077
1078         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1079         if available.
1080
1081 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1082
1083         * elmo-signal.el: New file.
1084
1085         * elmo.el (toplevel): Require elmo-signal.
1086         (flag-changing, flag-changed, cache-changed): New signal.
1087         (elmo-folder): Remove slog `handlers'.
1088         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1089         `elmo-folder-notify-event'.
1090         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1091         (elmo-folder-unset-flag): Ditto.
1092         (elmo-event-handler): Abolish.
1093         (elmo-event-handler-flag-changed): Ditto.
1094         (elmo-event-handler-cache-changed): Ditto.
1095         (elmo-folder-add-handler): Ditto.
1096         (elmo-folder-remove-handler): Ditto.
1097         (elmo-folder-notify-event): Ditto.
1098
1099         * elmo-pipe.el (toplevel): Require elmo-signal.
1100         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1101         (elmo-pipe-connect-signals): New function.
1102         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1103         (elmo-folder-set-flag): Ditto.
1104         (elmo-folder-unset-flag): Ditto.
1105         (elmo-message-set-cached): Ditto.
1106
1107         * elmo-multi.el (toplevel): Require elmo-signal.
1108         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1109         (elmo-multi-connect-signals): New function.
1110         (elmo-multi-map-numbers): Ditto.
1111         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1112         (elmo-message-fetch): Ditto.
1113         (elmo-folder-set-flag): Ditto.
1114         (elmo-folder-unset-flag): Ditto.
1115
1116         * elmo-filter.el (toplevel): Require elmo-signal.
1117         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1118         (elmo-filter-connect-signals): New function.
1119         (elmo-filter-add-flag-count): Ditto.
1120         (elmo-message-fetch): Does not call
1121         `elmo-filter-folder-countup-message-flags' and
1122         `elmo-folder-notify-event'.
1123         (elmo-message-set-cached): Ditto.
1124         (elmo-folder-set-flag): Ditto.
1125         (elmo-folder-unset-flag): Ditto.
1126
1127         * elmo-version.el (elmo-version): Up to 2.13.2.
1128
1129 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1130
1131         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1132         `flags'.
1133
1134 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1135
1136         * elmo-filter.el (elmo-message-set-cached): Call
1137         `elmo-folder-notify-event' with event `cache-changed'.
1138
1139         * elmo-multi.el (elmo-message-set-cached): Ditto.
1140
1141         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1142
1143 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1144
1145         * elmo.el (elmo-folder-encache): Abolish.
1146
1147 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1148
1149         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1150         (elmo-folder-next-message-number-dop): Return appropriate negative
1151         integer.
1152
1153 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1154
1155         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1156         clearing pending operations.
1157         (elmo-folder-next-message-number-dop): Return appropriate negative
1158         integer.
1159
1160 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1161
1162         * elmo.el (toplevel): Added autoload setting for `md5'.
1163         (elmo-msgdb-path-encode-threshold): New user option.
1164         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1165         longer than `elmo-msgdb-path-encode-threshold'.
1166
1167         * elmo-flag.el (elmo-global-mark-migrate): Use
1168         `elmo-folder-expand-msgdb-path' instead of
1169         `elmo-folder-msgdb-path'.
1170
1171 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1172
1173         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1174         element of the difference is nil.
1175
1176 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1177
1178         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1179         to the check logic of file systems which are weak in colon character.
1180
1181 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1182
1183         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1184
1185 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1186
1187         * elmo-maildir.el (elmo-maildir-move-file): New function.
1188         (elmo-folder-append-buffer): Use it.
1189         (elmo-folder-append-messages): Ditto.
1190         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1191
1192         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1193         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1194
1195         * elmo-maildir.el (elmo-maildir-separator): New user option.
1196         (elmo-maildir-adjust-separator): New macro.
1197         (elmo-maildir-list-location): Use it.
1198         (elmo-maildir-update-current): Ditto.
1199         (elmo-maildir-set-mark): Ditto.
1200         (elmo-maildir-delete-mark): Ditto.
1201         (These changes are based on Hiroya Murata's patch [wl: 13437])
1202
1203 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1204
1205         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1206
1207 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1210         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1211         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1212
1213 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1214
1215         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1216         Use `with-temp-buffer'.
1217
1218 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1219
1220         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1221
1222         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1223         `wl-read-search-condition').
1224         (elmo-read-search-condition-internal): Likewise.
1225
1226         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1227         (elmo-flag-valid-p): New function.
1228         (elmo-folder-initialize): Check flag name is valid.
1229
1230 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1231
1232         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1233         delimiter to obtain root mailbox itself.
1234
1235 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1236
1237         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1238         type mismatch.
1239
1240 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1241
1242         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1243         as t.
1244
1245 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1246
1247         * elmo-shimbun.el (toplevel): Require cl at compile.
1248
1249         * elmo-nntp.el (toplevel): Ditto.
1250
1251         * elmo-nmz.el (toplevel): Ditto.
1252
1253         * elmo-multi.el (toplevel): Ditto.
1254
1255         * elmo-file.el (toplevel): Ditto.
1256
1257         * elmo-dop.el (toplevel): Ditto.
1258
1259         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1260
1261 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1262
1263         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1264         as nil.
1265
1266         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1267         size of elmo-message-fetch-internal is 0 byte.
1268
1269 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1270
1271         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1272
1273 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1274
1275         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1276         always plugged.
1277
1278 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1279
1280         * elmo-maildir.el (elmo-map-message-fetch): Call
1281         `elmo-map-folder-set-flag'.
1282
1283         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1284         (elmo-message-fetch): Merge from
1285         `elmo-message-fetch-with-cache-process'.
1286
1287         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1288         (elmo-message-fetch): Define.
1289
1290         * elmo-nntp.el (elmo-message-fetch): Renamed from
1291         `elmo-message-fetch-with-cache-process'.
1292
1293         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1294         (elmo-message-fetch): Define.
1295
1296         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1297         search-key.
1298
1299         * elmo-shimbun.el (shimbun-mua-search-id): Use
1300         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1301         (elmo-shimbun-folder-shimbun-header): Ditto.
1302         (elmo-shimbun-get-headers): Ditto.
1303         (elmo-shimbun-update-overview): Ditto.
1304
1305         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1306
1307         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1308         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1309
1310 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1311
1312         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1313         message is cached.
1314         (elmo-message-fetch-string): Fixed argument.
1315
1316 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1317
1318         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1319         exchange order of arguments `section' and `unread'.
1320         (elmo-message-encache): Follow the API change.
1321         (elmo-message-match-condition): Ditto.
1322         (elmo-generic-folder-append-messages): Ditto.
1323         (elmo-message-fetch-string): New function.
1324
1325         * elmo-split.el (elmo-split-subr): Ditto.
1326
1327         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1328
1329         * elmo-pipe.el (elmo-message-fetch): Ditto.
1330
1331         * elmo-multi.el (elmo-message-fetch): Ditto.
1332
1333         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1334
1335         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1336
1337         * elmo-filter.el (elmo-message-fetch): Ditto.
1338
1339         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1340
1341         * elmo-imap4.el (mime-imap-location-section-body): Use
1342         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1343         follow the API change.
1344
1345 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1346
1347         * elmo-access.el: New file.
1348
1349         * elmo-null.el: Ditto.
1350
1351         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1352
1353 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1354
1355         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1356         (elmo-network-session): New attribute `last-accessed'.
1357         (elmo-network-get-session): Discard network cache if elapsed time
1358         since last-accessed is larger than elmo-network-session-idle-timeout.
1359
1360 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1361
1362         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1363         and added `number', `require-entireness'.
1364         (elmo-find-fetch-strategy): Rewrite.
1365         (elmo-message-fetch): Unset `unread' flag when argument unread is
1366         non-nil.
1367
1368         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1369
1370         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1371         (elmo-message-fetch): Notify event `flag-changed'.
1372
1373         * elmo-pipe.el: Likewise.
1374
1375         * elmo-mime.el (elmo-mime-entity): New class.
1376         (elmo-mime-entity-display-p): New generic function.
1377         (elmo-mime-entity-display): Ditto.
1378         (elmo-mime-entity-display-as-is): Ditto.
1379         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1380         elmo-mime-entity.
1381         (elmo-make-mime-message-location): Removed.
1382         (elmo-mime-message-display): Ditto.
1383         (elmo-mime-display-as-is): Ditto.
1384         (elmo-message-mime-entity): New function.
1385
1386         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1387
1388         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1389         change.
1390         (elmo-message-fetch): Re-count flagged message number and notify
1391         event `flag-changed'.
1392
1393         * elmo-version.el (elmo-version): Up to 2.13.1.
1394
1395 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1396
1397         * elmo-filter.el (elmo-message-field): Define.
1398         (elmo-message-set-field): Ditto.
1399
1400 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1401
1402         * elmo.el (elmo-message-set-cached): Call
1403         `elmo-folder-notify-event' with cache-changed.
1404         (elmo-event-handler-cache-changed): New generic function.
1405
1406 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1407
1408         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1409         instead of elmo-add-name-to-file.
1410         (elmo-folder-append-messages): Ditto.
1411
1412 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1413
1414         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1415
1416 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1417
1418         * elmo-version.el (elmo-version): Up to 2.13.0.
1419
1420         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1421         `auto'.
1422
1423         * modb-standard.el (modb-standard-economize-entity-size): Changed
1424         default value to `t'.
1425
1426         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1427         `standard'.
1428
1429         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1430         after parsing greeting string.
1431
1432 2004-11-23  Daishi Kato <daishi@axlight.com>
1433
1434         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1435         New user option.
1436         (elmo-spam-spamoracle-call): Use it.
1437
1438 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1439
1440         * elmo.el (elmo-message-accessible-p): Message in dop spool
1441         is accessible.
1442
1443 2004-11-23  Daishi Kato <daishi@axlight.com>
1444
1445         * elsp-spamoracle.el: New file.
1446
1447 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1448
1449         * elmo.el (elmo-message-flags-for-append): New function.
1450         (elmo-generic-folder-append-messages): Use it.
1451
1452         * elmo-split.el (elmo-split-subr): Ditto.
1453
1454         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1455         `flags' and use elmo-folder-append-buffer instead of
1456         write-region-as-binary.
1457         (elmo-dop-filter-pending-messages): New function.
1458         (elmo-folder-append-buffer-dop): Call
1459         elmo-dop-spool-folder-append-buffer with `flag'.
1460         (elmo-folder-set-flag-dop): Filter messages by
1461         elmo-dop-filter-pending-messages.
1462         (elmo-folder-unset-flag-dop): Ditto.
1463         (elmo-folder-append-buffer-dop-delayed): Use
1464         elmo-message-flags-for-append to get flags of the message and
1465         simplify.
1466
1467 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1468
1469         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1470
1471 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1472
1473         * elmo.el (elmo-folder): Added handlers slot.
1474         (elmo-event-handler): New class.
1475         (elmo-event-handler-flag-changed): New API.
1476         (elmo-folder-add-handler): New function.
1477         (elmo-folder-remove-handler): Ditto.
1478         (elmo-folder-notify-event): Ditto.
1479         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1480         `flag-changed'.
1481         (elmo-folder-unset-flag): Ditto.
1482
1483         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1484         (elmo-folder-unset-flag): Ditto.
1485
1486         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1487         (elmo-folder-unset-flag): Ditto.
1488
1489         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1490         (elmo-folder-unset-flag): Ditto.
1491
1492         * elmo-version.el (elmo-version): Up to 2.11.33.
1493
1494 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1495
1496         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1497
1498 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1499
1500         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1501
1502         * elmo-flag.el (elmo-folder-unset-flag): Define.
1503         (elmo-global-flag-detach): Do process when the flag is not target
1504         flag.
1505
1506 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1507
1508         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1509         variable.
1510         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1511
1512 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1513
1514         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1515         function.
1516         (elmo-folder-delete-messages): Detach messages before delete
1517         messages from target folder.
1518         (elmo-folder-detach-messages): Set updated number-list to slot.
1519
1520 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1521
1522         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1523
1524 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1525
1526         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1527
1528 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1529
1530         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1531         internal use only).
1532         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1533         not modified.
1534         (elmo-folder-delete-messages): Define.
1535         (elmo-folder-move-messages): Don't call
1536         `elmo-folder-detach-messages'.
1537         (elmo-folder-synchronize): Rewrite.
1538         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1539
1540         * elmo-util.el (elmo-last): New function.
1541         (elmo-set-list): Ditto.
1542         (elmo-number-set-delete-list): Ditto.
1543         (elmo-number-set-delete): Ditto.
1544
1545         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1546
1547         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1548         `elmo-folder-delete-messages' and don't delete location map.
1549         (elmo-folder-detach-messages): Define.
1550
1551         * elmo-imap4.el (elmo-folder-delete): Use
1552         `elmo-folder-delete-messages-internal' instead of
1553         `elmo-folder-delete-messages'.
1554
1555         * elmo-filter.el (elmo-folder-delete-messages): Call
1556         `elmo-folder-detach-messages'.
1557         (elmo-folder-detach-messages): Don't call
1558         `elmo-folder-detach-messages' for target folder.
1559
1560         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1561         message deletion is succeeded.
1562
1563         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1564
1565         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1566         from `elmo-folder-delete-messages'.
1567
1568         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1569
1570         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1571
1572         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1573
1574         * elmo-version.el (elmo-version): Up to 2.11.32.
1575
1576 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1577
1578         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1579         (elmo-global-flag-list): Added obsolete variable setting.
1580
1581         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1582
1583         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1584         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1585         `elmo-mime-display-header-analysis' is nil.
1586
1587         * elmo-flag.el (elmo-global-flags): Renamed from
1588         `elmo-global-flag-list' (All other related portions are changed).
1589         (elmo-local-flags): New variable.
1590         (elmo-local-flag-p): New function.
1591         (elmo-global-flag-set-internal): Cause an error when flag is not
1592         global.
1593
1594 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1595
1596         * elmo-util.el (elmo-concat-path): Treat empty path.
1597
1598 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1599
1600         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1601         field-or-fields).
1602         (elmo-split-address-match): Ditto.
1603         (elmo-split-equal): Ditto.
1604         (elmo-split-match): Ditto.
1605
1606 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1607
1608         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1609         (elmo-generic-folder-append-messages): If src message exists but
1610         has no flag, pass (read) for the FLAG argument of
1611         `elmo-folder-append-buffer'. Otherwise, pass nil.
1612
1613         * elmo-split.el (elmo-split-subr): Likewise.
1614
1615         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1616
1617         * elmo-multi.el (elmo-message-flags): Ditto.
1618
1619         * elmo-filter.el (elmo-message-flags): Ditto.
1620
1621         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1622         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1623         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1624         
1625 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1626
1627         * elmo-split.el (elmo-split-rule): Update comment.
1628         (elmo-split-address-equal): Allow 2nd argument to be a list.
1629         (elmo-split-address-match): Ditto.
1630         (elmo-split-equal): Ditto.
1631         (elmo-split-match): Ditto.
1632
1633 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1634
1635         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1636         (elmo-folder-append-msgdb): Don't treat `read'.
1637         (elmo-message-flags): Don't return `read'.
1638
1639         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1640         (elmo-folder-unset-read-delayed): Ditto.
1641
1642         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1643
1644 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1645
1646         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1647         deletion.
1648
1649 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1650
1651         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1652         header.
1653
1654 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1655
1656         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1657         here.
1658         (elmo-msgdb-save): Bind inhibit-quit.
1659         (modb-standard-message-entity): Ditto.
1660
1661 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1662
1663         * elmo-database.el: No need to require elmo-msgdb.
1664
1665 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1666
1667         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1668         instead of `elmo-list-subdirectories'.
1669
1670 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1671
1672         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1673         group entry.
1674         (elmo-folder-exists-p): "[" is empty.
1675         (elmo-folder-list-subfolders): Define.
1676         (elmo-folder-have-subfolder-p): Ditto.
1677
1678 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1679
1680         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1681
1682 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1683
1684         * elmo-filter.el (elmo-folder-local-p): Define.
1685
1686 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1687
1688         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1689         when entity is garbaged.
1690         (modb-standard-save-entity-1): Don't modify the original entity.
1691
1692 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1693
1694         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1695
1696 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1697
1698         * elmo.el (elmo-strict-folder-diff): Use
1699         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1700
1701 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1702
1703         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1704         (elmo-msgdb-message-number): Ditto.
1705         (elmo-msgdb-message-field): Ditto.
1706
1707         * modb-standard.el (modb-standard-economize-entity-size): New user
1708         option.
1709         (modb-standard-loaded-message-id): New inline function.
1710         (modb-standard-load-entity): Use it.
1711         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1712         throw message-id string away.
1713         (elmo-msgdb-flag-available-p): Define.
1714         (elmo-msgdb-message-number): Ditto.
1715         (elmo-msgdb-message-field): Ditto.
1716
1717         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1718         (suppoted -> supported).
1719         (modb-legacy-supported-flag-p): Ditto.
1720         (elmo-msgdb-set-flag): Ditto.
1721         (elmo-msgdb-unset-flag): Ditto.
1722         (elmo-msgdb-flag-available-p): Define.
1723
1724         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1725         is `t', treat it as legacy entity.
1726         
1727         * elmo.el (elmo-message-flag-available-p): New generic function.
1728         (elmo-message-number): Ditto.
1729         (elmo-message-field): Use `elmo-msgdb-message-field'.
1730
1731         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1732
1733         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1734         (elmo-message-number): Ditto.
1735
1736         * elmo-multi.el (elmo-message-number): Define.
1737         (elmo-message-flag-available-p): Ditto.
1738
1739         * elmo-filter.el (elmo-message-flag-available-p): Define.
1740         (elmo-message-number): Ditto.
1741
1742         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1743         (elmo-folder-initialize): Load `max-number'.
1744         (elmo-folder-commit): Save it.
1745         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1746         (elmo-global-flag-set-internal): Set up max-number slot.
1747
1748 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1749
1750         * elmo-version.el (elmo-version): Up to 2.11.31.
1751
1752 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1753
1754         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1755         unibyte string of the current buffer for the argument of `md5'
1756         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1757
1758 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1759
1760         * modb-legacy.el (modb-legacy-flag-list): New constant.
1761         (modb-legacy-suppoted-flag-p): New internal function.
1762         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1763         (elmo-msgdb-unset-flag): Ditto.
1764
1765 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1766
1767         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1768
1769         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1770         from msgdb.
1771
1772 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1773
1774         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1775         (follow the API change).
1776
1777         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1778
1779 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1780
1781         * modb-standard.el (modb-standard-digest-flags): Abolish.
1782         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1783
1784         * elmo-vars.el (elmo-digest-flags): New variable.
1785         (elmo-preserved-flags): Moved from elmo-flag.el.
1786
1787         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1788         (elmo-imap4-flag-to-imap-criteria): Ditto.
1789         (elmo-imap4-folder-list-flagged): Use it.
1790
1791         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1792
1793         * elmo.el (elmo-folder-count-flags): Changed return value.
1794
1795         * elmo-flag.el (elmo-preserved-flags): New variable.
1796         (elmo-get-global-flags): Use it.
1797
1798         * modb-standard.el (modb-standard-digest-flags): New variable.
1799         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1800         Changed behavior of `any'.
1801
1802         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1803         which are defined the Internet draft
1804         (draft-melnikov-imap-keywords-03.txt).
1805         (elmo-imap4-flags-to-imap): New function.
1806         (elmo-folder-append-buffer): Use it.
1807
1808         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1809         in the docstring.
1810
1811         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1812         avoid the bug of Emacs 21.3.
1813
1814 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1815
1816         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1817         function find-coding-system does not exist.
1818
1819 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1820
1821         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1822         parsing.
1823
1824 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1825
1826         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1827         response codes.
1828
1829 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1830
1831         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1832         (elmo-network-close-session): Follow the changes in
1833         `elmo-pop3-read-response'.
1834         (elmo-pop3-auth-user): Ditto.
1835         (elmo-pop3-auth-apop): Ditto.
1836         (elmo-network-initialize-session): Ditto.
1837         (elmo-network-authenticate-session): Ditto.
1838         (elmo-network-setup-session): Ditto.
1839         (elmo-folder-status): Ditto.
1840         (elmo-message-fetch-plugged): Ditto.
1841         (elmo-pop3-delete-msg): Ditto.
1842
1843 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1844
1845         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1846         on failure.
1847
1848 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1849
1850         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1851         style.
1852         (elmo-bind-directory): Ditto.
1853
1854 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1855
1856         * elmo.el (elmo-folder-append-messages): Note on return value.
1857         * elmo-archive.el (elmo-folder-append-messages): Don't return
1858         message numbers which could not be appended.
1859
1860 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1861
1862         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1863
1864 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1865
1866         * elmo-version.el (elmo-version): Up to 2.11.30.
1867
1868 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1869
1870         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1871         `mask'.
1872
1873         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1874
1875         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1876         (elmo-multi-split-numbers): Add elmo-folder object into each
1877         element of return value at first.
1878         (elmo-folder-delete-messages): Follow the above change.
1879         (elmo-folder-detach-messages): Ditto.
1880
1881         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1882         number which is synchronized in target folder.
1883
1884 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1885
1886         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1887         Change default value to symbol `all'.
1888         (elmo-map-message-fetch): Change condition to update overview
1889         follow the above.
1890
1891 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1892
1893         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1894         behavior to update overview.
1895         (elmo-shimbun-update-overview-folder-list): Note it.
1896
1897 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1898
1899         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1900         recursive call.
1901
1902 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1903
1904         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1905         buffer-disable-undo, it is unnecessary.
1906         (elmo-spam-register-good-messages): Ditto.
1907
1908         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1909         Ditto.
1910
1911         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1912
1913 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1914
1915         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1916         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1917         elmo-set-buffer-multibyte.
1918         (elmo-object-load): Ditto.
1919         (elmo-save-buffer): Ditto.
1920         (elmo-delete-char): Ditto.
1921         (elmo-file-field-primitive-condition-match): Ditto.
1922         (elmo-mime-string): Ditto.
1923
1924         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1925         (elmo-archive-field-condition-match): Ditto.
1926
1927         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1928
1929         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1930
1931         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1932         (elmo-nntp-msgdb-create-message): Ditto.
1933
1934         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1935
1936         * elmo.el (elmo-message-match-condition): Ditto.
1937         (elmo-message-match-condition): Ditto.
1938
1939         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1940         Ditto.
1941
1942         * elmo-version.el (elmo-version): Up to 2.11.29.
1943
1944         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1945         (elsp-header): New backend.
1946
1947         * elmo-util.el (elmo-decoded-field-body): New function.
1948
1949 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1950
1951         * elmo-version.el (elmo-version): Up to 2.11.28.
1952
1953 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1954
1955         * elmo-filter.el: Rewrite.
1956
1957         * elmo-version.el (elmo-version): Up to 2.11.27.
1958
1959 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1960
1961         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1962         msgdb path for the localdir folder with absolute path.
1963
1964         * utf7.el: Synch up with latest gnus/utf7.el;
1965         Modified for latest Emacs.
1966
1967 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1968
1969         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1970         shimbun backend couldn't open.
1971
1972 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1973
1974         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1975         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1976         when a destination folder is a filter folder.
1977
1978 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1979
1980         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1981         (elmo-generic-folder-append-messages): Call elmo-message-flags
1982         with argument `msgid'.
1983
1984         * elmo-split.el (elmo-split-subr): Ditto.
1985
1986         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1987
1988         * elmo-multi.el (elmo-message-flags): Ditto.
1989
1990 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1991
1992         * elmo.el (elmo-folder): Add new slot `flag-table'.
1993         (elmo-folder-flag-table): New API.
1994         (elmo-folder-close-flag-table): Ditto.
1995         (elmo-folder-preserve-flags): New function.
1996         (elmo-generic-folder-append-messages): Use
1997         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1998         Flag of a non-registered message, it sets to nil.
1999         Does not set flag to flag-table.
2000
2001         * elmo-maildir.el (elmo-folder-append-buffer): Use
2002         `elmo-folder-preserve-flags'.
2003         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2004         `elmo-folder-close-flag-table'.
2005
2006         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2007         (elmo-archive-folder-append-buffer): Use
2008         `elmo-folder-preserve-flags'.
2009
2010         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2011
2012         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2013
2014         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2015         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2016         `elmo-folder-close-flag-table'.
2017
2018         * elmo-version.el (elmo-version): Up to 2.11.26.
2019
2020 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2021
2022         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2023
2024         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2025         md5's 4th and 5th argument (non-existent in flim one).
2026
2027 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2028
2029         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2030         message, It sets to nil.
2031
2032 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2033
2034         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2035         list is non-nil.
2036
2037 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2038
2039         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2040
2041         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2042
2043         * elmo-util.el (elmo-uniq-sorted-list): New function.
2044         (elmo-make-number-list): Ditto.
2045         (elmo-number-set-to-number-list): Use elmo-make-number-list
2046         and don't use nreverse.
2047
2048 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2049
2050         * elmo-version.el (elmo-version): Up to 2.11.25.
2051
2052 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2053
2054         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2055         field not exists in message, Use md5 message digest of header.
2056
2057 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2058
2059         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2060         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2061         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2062         * elmo-split.el (elmo-split-subr): Check return value of
2063         elmo-folder-append-buffer.
2064
2065         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2066         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2067
2068         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2069         message-id.
2070
2071 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2072
2073         * elmo-split.el (elmo-split-subr): Append message with flag.
2074
2075         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2076         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2077         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2078
2079 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2080
2081         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2082         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2083         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2084
2085 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2086
2087         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2088         with a function call of `process-buffer'.  All callers are updated.
2089         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2090         Remove redundant `set-buffer' in a while loop.
2091
2092 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2093
2094         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2095         calls.
2096
2097 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2098
2099         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2100         elsp-spamfilter-register-buffer-internal with current buffer.
2101         (elmo-spam-register-spam-buffer): Ditto.
2102         (elmo-spam-register-good-buffer): Ditto.
2103
2104 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2105
2106         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2107         if it is not contained in the response(A workaround for courier-imap).
2108
2109 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2110
2111         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2112         parenthesis.
2113
2114 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2115
2116         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2117         range.
2118
2119 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2120
2121         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2122         of nconc.
2123
2124         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2125         argument handler.
2126         (elmo-msgdb-message-match-condition): Follow the change above.
2127
2128 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2129
2130         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2131         folder name.
2132
2133 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2134
2135         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2136
2137 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2138
2139         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2140
2141 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2142
2143         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2144         not found.
2145
2146 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2147
2148         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2149         value.
2150         (elmo-file-command-argument): Undo last change for cygwin.
2151         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2152         Don't return nil.
2153         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2154
2155 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2156
2157         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2158         value returned from elmo-file-find is nil.
2159
2160 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2161
2162         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2163         to elmo-vars.el.
2164
2165         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2166         instead of insert-file-contents-as-binary.
2167         (elmo-message-set-field): New generic function.
2168
2169         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2170         behavior change on `split-string'.
2171
2172         * elmo-file.el (elmo-file-find): New function.
2173         (elmo-file-command): New user option.
2174         (elmo-file-command-argument): Ditto.
2175         (elmo-file-fetch-max-size): Ditto.
2176         (elmo-file-detect-format): New function.
2177         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2178         Use elmo-file-detect-format.
2179         (elmo-map-folder-list-message-locations): Don't treat directories.
2180
2181 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2182
2183         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2184         (elmo-passwd-alist-clear): Shred password before clear.
2185         (elmo-remove-passwd): Remove all mached pair.
2186
2187 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2188
2189         * elmo.el (elmo-folder-synchronize): Fix description of the return
2190         value.
2191
2192 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2193
2194         * elmo.el (elmo-message-fetch-bodystructure): New method.
2195         (elmo-message-fetch-bodystructure): Define default.
2196
2197         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2198         elmo-message-fetch-bodystructure.
2199         (elmo-message-fetch-bodystructure): Define.
2200
2201         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2202
2203 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2204
2205         * elmo-filter.el (elmo-message-folder): Define.
2206
2207 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2208
2209         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2210         elmo-delete-cr-buffer.
2211
2212         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2213
2214         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2215
2216         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2217
2218         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2219         type seems to be a text.
2220
2221 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2222
2223         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2224         (elmo-spam-register-good-buffer): Ditto.
2225         (elmo-spam-spamassassin-register-messages): Ditto.
2226
2227         * elmo-util.el (elmo-string-member-ignore-case): Define with
2228         static-cond.
2229
2230 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2231
2232         * elmo.el (elmo-folder-type): Undo last change.
2233
2234         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2235
2236         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2237         warnings.
2238
2239         * elmo-file.el: New file.
2240         
2241         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2242
2243         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2244         variable.
2245         (elmo-spam-spamassassin-register-messages): New inline function.
2246         (elmo-spam-register-spam-messages): Define.
2247         (elmo-spam-register-good-messages): Ditto.
2248
2249         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2250         Fixed typo.
2251
2252         * elmo.el (toplevel): Added autoload setting for
2253         `elmo-get-global-flags'.
2254         (elmo-message-has-global-flag-p): New function.
2255         (elmo-message-set-global-flags): Ditto.
2256         (elmo-folder-type): Improvement for name: format.
2257
2258         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2259         availability of keyword flags.
2260         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2261         (elmo-folder-list-flagged-plugged): Renamed from
2262         elmo-folder-list-flagged-unplugged.
2263         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2264         accept any flag as keyword flag.
2265         (elmo-folder-set-flag-plugged): Accept keyword flags.
2266         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2267
2268         * elmo-flag.el (elmo-get-global-flags): New function.
2269
2270         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2271         folders.
2272
2273         * elmo-version.el (elmo-version): Up to 2.11.24.
2274
2275 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2276
2277         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2278         elmo-multiple-field-body instead of std11-field-body to check all
2279         headers.
2280
2281 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2282
2283         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2284         or "size".
2285
2286 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2287
2288         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2289         unintern is unbound.
2290
2291 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2292
2293         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2294         Protect from infinite loop.
2295
2296 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2297
2298         * elsp-bogofilter.el
2299         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2300         (elmo-spam-bogofilter-register-messages): New internal function.
2301         (elmo-spam-register-spam-messages): Define.
2302         (elmo-spam-register-good-messages): Ditto.
2303
2304 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2305
2306         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2307         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2308         (elmo-spam-bogofilter-call): Fixed the last change.
2309         (elmo-spam-bogofilter-arguments): Ditto.
2310
2311         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2312         Follow the options change of latest bogofilter.
2313
2314         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2315         (elmo-spam-bogofilter-good-switch): Ditto.
2316         (elmo-spam-bogofilter-arguments-alist): New user option.
2317         (elmo-spam-bogofilter-debug): Ditto.
2318         (elmo-spam-bogofilter-call): Renamed from
2319         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2320         is non-nil, insert output in buffer for debug.
2321         (elmo-spam-bogofilter-arguments): New macro.
2322         (elmo-spam-buffer-spam-p): Use it.
2323         (elsp-bogofilter-register-buffer): Ditto.
2324
2325 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2326
2327         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2328         regexp.
2329
2330 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2331
2332         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2333         value as "ruby".
2334         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2335         (elmo-spam-bsfilter-program): Set default value as full path for
2336         `bsfilter'.
2337         (elmo-spam-bsfilter-debug): New user option.
2338         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2339         non-nil, insert output in buffer for debug. Fix treating of
2340         argument.
2341
2342 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2343
2344         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2345         `elmo-maildir-flag-specs' element instead of one.
2346         (elmo-map-folder-unset-flag): Ditto.
2347         (Reported by Ken Makimura <macky@astem.or.jp>)
2348
2349         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2350         (elmo-folder-unset-flag-plugged): Ditto.
2351
2352 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2353
2354         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2355         to `reads' slot only if `in-msgdb' is nil.
2356
2357 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2360         and complement argument list.
2361
2362 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2363
2364         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2365         instead of elmo-folder-list-flagged.
2366
2367 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2368
2369         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2370
2371         * elsp-bsfilter.el: New file.
2372
2373         * elmo-pipe.el (elmo-folder-list-unreads,
2374         elmo-folder-list-answereds,
2375         elmo-folder-list-importants,
2376         elmo-folder-flag-as-important,
2377         elmo-folder-unflag-important,
2378         elmo-folder-flag-as-read,
2379         elmo-folder-unflag-read,
2380         elmo-folder-flag-as-answered,
2381         elmo-folder-unflag-answered): Remove.
2382         (elmo-folder-set-flag): Define.
2383         (elmo-folder-unset-flag): Ditto.
2384
2385         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2386         (elmo-folder-set-flag): Define.
2387         (elmo-folder-unset-flag): Ditto.
2388         (elmo-folder-list-unreads): Remove.
2389         (elmo-folder-list-flagged): Define.
2390
2391         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2392         (elmo-folder-list-unreads,
2393         elmo-folder-list-importants,
2394         elmo-folder-list-answereds,
2395         elmo-folder-list-unreads-plugged,
2396         elmo-folder-list-importants-plugged,
2397         elmo-folder-list-answereds-plugged): Remove.
2398         (elmo-folder-list-flagged-plugged): New method.
2399         (elmo-folder-unflag-important,
2400         elmo-folder-flag-as-important,
2401         elmo-folder-unflag-read,
2402         elmo-folder-flag-as-read,
2403         elmo-folder-unflag-answered,
2404         elmo-folder-flag-as-answered,
2405         elmo-folder-flag-as-read-unplugged,
2406         elmo-folder-unflag-read-unplugged,
2407         elmo-folder-flag-as-important-unplugged,
2408         elmo-folder-unflag-important-unplugged,
2409         elmo-folder-flag-as-answered-unplugged,
2410         elmo-folder-unflag-answered-unplugged): Remove.
2411         (elmo-folder-set-flag): Define.
2412         (elmo-folder-unset-flag): Ditto.
2413         (elmo-folder-set-flag-unplugged): Ditto.
2414         (elmo-folder-unset-flag-unplugged): Ditto.
2415
2416         * elmo-multi.el (elmo-folder-list-unreads,
2417         elmo-folder-list-answereds,
2418         elmo-folder-list-importants,
2419         elmo-folder-flag-as-important,
2420         elmo-folder-unflag-important,
2421         elmo-folder-flag-as-read,
2422         elmo-folder-unflag-read,
2423         elmo-folder-flag-as-answered,
2424         elmo-folder-unflag-answered): Remove.
2425         (elmo-folder-set-flag): Define.
2426         (elmo-folder-unset-flag): Ditto.
2427
2428         * elmo-map.el (elmo-map-folder-unflag-important,
2429         elmo-map-folder-flag-as-important,
2430         elmo-map-folder-unflag-read,
2431         elmo-map-folder-flag-as-read,
2432         elmo-map-folder-unflag-answered,
2433         elmo-map-folder-flag-as-answered): Remove.
2434         (elmo-map-folder-set-flag): New method.
2435         (elmo-map-folder-unset-flag): Ditto.
2436         (elmo-map-folder-list-unreads,
2437         elmo-map-folder-list-importants,
2438         elmo-map-folder-list-answereds): Remove.
2439         (elmo-folder-list-flagged-internal): Define.
2440         (elmo-map-folder-list-flagged): New method.
2441
2442         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2443         (elmo-map-folder-list-unreads,
2444         elmo-map-folder-list-importants,
2445         elmo-map-folder-list-flagged): Remove.
2446         (elmo-map-folder-list-flagged): Define.
2447         (elmo-map-folder-flag-as-important,
2448         elmo-map-folder-unflag-important,
2449         elmo-map-folder-flag-as-read,
2450         elmo-map-folder-unflag-read,
2451         elmo-map-folder-flag-as-answered,
2452         elmo-map-folder-unflag-answered): Remove.
2453         (elmo-maildir-set-mark-messages): New internal function.
2454         (elmo-map-folder-set-flag): Define.
2455         (elmo-map-folder-unset-flag): Ditto.
2456
2457         * elmo.el (toplevel): Added autoload setting for
2458         `elmo-folder-list-global-flag-messages'.
2459         (elmo-folder-list-unreads,
2460         elmo-folder-list-importants,
2461         elmo-folder-list-answereds): Remove.
2462         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2463         Return a list whitch merged with messages have global flag.
2464         (elmo-folder-list-flagged-internal): New method.
2465         (elmo-folder-unflag-important,
2466         elmo-folder-flag-as-important,
2467         elmo-folder-unflag-read,
2468         elmo-folder-flag-as-read,
2469         elmo-folder-unflag-answered,
2470         elmo-folder-flag-as-answered): Remove.
2471         (elmo-folder-set-flag): New method.
2472         (elmo-folder-unset-flag): Ditto.
2473         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2474         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2475
2476         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2477         (elmo-folder-list-unreads-plugged,
2478         elmo-folder-list-importants-plugged,
2479         elmo-folder-list-answereds-plugged,
2480         elmo-folder-list-flagged-unplugged,
2481         elmo-folder-unflag-important-plugged,
2482         elmo-folder-flag-as-important-plugged,
2483         elmo-folder-unflag-read-plugged,
2484         elmo-folder-flag-as-read-plugged,
2485         elmo-folder-unflag-answered-plugged,
2486         elmo-folder-flag-as-answered-plugged): Remove.
2487         (elmo-folder-set-flag-plugged,
2488         elmo-folder-unset-flag-plugged): Define.
2489
2490         * elmo-flag.el (elmo-folder-initialize): Register to
2491         `elmo-global-flag-list' if flag is not global.
2492         (elmo-folder-append-messages): Set flag to source messages.
2493
2494         * elmo-filter.el (elmo-filter-folder-list-unreads,
2495         elmo-folder-list-unreads,
2496         elmo-filter-folder-list-importants,
2497         elmo-folder-list-importants,
2498         elmo-folder-flag-as-read,
2499         elmo-folder-unflag-read,
2500         elmo-folder-flag-as-important,
2501         elmo-folder-unflag-important,
2502         elmo-folder-flag-as-answered,
2503         elmo-folder-unflag-answered): Remove.
2504         (elmo-folder-set-flag): Define.
2505         (elmo-folder-unset-flag): Ditto.
2506
2507         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2508         elmo-folder-unflag-read-dop,
2509         elmo-folder-flag-as-important-dop,
2510         elmo-folder-unflag-important-dop,
2511         elmo-folder-flag-as-answered-dop,
2512         elmo-folder-unflag-answered-dop): Remove.
2513         (elmo-folder-set-flag-dop,
2514         elmo-folder-unset-flag-dop,
2515         elmo-folder-set-important-delayed,
2516         elmo-folder-unset-important-delayed,
2517         elmo-folder-set-read-delayed,
2518         elmo-folder-unset-read-delayed,
2519         elmo-folder-set-answered-delayed,
2520         elmo-folder-unset-answered-delayed): New function.
2521         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2522         (elmo-dop-queue-method-name-alist): Ditto.
2523
2524         * elmo-version.el (elmo-version): Up to 2.11.23.
2525
2526 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2527
2528         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2529
2530         * elsp-sa.el: New file.
2531
2532 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2533
2534         * modb-standard.el (modb-standard-message-entity): New function.
2535         (elmo-msgdb-message-entity): Use it.
2536
2537 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2538
2539         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2540         behavior when one-level is nil.
2541
2542         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2543
2544         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2545
2546 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2547
2548         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2549         get max number.
2550         (elmo-generic-folder-diff): Ditto.
2551
2552         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2553         (elmo-folder-update-number): Ditto.
2554
2555         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2556         (elmo-folder-next-message-number-dop): Ditto.
2557
2558 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2559
2560         * elmo-filter.el (elmo-folder-msgdb-create): Use
2561         `elmo-message-entity' and `elmo-message-flags' instead of
2562         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2563
2564 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2565
2566         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2567         `if-exists'.
2568
2569 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2570
2571         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2572
2573         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2574
2575         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2576
2577 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2578
2579         * elmo-version.el (elmo-version): Up to 2.11.22.
2580
2581 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2582
2583         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2584
2585 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2586
2587         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2588         if the message dose not exist.
2589
2590 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2591
2592         * elmo-version.el (elmo-version): Up to 2.11.21.
2593
2594 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2595
2596         * modb-standard.el (toplevel): Don't require mime.
2597
2598 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2599
2600         * elsp-bogofilter.el (toplevel): Don't require path-util.
2601         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2602         (elmo-spam-bogofilter-header): Abolish.
2603         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2604         (elmo-spam-bogofilter-args): New user option.
2605         (elsp-bogofilter-call-bogofilter): New internal function.
2606         (elmo-spam-buffer-spam-p): Use it.
2607         (elsp-bogofilter-register-buffer): Renamed from
2608         `elmo-spam-bogofilter-register-buffer';
2609         Use `elsp-bogofilter-call-bogofilter'.
2610         (elmo-spam-register-spam-buffer): Follow the change above.
2611         (elmo-spam-register-good-buffer): Ditto.
2612
2613 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2614
2615         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2616         message-id is nil do nothing.
2617
2618 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2619
2620         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2621         Revival.
2622         (elmo-imap4-session): Removed use-flag slot.
2623         (elmo-imap4-session-select-mailbox): Undo last change.
2624         (elmo-folder-use-flag-p): Use
2625         elmo-imap4-disuse-server-flag-mailbox-regexp.
2626
2627 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2628
2629         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2630         (elmo-imap4-session-select-mailbox): Set it up.
2631         (elmo-folder-use-flag-p): Return value of use-flag slot.
2632
2633 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2634
2635         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2636         message-id is nil.
2637         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2638
2639         * modb-entity.el (elmo-message-entity-handler): Likewise.
2640
2641 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2642
2643         * elmo.el (toplevel): Remove setting of autoloding for
2644         elmo-global-flag-initialize.
2645         (elmo-init): Don't call elmo-global-flag-initialize.
2646         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2647
2648         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2649         (elmo-global-mark-migrate): Don't call it.
2650         (elmo-global-mark-upgrade): Ditto.
2651
2652 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2653
2654         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2655         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2656
2657         * elmo-vars.el (elmo-init-hook): New user option.
2658
2659         * elmo.el (elmo-init): Run the elmo-init-hook.
2660
2661         * elmo-flag.el (elmo-global-mark-migrate): New function.
2662
2663 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2664
2665         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2666         Undo last change (move to elmo-msgdb-unset-flag).
2667         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2668         flag is unset.
2669
2670 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2671
2672         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2673         read flag is set.
2674         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2675         (elmo-msgdb-unset-flag): Ditto.
2676
2677 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2678
2679         * elmo-split.el (elmo-split): Return split message count.
2680
2681 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2682
2683         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2684         is nil.
2685
2686 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2687
2688         * elmo.el (elmo-folder-unflag-important): Call
2689         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2690         a symbol `always'.
2691
2692         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2693         before unset flag.
2694         (elmo-global-flag-detach): Delete the message from flag folder, if
2695         `delete-if-none' is a symbol `always'.
2696
2697 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2698
2699         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2700         `elmo-spam-spamfilter-decode-buffer'.
2701         (elsp-spamfilter-register-buffer-internal): New internal function.
2702         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2703         (elmo-spam-register-spam-buffer): Ditto.
2704         (elmo-spam-register-good-buffer): Ditto.
2705
2706         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2707         change.
2708         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2709         (elmo-spam-register-spam-buffer): Follow the API change.
2710         (elmo-spam-register-good-buffer): Ditto.
2711
2712         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2713         (elmo-split-spam-p): Added argument plist; Call
2714         `elmo-spam-buffer-spam-p' with new argument register.
2715
2716         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2717         `register'.
2718         (elmo-spam-message-spam-p): Ditto.
2719         (elmo-spam-register-spam-buffer): Added optional argument
2720         `restore'.
2721         (elmo-spam-register-good-buffer): Ditto.
2722         (elmo-spam-register-spam-messages): Ditto.
2723         (elmo-spam-register-good-messages): Ditto.
2724
2725 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2726
2727         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2728         register into good corpus.
2729         (elmo-spam-register-good-buffer): Fixed to register into bad
2730         corpus.
2731
2732 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2733
2734         * elmo-version.el (elmo-version): Up to 2.11.20.
2735
2736         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2737         change.
2738
2739         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2740         flag without depending on \Recent flag.
2741
2742 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2743
2744         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2745         (elmo-spam-modified-p): Defined.
2746         (elmo-spam-save-status): Set `modified' slot to nil.
2747         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2748         (elmo-spam-register-good-buffer): Ditto.
2749
2750         * elmo-spam.el (elmo-spam-modified-p): New API.
2751
2752 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2753
2754         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2755         duplicate definition.
2756
2757         * elmo-util.el (elmo-unfold-field-body): New function.
2758         (elmo-msgdb-get-message-id-from-buffer): Use it.
2759
2760         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2761         Fixed the last change; Use elmo-unfold-field-body.
2762
2763 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2764
2765         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2766         Unfold date value.
2767
2768 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2769
2770         * elmo-spam.el (elmo-spam-save-status): New API.
2771
2772         * elsp-spamfilter.el: New file.
2773
2774 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2775
2776         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2777
2778 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2779
2780         * elmo-split.el (elmo-split-spam-p): New function.
2781
2782         * elmo-spam.el: New file.
2783
2784         * elsp-bogofilter.el: Ditto.
2785
2786 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2787
2788         * elmo.el (elmo-folder-next-message-number): New API.
2789         (elmo-folder-next-message-number): Define.
2790         (elmo-message-field): Don't check folder length.
2791
2792         * elmo-net.el (elmo-folder-next-message-number): Define.
2793         (elmo-folder-next-message-number-unplugged): Define.
2794
2795         * elmo-map.el (elmo-folder-next-message-number): Define.
2796         (elmo-folder-delete-messages): Clear hash value.
2797
2798         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2799
2800         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2801         (elmo-folder-delete-messages-dop-delayed): Always return t.
2802
2803         * elmo-version.el (elmo-version): Up to 2.11.19.
2804
2805 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2806
2807         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2808         change.
2809
2810         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2811         identical cons cell into the mark-alist and the hash table.
2812
2813 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2814
2815         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2816         elmo-folder-list-messages with argument `visible-only' as t.
2817
2818         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2819         (elmo-folder-msgdb-create): Check the target folder.
2820
2821 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2822
2823         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2824         `permanentflag' instead of `flags'.
2825         (elmo-folder-open): Ditto.
2826         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2827         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2828         (elmo-folder-use-flag-p): Always return t.
2829         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2830         `permanentflags' does not exist.
2831         (elmo-folder-open): Ditto.
2832
2833 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2834
2835         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2836         is nil.
2837         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2838
2839         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2840         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2841         response.
2842         (elmo-folder-open): Ditto.
2843         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2844         slot of the session includes the flag.
2845         (elmo-imap4-session-flag-available-p): New function.
2846         (elmo-imap4-folder-list-flagged): Ditto.
2847         (elmo-folder-list-unreads-plugged): Use it.
2848         (elmo-folder-list-importants-plugged): Ditto.
2849         (elmo-folder-list-answereds-plugged): Ditto.
2850         (elmo-imap4-search-internal-primitive): Ditto.
2851         (elmo-imap4-folder-list-any-plugged,
2852         elmo-imap4-folder-list-digest-plugged): Abolish.
2853
2854         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2855         if numbers is nil.
2856
2857 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2858
2859         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2860
2861 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2862
2863         * elmo-util.el (elmo-get-hash-val): Simplify.
2864         (elmo-set-hash-val): Rewrite.
2865
2866 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2867
2868         * elmo.el (elmo-folder-list-messages): Append killed messages into
2869         result if `visible-only' is nil and `in-msgdb' is non-nil.
2870
2871         * elmo-util.el (elmo-uniq-list): Added optional argument
2872         `delete-function'.
2873
2874         * modb.el (elmo-msgdb-flag-count): New API.
2875
2876         * modb-standard.el (modb-standard): Added slot flag-count.
2877         (modb-standard-countup-flags): New function.
2878         (modb-standard-load-flag): Call it.
2879         (elmo-msgdb-append): Ditto.
2880         (elmo-msgdb-clear): Clear slot flag-count.
2881         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2882         (elmo-msgdb-unset-flag): Treat `all' flag and call
2883         modb-standard-countup-flags.
2884         (elmo-msgdb-flag-count): Define.
2885         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2886         (elmo-msgdb-delete-messages): Ditto.
2887
2888         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2889         (elmo-msgdb-flag-count): Define.
2890
2891         * elmo.el (elmo-folder-list-messages): Undo last change.
2892         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2893         (elmo-folder-kill-messages): Unset all flags to numbers.
2894
2895         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2896         elmo-folder-kill-messages.
2897
2898         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2899         (elmo-nntp-folder-delete-messages): Abolish.
2900
2901         * elmo-version.el (elmo-version): Up to 2.11.18.
2902
2903 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2904
2905         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2906         (elmo-folder-kill-messages-range): New function.
2907         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2908         instead of elmo-folder-kill-messages-before.
2909
2910 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2911
2912         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2913         elmo-imap4-current-msgdb to decide entity handler.
2914
2915 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2916
2917         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2918
2919         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2920         inline function.
2921         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2922         (elmo-msgdb-overview-entity-set-number,
2923         elmo-msgdb-overview-entity-get-references,
2924         elmo-msgdb-overview-entity-set-references,
2925         elmo-msgdb-overview-entity-get-from-no-decode,
2926         elmo-msgdb-overview-entity-get-from,
2927         elmo-msgdb-overview-entity-set-from,
2928         elmo-msgdb-overview-entity-get-subject,
2929         elmo-msgdb-overview-entity-get-subject-no-decode,
2930         elmo-msgdb-overview-entity-set-subject,
2931         elmo-msgdb-overview-entity-get-date,
2932         elmo-msgdb-overview-entity-set-date,
2933         elmo-msgdb-overview-entity-get-to,
2934         elmo-msgdb-overview-entity-get-cc,
2935         elmo-msgdb-overview-entity-get-size,
2936         elmo-msgdb-overview-entity-set-size,
2937         elmo-msgdb-overview-entity-get-extra,
2938         elmo-msgdb-overview-entity-set-extra,
2939         elmo-msgdb-overview-entity-get-extra-field,
2940         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2941         (elmo-msgdb-make-index): Use
2942         `elmo-msgdb-overview-entity-get-number-internal'.
2943         (elmo-msgdb-clear-index): Ditto.
2944         (elmo-msgdb-append-entity): Ditto;
2945         Use `elmo-msgdb-overview-entity-get-id-internal'.
2946
2947         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2948         elmo-msgdb-overview-entity-set-number,
2949         elmo-msgdb-overview-entity-get-references,
2950         elmo-msgdb-overview-entity-set-references,
2951         elmo-msgdb-overview-entity-get-from-no-decode,
2952         elmo-msgdb-overview-entity-get-from,
2953         elmo-msgdb-overview-entity-set-from,
2954         elmo-msgdb-overview-entity-get-subject,
2955         elmo-msgdb-overview-entity-get-subject-no-decode,
2956         elmo-msgdb-overview-entity-set-subject,
2957         elmo-msgdb-overview-entity-get-date,
2958         elmo-msgdb-overview-entity-set-date,
2959         elmo-msgdb-overview-entity-get-to,
2960         elmo-msgdb-overview-entity-get-cc,
2961         elmo-msgdb-overview-entity-get-size,
2962         elmo-msgdb-overview-entity-set-size,
2963         elmo-msgdb-overview-entity-get-extra,
2964         elmo-msgdb-overview-entity-set-extra,
2965         elmo-msgdb-overview-entity-get-extra-field,
2966         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2967         and rewrote for backward compatibility.
2968
2969 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2970
2971         * elmo.el (elmo-message-entity-number,
2972         elmo-message-entity-set-number,
2973         elmo-message-entity-field,
2974         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2975
2976         * elmo-msgdb.el (elmo-message-entity-number,
2977         elmo-message-entity-set-number,
2978         elmo-message-entity-field,
2979         elmo-message-entity-set-field): Moved from elmo.el.
2980
2981 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2982
2983         * elmo.el (toplevel): Changed definition orders.
2984
2985 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2986
2987         * modb.el (elmo-msgdb-search): New API .
2988         (elmo-msgdb-match-condition): Ditto.
2989
2990         * modb-standard.el (elmo-msgdb-search): Define.
2991
2992         * modb-legacy.el (elmo-msgdb-search): Ditto.
2993
2994         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2995         from elmo-msgdb-match-condition-internal.
2996
2997         * elmo.el (elmo-folder-search-fast): Abolish.
2998         (elmo-folder-search): Use elmo-msgdb-search and
2999         elmo-with-progress-display.
3000
3001         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3002         as msgdb API.
3003
3004         * elmo.el (elmo-folder): Remove slot message-modified and
3005         flag-modified.
3006         (elmo-folder-set-message-modified): Abolish.
3007         (elmo-generic-folder-commit): Follow the change above.
3008         (elmo-folder-synchronize): Ditto.
3009
3010         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3011
3012         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3013
3014         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3015
3016 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3017
3018         * modb-standard.el (modb-standard-make-message-entity,
3019         elmo-msgdb-make-message-entity,
3020         elmo-msgdb-create-message-entity-from-buffer,
3021         elmo-msgdb-message-entity-number,
3022         elmo-msgdb-message-entity-set-number,
3023         elmo-msgdb-message-entity-field,
3024         elmo-msgdb-message-entity-set-field,
3025         elmo-msgdb-copy-message-entity,
3026         elmo-msgdb-match-condition-internal): Remove.
3027
3028         * modb-entity.el: New file (again).
3029
3030         * modb.el (toplevel): Require modb-entity.
3031         (elmo-msgdb-message-entity-handler): New method.
3032
3033         * modb-standard.el (modb-standard-entity-id): Use
3034         elmo-message-entity-handler.
3035         (modb-standard-load-entity): Ditto.
3036         (elmo-msgdb-append-entity): Ditto.
3037         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3038
3039         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3040         elmo-msgdb-decoded-cache-hashtb,
3041         (modb-legacy-make-message-entity,
3042         elmo-msgdb-make-message-entity,
3043         elmo-msgdb-create-message-entity-from-buffer,
3044         elmo-msgdb-message-entity-number,
3045         elmo-msgdb-message-entity-set-number,
3046         elmo-msgdb-message-entity-field,
3047         elmo-msgdb-message-entity-set-field,
3048         elmo-msgdb-copy-message-entity,
3049         elmo-msgdb-match-condition-internal,
3050         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3051
3052         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3053         (elmo-message-entity-set-number): Ditto.
3054         (elmo-message-entity-field): Ditto.
3055         (elmo-message-entity-set-field): Ditto.
3056
3057         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3058
3059         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3060
3061         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3062
3063         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3064         (elmo-nntp-msgdb-create-message): Ditto.
3065
3066         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3067         (elmo-folder-msgdb-create): Add unread flag.
3068
3069         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3070
3071         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3072
3073         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3074
3075         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3076
3077         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3078         elmo-msgdb-messge-entity-handler.
3079         * elmo-version.el (elmo-version): Up to 2.11.17.
3080
3081 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3082
3083         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3084         change.
3085
3086 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3087
3088         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3089
3090         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3091         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3092         (elmo-msgdb-flag-table): Ditto.
3093         (elmo-msgdb-sort-by-date): Ditto.
3094
3095         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3096
3097         * modb-standard.el (toplevel): Require mime.
3098         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3099         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3100         elmo-msgdb-message-entity-number.
3101         (elmo-msgdb-append-entity): Ditto.
3102         (elmo-msgdb-create-message-entity-from-file): Remove.
3103         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3104         corresponds to the entity.
3105         (elmo-msgdb-message-entity-number): Do nothing currently.
3106         (elmo-msgdb-message-entity-field): Ditto.
3107         (elmo-msgdb-message-entity-set-field): Ditto.
3108         (elmo-msgdb-copy-message-entity): Ditto.
3109         (elmo-msgdb-match-condition-internal): Ditto.
3110
3111         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3112         elmo-util.el.
3113         (elmo-msgdb-create-message-entity-from-file): Remove.
3114
3115         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3116         modb-legacy.el.
3117         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3118
3119         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3120
3121 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3122
3123         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3124         (elmo-msgdb-message-entity-field): Ditto.
3125         (elmo-msgdb-message-entity-number): Ditto.
3126
3127 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3128
3129         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3130         Fixed how to set extra field into entity.
3131         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3132         symbol.
3133
3134         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3135         Fixed how to set extra field into entity.
3136         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3137         symbol.
3138
3139 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3140
3141         * modb.el (elmo-message-entity-db): New function.
3142         (elmo-msgdb-make-message-entity): New API.
3143         (elmo-msgdb-message-entity-number): Ditto.
3144         (elmo-msgdb-message-entity-set-number): Ditto.
3145         (elmo-msgdb-message-entity-field): Ditto.
3146         (elmo-msgdb-message-entity-set-field): Ditto.
3147         (elmo-msgdb-copy-message-entity): Ditto.
3148         (elmo-msgdb-create-message-entity-from-file): Ditto.
3149         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3150         (elmo-msgdb-match-condition-internal): Ditto.
3151
3152         * modb-standard.el (modb-legacy): Require modb-legacy.
3153         (modb-standard-make-message-entity): New inline function.
3154         (elmo-msgdb-make-message-entity): Define.
3155         (elmo-msgdb-create-message-entity-from-file): Ditto.
3156         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3157         (elmo-msgdb-message-entity-field): Ditto.
3158         (elmo-msgdb-message-entity-set-field): Ditto.
3159         (elmo-msgdb-copy-message-entity): Ditto.
3160         (elmo-msgdb-match-condition-internal): Ditto.
3161
3162         * modb-legacy.el: Don't require modb-entity.
3163         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3164         (elmo-msgdb-match-condition-primitive): Ditto.
3165         (elmo-msgdb-get-decoded-cache): Ditto.
3166         (elmo-msgdb-overview-entity-get-id): Ditto.
3167         (elmo-msgdb-overview-entity-get-number): Ditto.
3168         (elmo-msgdb-overview-entity-set-number): Ditto.
3169         (elmo-msgdb-overview-entity-get-references): Ditto.
3170         (elmo-msgdb-overview-entity-set-references): Ditto.
3171         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3172         (elmo-msgdb-overview-entity-get-from): Ditto.
3173         (elmo-msgdb-overview-entity-set-from): Ditto.
3174         (elmo-msgdb-overview-entity-get-subject): Ditto.
3175         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3176         (elmo-msgdb-overview-entity-set-subject): Ditto.
3177         (elmo-msgdb-overview-entity-get-date): Ditto.
3178         (elmo-msgdb-overview-entity-set-date): Ditto.
3179         (elmo-msgdb-overview-entity-get-to): Ditto.
3180         (elmo-msgdb-overview-entity-get-cc): Ditto.
3181         (elmo-msgdb-overview-entity-get-size): Ditto.
3182         (elmo-msgdb-overview-entity-set-size): Ditto.
3183         (elmo-msgdb-overview-entity-get-extra): Ditto.
3184         (elmo-msgdb-overview-entity-set-extra): Ditto.
3185         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3186         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3187         (elmo-msgdb-number-load): Ditto.
3188         (elmo-msgdb-overview-load): Ditto.
3189         (elmo-msgdb-mark-load): Ditto.
3190         (elmo-msgdb-number-save): Ditto.
3191         (elmo-msgdb-mark-save): Ditto.
3192         (elmo-msgdb-overview-save): Ditto.
3193         (modb-legacy-make-message-entity): New inline function.
3194         (elmo-msgdb-insert-file-header): Ditto.
3195         (elmo-msgdb-make-message-entity): Define.
3196         (elmo-msgdb-create-message-entity-from-file): Ditto.
3197         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3198         (elmo-msgdb-message-entity-number): Ditto.
3199         (elmo-msgdb-message-entity-set-number): Ditto.
3200         (elmo-msgdb-message-entity-field): Ditto.
3201         (elmo-msgdb-message-entity-set-field): Ditto.
3202         (elmo-msgdb-copy-message-entity): Ditto.
3203         (elmo-msgdb-match-condition-internal): Ditto.
3204
3205         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3206         (elmo-message-copy-entity): Rewrite.
3207         (elmo-message-entity-number): Ditto.
3208         (elmo-message-entity-set-number): Ditto.
3209         (elmo-message-entity-field): Use elmo-message-entity-db.
3210         (elmo-message-entity-set-field): Ditto.
3211         (elmo-message-field): Rewrite.
3212
3213         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3214         elmo-msgdb.el
3215         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3216
3217         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3218         elmo-message-entity-field.
3219         (elmo-shimbun-folder-shimbun-header): Ditto.
3220         (elmo-shimbun-entity-to-header): Ditto.
3221         (elmo-folder-msgdb-create): Ditto.
3222         (elmo-shimbun-msgdb-create-entity): Ditto;
3223         Use elmo-msgdb-create-message-entity-from-buffer.
3224         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3225         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3226
3227         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3228         elmo-msgdb-create-message-entity-from-file and 
3229         elmo-message-entity-field.
3230
3231         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3232         elmo-message-entity-number.
3233         (elmo-pop3-msgdb-create-message): Use
3234         elmo-msgdb-create-message-entity-from-buffer,
3235         elmo-message-entity-set-field, elmo-message-entity-number and
3236         elmo-message-entity-set-number.
3237
3238         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3239         the API change in elmo-msgdb-make-message-entity.
3240         (elmo-nntp-msgdb-create-message): Use
3241         elmo-msgdb-create-message-entity-from-buffer.
3242
3243         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3244         elmo-message-entity-field and
3245         elmo-msgdb-create-message-entity-from-file.
3246
3247         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3248         (elmo-msgdb-get-field): Abolish.
3249         (elmo-msgdb-get-number): Rewrite.
3250         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3251         (elmo-msgdb-flag-table): Ditto.
3252         (elmo-msgdb-get-last-message-id,
3253         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3254         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3255         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3256         (elmo-msgdb-create-overview-from-buffer,
3257         elmo-msgdb-overview-get-parent-entity): Abolish.
3258
3259         * elmo-mime.el (elmo-mime-display-as-is): Use
3260         elmo-message-entity-field.
3261
3262         * elmo-map.el (elmo-folder-pack-numbers): Use
3263         elmo-message-entity-set-number.
3264
3265         * elmo-maildir.el (elmo-folder-msgdb-create): 
3266         elmo-msgdb-create-message-entity-from-file instead of
3267         elmo-msgdb-create-overview-entity-from-file.
3268
3269         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3270         msgdb.
3271         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3272         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3273
3274         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3275         elmo-messge-entity-field and elmo-message-entity-number.
3276         (elmo-imap4-fetch-callback-1): Call
3277         elmo-msgdb-create-message-entity-from-buffer instead of
3278         elmo-msgdb-create-overview-from-buffer. 
3279         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3280         (elmo-find-fetch-strategy): Likewise.
3281
3282         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3283         elmo-localdir-msgdb-create-entity with argument msgdb.
3284
3285         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3286         and elmo-message-entity-set-number.
3287
3288         * elmo-cache.el (elmo-folder-msgdb-create): Use
3289         elmo-message-entity-field.
3290         (elmo-folder-msgdb-create): Call
3291         elmo-msgdb-create-message-entity-from-file instead of
3292         elmo-msgdb-create-overview-entity-from-file.
3293
3294         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3295         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3296         instead of elmo-msgdb-create-overview-from-buffer.
3297         (elmo-archive-msgdb-create-entity): Ditto.
3298         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3299         elmo-message-entity-field.
3300         (elmo-archive-parse-mmdf): Ditto.
3301
3302         * modb-entity.el: Removed.
3303
3304         * elmo-version.el (elmo-version): Up to 2.11.16.
3305
3306 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3307
3308         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3309         `is-local'.
3310         (elmo-folder-flag-as-answered): Ditto.
3311
3312 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3313
3314         * modb-standard.el: New file.
3315
3316         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3317         elmo-msgdb-convert-type is `sync'.
3318
3319         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3320         (elmo-msgdb-convert-type): New user option.
3321
3322         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3323         (elmo-load-msgdb): Auto detect saved type.
3324
3325         * elmo-version.el (elmo-version): Up to 2.11.15.
3326
3327 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3328
3329         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3330
3331         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3332         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3333         with argument `delete-if-none' when dst-folder is 'null.
3334
3335         * elmo-flag.el (elmo-folder-append-messages): Defined.
3336         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3337
3338 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3339
3340         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3341
3342 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3343
3344         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3345         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3346         (elmo-folder-commit): Ditto.
3347
3348 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3349
3350         * elmo-flag.el: New file.
3351
3352         * elmo-mark.el: Removed.
3353
3354         * modb-legacy.el (modb-legacy-new-mark,
3355         modb-legacy-unread-uncached-mark,
3356         modb-legacy-unread-cached-mark,
3357         modb-legacy-read-uncached-mark,
3358         modb-legacy-answered-cached-mark,
3359         modb-legacy-answered-uncached-mark,
3360         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3361         All other related portions are changed.
3362
3363         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3364         (elmo-folder-list-messages-with-global-mark): Abolish.
3365         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3366         (elmo-folder-flag-as-important): Ditto.
3367         (elmo-folder-unflag-read): Ditto.
3368         (elmo-folder-flag-as-read): Ditto.
3369         (elmo-folder-unflag-answered): Ditto.
3370         (elmo-folder-flag-as-answered): Ditto.
3371         (elmo-message-encache): Return the cache path.
3372         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3373         (elmo-message-set-flag): Transitional implementation.
3374         (elmo-message-unset-flag): Ditto.
3375         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3376         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3377         (elmo-init): Call elmo-global-flag-initialize.
3378         (toplevel): Added autoload settings for elmo-flag.
3379
3380         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3381
3382         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3383         (elmo-file-cache-delete): Don't treat global-mark.
3384
3385         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3386
3387         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3388
3389         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3390         `elmo-global-flags-set'.
3391
3392         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3393         `flag'.
3394         (elmo-folder-unflag-read): Ditto.
3395         (elmo-folder-unflag-important): Ditto.
3396         (elmo-folder-flag-as-important): Ditto.
3397         (elmo-folder-unflag-answered): Ditto.
3398         (elmo-folder-flag-as-answered): Ditto.
3399
3400         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3401         `elmo-global-flags-set'.
3402         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3403
3404         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3405
3406         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3407         `flag'.
3408         (elmo-folder-flag-as-important): Ditto.
3409         (elmo-folder-unflag-important): Ditto.
3410         (elmo-folder-flag-as-important): Ditto.
3411         (elmo-folder-unflag-read): Ditto.
3412         (elmo-folder-flag-as-read): Ditto.
3413         (elmo-folder-unflag-answered): Ditto.
3414         (elmo-folder-flag-as-answered): Ditto.
3415
3416         * elmo-multi.el (elmo-folder-list-importants): Don't call
3417         elmo-folder-list-messages-with-global-mark.
3418         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3419         (elmo-folder-unflag-important): Ditto.
3420         (elmo-folder-flag-as-read): Ditto.
3421         (elmo-folder-unflag-read): Ditto.
3422         (elmo-folder-flag-as-answered): Ditto.
3423         (elmo-folder-unflag-answered): Ditto.
3424
3425         * elmo-msgdb.el (elmo-msgdb-new-mark,
3426         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3427         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3428         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3429         (Moved to modb-legacy.el).
3430         (elmo-flag-table-get): Treat important flag too.
3431
3432         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3433         `mark' to `flag'.
3434         (elmo-map-folder-flag-as-important): Ditto.
3435         (elmo-map-folder-unflag-read): Ditto.
3436         (elmo-map-folder-flag-as-read): Ditto.
3437         (elmo-map-folder-unflag-answered): Ditto.
3438         (elmo-map-folder-flag-as-answered): Ditto.
3439         (elmo-folder-unflag-important): Ditto.
3440         (elmo-folder-flag-as-important): Ditto.
3441         (elmo-folder-unflag-read): Ditto.
3442         (elmo-folder-flag-as-read): Ditto.
3443         (elmo-folder-unflag-answered): Ditto.
3444         (elmo-folder-flag-as-answered): Ditto.
3445
3446         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3447         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3448         `flag'.
3449         (elmo-map-folder-unflag-important): Ditto.
3450         (elmo-map-folder-flag-as-read): Ditto.
3451         (elmo-map-folder-unflag-read): Ditto.
3452         (elmo-map-folder-flag-as-answered): Ditto.
3453         (elmo-map-folder-unflag-answered): Ditto.
3454
3455         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3456         `elmo-global-flags-set'.
3457         (elmo-global-flags-set): Added autoload setting.
3458
3459         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3460         `flag'.
3461
3462         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3463         `elmo-msgdb-global-mark-set'.
3464         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3465         Call `elmo-global-flags-set'.
3466         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3467         `flag'.
3468         (elmo-folder-flag-as-important-plugged): Ditto.
3469         (elmo-folder-unflag-read-plugged): Ditto.
3470         (elmo-folder-flag-as-read-plugged): Ditto.
3471         (elmo-folder-unflag-answered-plugged): Ditto.
3472         (elmo-folder-flag-as-answered-plugged): Ditto.
3473         (elmo-global-flags-set): Added autoload setting.
3474
3475         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3476         `flag'.
3477         (elmo-folder-unflag-read): Ditto.
3478         (elmo-folder-flag-as-important): Ditto.
3479         (elmo-folder-unflag-important): Ditto.
3480         (elmo-folder-flag-as-answered): Ditto.
3481         (elmo-folder-unflag-answered): Ditto.
3482
3483         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3484         change of `mark'->`flag'.
3485         (elmo-dop-queue-method-name-alist): Ditto.
3486         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3487         (elmo-folder-unflag-read-dop): Ditto.
3488         (elmo-folder-flag-as-important-dop): Ditto.
3489         (elmo-folder-unflag-important-dop): Ditto.
3490         (elmo-folder-flag-as-answered-dop): Ditto.
3491         (elmo-folder-unflag-answered-dop): Ditto.
3492
3493         * elmo-cache.el (elmo-folder-msgdb-create): Call
3494         `elmo-global-flags-set'.
3495
3496         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3497         Call `elmo-global-flags-set'.
3498         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3499         elmo-archive-parse-mmdf with argument `folder'.
3500         (elmo-archive-parse-mmdf): Added argument `folder';
3501         Call `elmo-global-flags-set'.
3502
3503         * elmo-version.el (elmo-version): Up to 2.11.14.
3504
3505 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3506
3507         * modb.el (elmo-msgdb-length): Define.
3508
3509         * elmo.el (elmo-make-folder): Fixed.
3510         (elmo-generic-folder-append-messages): Follow the API change.
3511
3512         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3513         API change.
3514
3515 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3516
3517         * modb.el: New file.
3518
3519         * modb-entity.el: Ditto.
3520
3521         * modb-legacy.el: Ditto.
3522
3523         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3524         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3525         of `elmo-msgdb-overview-get-entity'.
3526         (elmo-msgdb-get-field): Ditto.
3527         (elmo-msgdb-merge): Moved to `elmo.el'.
3528         (elmo-msgdb-length): Removed; redefine as modb method.
3529         (elmo-msgdb-change-mark): Abolish.
3530         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3531         (elmo-msgdb-match-condition): Don't use mark.
3532         (elmo-msgdb-overview-get-entity): Abolish.
3533         Split modb part into `modb*.el'.
3534
3535         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3536
3537         * elmo-shimbun.el (shimbun-mua-search-id): Use
3538         `elmo-msgdb-message-entity' instead of
3539         `elmo-msgdb-overview-get-entity'.
3540         (elmo-shimbun-folder-shimbun-header): Ditto.
3541         (elmo-shimbun-get-headers): Ditto.
3542         (elmo-shimbun-update-overview): Ditto.
3543
3544         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3545
3546         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3547
3548         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3549         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3550
3551         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3552         `elmo-msgdb-mark-to-flags'.
3553
3554         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3555         `elmo-msgdb-set-path'.
3556
3557         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3558  
3559         * elmo-version.el (elmo-version): Up to 2.11.13.
3560
3561         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3562
3563         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3564         of mark.
3565
3566 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3567
3568         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3569         mismatch.
3570
3571 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3572
3573         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3574         instead of `elmo-msgdb-get-cached'.
3575         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3576
3577         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3578         (elmo-msgdb-set-cached): Ditto.
3579         (elmo-msgdb-set-flag): Rewrite.
3580         (elmo-msgdb-unset-flag): Ditto.
3581
3582         * elmo-msgdb.el: Rewrite with luna.
3583
3584         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3585         (elmo-folder-msgdb): Follow the change above.
3586         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3587         (elmo-folder-unmark-important): Follow the API change.
3588         (elmo-folder-mark-as-important): Ditto.
3589         (elmo-folder-unmark-read): Ditto.
3590         (elmo-folder-mark-as-read): Ditto.
3591         (elmo-folder-unmark-answered): Ditto.
3592         (elmo-folder-mark-as-answered): Ditto.
3593         (elmo-folder-clear): Likewise.
3594
3595         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3596         instead of `elmo-msgdb-load' (renamed).
3597
3598         * elmo-version.el (elmo-version): Up to 2.11.12.
3599
3600 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3601
3602         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3603         change.
3604         (elmo-message-mark): Abolish.
3605         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3606         instead of `elmo-msgdb-change-mark'.
3607
3608         * elmo-pipe.el (elmo-message-mark): Abolish.
3609
3610         * elmo-multi.el (elmo-message-mark): Ditto.
3611
3612         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3613         (elmo-msgdb-unread-uncached-mark): Ditto.
3614         (elmo-msgdb-unread-cached-mark): Ditto.
3615         (elmo-msgdb-read-uncached-mark): Ditto.
3616         (elmo-msgdb-answered-cached-mark): Ditto.
3617         (elmo-msgdb-answered-uncached-mark): Ditto.
3618         (elmo-msgdb-important-mark): Ditto.
3619         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3620         `use-cache'.
3621         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3622         `flags'.
3623         (elmo-flag-table-load): Changed flag to list of flag.
3624         (elmo-flag-table-set): If flags is nil, set read flag.
3625         (elmo-flag-table-get): Return derived flags from global mark,
3626         cache status and saved flags.
3627         (elmo-msgdb-flag-table): Follow the change above.
3628         (elmo-msgdb-out-of-date-messages): New function.
3629
3630         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3631
3632         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3633
3634         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3635
3636         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3637         (elmo-nntp-msgdb-create-message): Ditto.
3638
3639         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3640
3641         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3642         independent.
3643         (elmo-folder-msgdb-create): Follow the API change.
3644
3645         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3646         (elmo-folder-append-messages): Ditto.
3647
3648         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3649         (elmo-folder-append-buffer): Ditto.
3650
3651         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3652
3653         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3654
3655         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3656         (elmo-archive-parse-mmdf): Ditto.
3657
3658         * elmo-version.el (elmo-version): Up to 2.11.11.
3659
3660 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3661
3662         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3663         `elmo-msgdb-mark'.
3664
3665         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3666
3667         * elmo-pipe.el (elmo-message-flags): Defined.
3668
3669         * elmo-multi.el (elmo-message-flags): Ditto.
3670
3671 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3672
3673         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3674         `elmo-msgdb-delete-msgs'.
3675
3676         * elmo.el (elmo-folder-count-flags): Don't use
3677         `elmo-msgdb-get-mark-alist'.
3678         (elmo-folder-detach-messages): Follow the API change.
3679
3680         * elmo.el (elmo-folder-list-messages): Append killed messages into
3681         result if `visible-only' is nil.
3682
3683         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3684         canceled messages.
3685         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3686         (elmo-folder-update-number): Likewise.
3687
3688         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3689         (elmo-pop3-sort-msgdb-by-original-number): Use
3690         `elmo-msgdb-sort-entities'.
3691
3692         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3693         (elmo-msgdb-sort-by-date): Use it.
3694         (elmo-msgdb-overview-sort-by-date): Abolish.
3695
3696         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3697
3698         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3699         (elmo-msgdb-flags): New function.
3700         (elmo-msgdb-merge): Use elmo-msgdb-append.
3701
3702         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3703         change.
3704
3705         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3706
3707         * elmo-dop.el (elmo-folder-status-dop): Use
3708         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3709
3710 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3711
3712         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3713
3714         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3715
3716         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3717
3718         * elmo-util.el (elmo-with-progress-display): New macro.
3719
3720         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3721
3722 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3723
3724         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3725         `elmo-folder-list-message-entities' instead of
3726         `elmo-msgdb-get-overview'.
3727         (elmo-map-folder-list-message-locations): Ditto.
3728
3729         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3730         methods instead of treat directly).
3731         (elmo-msgdb-clear): Ditto.
3732         (elmo-msgdb-delete-msgs): Ditto.
3733         (elmo-msgdb-sort-by-date): Ditto.
3734
3735         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3736         local variables.
3737         (elmo-nntp-folder-msgdb-create): Follow the API change.
3738
3739         * elmo-version.el (elmo-version): Up to 2.11.10.
3740
3741 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3742
3743         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3744         (elmo-msgdb-flags-to-mark): Ditto.
3745         (elmo-msgdb-append-entity): Ditto.
3746
3747         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3748         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3749         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3750         (elmo-archive-parse-mmdf): Ditto.
3751
3752         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3753
3754         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3755
3756         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3757
3758         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3759
3760         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3761
3762         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3763
3764         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3765
3766         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3767
3768         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3769         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3770         to empty msgdb.
3771
3772         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3773         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3774         instead of directly construction.
3775         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3776         instead of construct msgdb.
3777
3778         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3779         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3780         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3781         instead of construct msgdb.
3782
3783 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3784
3785         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3786         when field is from or subject.
3787
3788 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3789
3790         * elmo-multi.el (elmo-message-entity-parent): Define.
3791         (elmo-folder-search): Rewrite.
3792
3793 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3794
3795         * elmo-multi.el (elmo-message-cached-p): Define.
3796
3797         * elmo.el (elmo-message-cached-p): New method.
3798         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3799         (elmo-message-flags): New method.
3800         (elmo-message-flagged-p): New function.
3801
3802         * elmo-version.el (elmo-version): Up to 2.11.9.
3803
3804 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3805
3806         * elmo-version.el (elmo-version): Up to 2.11.8.
3807
3808         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3809
3810         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3811
3812 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3813
3814         * elmo.el (elmo-folder-detach-messages): Undo last change.
3815
3816 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3817
3818         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3819
3820         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3821         only when src folder type is pop3.
3822
3823 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3824
3825         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3826         elmo-msgdb-overview-entity-get-number instead of
3827         elmo-message-entity-number.
3828
3829 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3830
3831         * elmo-version.el (elmo-version): Up to 2.11.7.
3832
3833 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3834
3835         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3836         function.
3837
3838         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3839         (elmo-msgdb-merge): New function.
3840         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3841         (elmo-msgdb-make-index): Rewrite.
3842
3843         * elmo-version.el (elmo-version): Up to 2.11.6.
3844
3845         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3846         use it as a the path for loading message entities.
3847
3848         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3849
3850 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3851
3852         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3853         message-modified slot of itself if it does not require target msgdb.
3854
3855         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3856         if folder length is zero.
3857         (elmo-mime-display-as-is): Ditto.
3858
3859         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3860
3861         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3862
3863 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3864
3865         * elmo.el (elmo-folder-set-message-modified): New method.
3866         (elmo-generic-folder-commit): Use it.
3867         (elmo-folder-synchronize): Ditto.
3868
3869         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3870         (elmo-folder-commit): Remove duplicate definition.
3871
3872 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3873
3874         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3875
3876 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3877
3878         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3879         (elmo-strict-folder-diff): Ditto.
3880         (elmo-folder-set-info-max-by-numdb): Simplify.
3881
3882         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3883         elmo-msgdb-list-messages.
3884
3885         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3886         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3887
3888 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3889
3890         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3891         visible-only is non-nil.
3892         (elmo-folder-confirm-appends): Changed message.
3893         (elmo-folder-synchronize): Added argument disable-killed.
3894
3895         * elmo-multi.el (elmo-folder-synchronize): Added argument
3896         disable-killed.
3897
3898         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3899
3900         * elmo-version.el (elmo-version): Up to 2.11.5.
3901
3902         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3903         elmo-list-filter.
3904
3905         * elmo-util.el (elmo-list-filter): Simplify.
3906
3907         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3908         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3909         (elmo-generic-folder-diff): Abolish argument.
3910         (elmo-msgdb-load): Don't use number-alist.
3911
3912         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3913
3914         * elmo-pipe.el (elmo-folder-diff): Ditto.
3915
3916         * elmo-nmz.el (elmo-folder-diff): Ditto.
3917
3918         * elmo-net.el (elmo-folder-diff): Ditto.
3919
3920         * elmo-maildir.el (elmo-folder-diff): Ditto.
3921
3922         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3923
3924         * elmo-multi.el (elmo-folder-diff): Ditto
3925         (elmo-multi-folder-diff): Rewrite.
3926
3927 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3928
3929         * elmo-pipe.el (elmo-folder-msgdb): Define.
3930
3931 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3932
3933         * elmo.el (elmo-message-set-cached): Define as a method.
3934
3935         * elmo-pipe.el (elmo-message-set-cached): Define.
3936         (elmo-find-fetch-strategy): Ditto.
3937
3938         * elmo-multi.el (elmo-message-set-cached): Define.
3939         (elmo-find-fetch-strategy): Rewrite.
3940
3941         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3942
3943         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3944
3945 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3946
3947         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3948         instead of number-alist.
3949
3950         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3951         mark nor message-id when msgdb of source folder is not loaded.
3952
3953         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3954
3955         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3956
3957 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3958
3959         * elmo.el (elmo-folder-length): Don't require msgdb.
3960
3961 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3962
3963         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3964         (elmo-message-field): Ditto.
3965
3966         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3967         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3968         slot.
3969         (elmo-map-folder-list-answereds): Define.
3970         (elmo-maildir-list-location): Treat 'R' info.
3971         (elmo-folder-msgdb-create): Treat flag-table.
3972         (elmo-folder-append-messages): Save flag-table.
3973
3974 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3975
3976         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3977         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3978
3979 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3980
3981         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3982
3983         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3984         'read when mark is null.
3985
3986 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3987
3988         * elmo-version.el (elmo-version): Up to 2.11.4.
3989
3990 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3991
3992         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3993         (elmo-folder-mark-as-answered): Ditto.
3994
3995 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3996
3997         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3998         (elmo-pop3-get-session): Make msgdb directory after session.
3999         (elmo-folder-exists-p): Check exactly at the first time even when the
4000         elmo-pop3-exists-exactly is nil.
4001
4002         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4003         (elmo-folder-list-messages): Define instead of
4004         elmo-folder-list-messages-internal.
4005         (elmo-folder-check): Check destination folder.
4006         (elmo-folder-synchronize): Drain the pipe.
4007
4008         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4009         when msgdb is not loaded.
4010
4011         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4012
4013         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4014         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4015         messages.
4016
4017         * elmo.el (elmo-folder-kill-messages-before): New function.
4018         (elmo-folder-kill-messages): Ditto.
4019         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4020
4021         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4022         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4023         killed not by synchronize (e.g. scoring).
4024
4025 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4026
4027         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4028         treated.
4029         (elmo-folder-search): Follow the change above.
4030
4031         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4032         into the candidates of search field.
4033
4034 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4035
4036         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4037         (elmo-msgdb-unset-flag): Ditto.
4038
4039         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4040
4041 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4042
4043         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4044         (elmo-folder-commit): Define.
4045         (elmo-folder-synchronize): Ditto.
4046         (elmo-folder-list-flagged): Ditto.
4047         (elmo-folder-commit): Ditto.
4048         (elmo-folder-length): Ditto.
4049         (elmo-folder-count-flags): Ditto.
4050         (elmo-message-mark): Ditto.
4051         (elmo-message-field): Ditto.
4052         (elmo-message-entity): Ditto.
4053         (elmo-message-folder): Ditto.
4054
4055 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4056
4057         * elmo.el (elmo-message-field): Define as a method.
4058
4059         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4060         (elmo-message-field): Define.
4061
4062         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4063         (elmo-folder-list-importants): Ditto.
4064         (elmo-folder-list-answereds): Ditto.
4065
4066         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4067         qualifier.
4068         (elmo-folder-mark-as-read): Ditto.
4069         (elmo-folder-unmark-read): Ditto.
4070         (elmo-folder-mark-as-answered): Ditto.
4071         (elmo-folder-unmark-answered): Ditto.
4072         (elmo-folder-list-flagged): Define.
4073         (elmo-folder-commit): Ditto.
4074         (elmo-folder-length): Ditto.
4075         (elmo-folder-count-flags): Ditto.
4076
4077 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4078
4079         * elmo.el (elmo-folder-detach-messages): New method.
4080         (elmo-folder-move-messages): Use it.
4081         (elmo-folder-synchronize): Ditto.
4082
4083         * elmo-multi.el (elmo-folder-detach-messages): Define.
4084
4085         * elmo.el (elmo-message-copy-entity): New function.
4086         (elmo-message-entity-set-number): Ditto.
4087         (elmo-message-mark): Define as method.
4088
4089         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4090         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4091         (elmo-message-entity): Fixed last change.
4092         (elmo-message-mark): Define.
4093         (elmo-folder-msgdb-create): Abolish.
4094         (elmo-multi-folder-append-msgdb): Ditto.
4095         (elmo-multi-folder-diff): Fixed.
4096         (elmo-multi-split-number-alist): Removed.
4097         (elmo-multi-split-mark-alist): Removed.
4098         (elmo-folder-list-messages): Define.
4099         (elmo-folder-list-messages-internal): Removed.
4100
4101         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4102         local file messages.
4103         (elmo-folder-msgdb-create): Fixed read mark.
4104
4105 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4106
4107         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4108         if mark is nil.
4109
4110 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4111
4112         * elmo.el (elmo-folder-list-message-entities): Define as inline
4113         function.
4114         (elmo-folder-messages): Abolish.
4115
4116         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4117         folder.
4118         (elmo-folder-synchronize): Define.
4119         (elmo-message-entity): Define.
4120
4121 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4122
4123         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4124         elmo-imap4-session-select-mailbox.
4125
4126         * elmo.el (elmo-folder-move-messages): Don't display any message.
4127
4128         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4129         parsing.
4130         (elmo-imap4-session-check): Don't wait CHECK response.
4131         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4132
4133 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4134
4135         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4136
4137 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4138
4139         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4140         API.
4141         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4142
4143
4144         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4145         (elmo-folder-list-message-entities): Added argument in-msgdb and
4146         numbers.
4147         (elmo-folder-synchronize): Define as a method.
4148
4149         * elmo-nntp.el (elmo-folder-initialize): Don't use
4150         elmo-nntp-default-user if zero-length username is specified
4151         explicitly.
4152
4153 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4154
4155         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4156         server name in case with username.
4157         (XXX: this is ad-hoc fix against username includes "@", it
4158         should be solved fundamentally)
4159
4160 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4161
4162         * elmo-nntp.el (elmo-nntp-debug): New function.
4163         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4164         (elmo-network-authenticate-session): Hide auth-info from the log.
4165
4166         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4167         user name if it is equal to elmo-nntp-default-user.
4168
4169 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4170
4171         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4172         instead of shimbun-server-internal;
4173         Use shimbun-current-group instead of shimbun-current-group-internal.
4174         (elmo-folder-plugged-p): Use shimbun-server instead of
4175         shimbun-server-internal.
4176         (elmo-folder-set-plugged): Ditto.
4177         (elmo-net-port-info): Ditto.
4178         (elmo-folder-check): Ditto.
4179         (elmo-folder-expand-msgdb-path): Ditto.
4180         (elmo-folder-list-subfolders): Ditto.
4181
4182 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4183
4184         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4185         Convert field-name to lower case.
4186         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4187
4188 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4189
4190         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4191         `message' and `error' take format string.
4192
4193 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4194
4195         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4196
4197 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4198
4199         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4200         recursive call (can't byte compile on emacs 20.7).
4201
4202 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4203
4204         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4205         (elmo-folder-list-message-entities): New API.
4206         (elmo-message-entity): Ditto.
4207         (elmo-message-entity-parent): Ditto.
4208         (elmo-folder-do-each-message-entity): Ditto.
4209         (elmo-message-entity-number): Ditto.
4210         (elmo-message-entity-field): Ditto.
4211         (elmo-message-entity-set-field): Ditto.
4212         (elmo-folder-count-flags): Ditto.
4213         (elmo-folder-length): Ditto.
4214
4215         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4216         not.
4217
4218         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4219         (elmo-msgdb-count-marks): Abolish.
4220         (elmo-msgdb-make-entity): Ditto.
4221         (elmo-msgdb-do-each-entity): Ditto.
4222         (elmo-msgdb-message-entity): New inline function.
4223         (elmo-msgdb-message-entity-field): Ditto.
4224         (elmo-msgdb-message-entity-set-field): Ditto.
4225         (elmo-msgdb-make-message-entity): New function.
4226
4227 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4228
4229         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4230         to flag. (All other related portions are changed.)
4231         (elmo-folder-msgdb-create): Likewise.
4232         (elmo-generic-folder-append-messages): Use flag-table instead of
4233         seen-list.
4234         (elmo-folder-move-messages): Removed redundant process.
4235         (elmo-folder-synchronize): Likewise.
4236
4237         * elmo-msgdb.el (elmo-flag-table-get): New function.
4238         (elmo-flag-table-save): Fixed.
4239         (elmo-msgdb-length): New inline function.
4240         (elmo-msgdb-flag-table): New function.
4241         (elmo-msgdb-mark): Add optional argument new.
4242         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4243         (elmo-msgdb-seen-list): Ditto.
4244         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4245
4246
4247 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4248
4249         * elmo.el (elmo-message-set-mark): Abolish.
4250         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4251         (All related portions are changed.)
4252
4253         * elmo-msgdb.el (toplevel): Added comment.
4254         (elmo-load-msgdb): Added 4th element `path'.
4255         (elmo-msgdb-append): Follow the change above.
4256         (elmo-msgdb-clear): Ditto.
4257         (elmo-msgdb-delete-msgs): Ditto.
4258         (elmo-msgdb-get-path): New inline function.
4259         (elmo-msgdb-set-path): Ditto.
4260         (elmo-flag-table-filename): New variable.
4261         (elmo-flag-table-load): New function.
4262         (elmo-flag-table-set): Ditto.
4263         (elmo-flag-table-save): Ditto.
4264         (elmo-msgdb-get-field-value): Abolish.
4265         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4266
4267 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4268
4269         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4270         the folder has been deleted successfully.
4271         * elmo-imap4.el (elmo-folder-delete): Ditto.
4272         * elmo-archive.el (elmo-folder-delete): Ditto.
4273         * elmo-localdir.el (elmo-folder-delete): Ditto.
4274         * elmo-maildir.el (elmo-folder-delete): Ditto.
4275
4276 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4277
4278         * elmo-util.el (elmo-string-member-ignore-case): New function.
4279         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4280         (elmo-imap4-fetch-callback-1-subr): Likewise.
4281
4282 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4283
4284         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4285         the case of the name attribute "\Noselect".
4286
4287 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4288
4289         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4290
4291         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4292         flist, is not always a member of onum-alist.
4293
4294 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4295
4296         * elmo-version.el (elmo-version): Up to 2.11.3.
4297
4298 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4299
4300         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4301         copied from localdir's one.
4302
4303         * elmo-pipe.el (elmo-folder-rename): New method, rename
4304         destination folder with leaving source folder as it is.
4305
4306 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4307
4308         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4309         replace-regexp.
4310
4311 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4312
4313         * elmo-version.el (elmo-version): Up to 2.11.2.
4314
4315 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4316
4317         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4318         shimbun-open in case of "@".
4319         (elmo-folder-open-internal): Cope with shimbun = nil case.
4320         (elmo-folder-plugged-p): Ditto.
4321         (elmo-folder-list-subfolders): Make list for "@/" group.
4322
4323 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4324
4325         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4326         mailbox (e.g. for %~/something).
4327
4328 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4329
4330         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4331         Replace nested conditional with guard clauses.
4332
4333 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4334
4335         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4336         error [wl:11327].
4337
4338         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4339         print-depth.
4340
4341 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4342
4343         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4344         Replace nested conditional with guard clauses.
4345
4346 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4347
4348         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4349         (elmo-passwd-alist-save): Ditto.
4350         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4351
4352 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4353
4354         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4355         dir-name only if it is absolute path.
4356         (TODO: distinguish +/something and +something)
4357
4358 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4359
4360         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4361         path for "+~/something".
4362
4363 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4364
4365         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4366         as non-directory, cause error before rename-file.
4367         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4368         apropriately, mimic localdir's one.
4369         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4370
4371 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4372
4373         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4374
4375 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4376
4377         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4378
4379         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4380         
4381         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4382         is included in the global-mark or not.
4383
4384 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4385
4386         * utf7.el (toplevel): Avoid error when the function
4387         find-coding-system does not exist.
4388
4389 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4390
4391         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4392         cache even if the folder is plugged.
4393         (elmo-nntp-search-primitive): Do nothing when body search is
4394         invoked (although it is not used by the change above).
4395         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4396
4397 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4398
4399         * elmo-version.el (elmo-version): Up to 2.11.1.
4400
4401 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4402
4403         * elmo-archive.el: Specify charset.
4404
4405 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4406
4407         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4408         process buffer lives or not.
4409
4410         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4411         while flushing queues (It causes infinite loop).
4412
4413 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4414
4415         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4416
4417 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4418
4419         * utf7.el (toplevel): Check the ucs features dynamically.
4420         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4421
4422         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4423         folder is creatabe or not if it already exists.
4424
4425 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4426
4427         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4428
4429         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4430
4431         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4432         (elmo-imap4-read-response): Take care of garbage response.
4433
4434 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4435
4436         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4437         just return nil instead of error.
4438
4439 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4440
4441         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4442         search-key is "body".
4443
4444 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4445
4446         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4447         of elmo-string-matched-assoc to use match-data.
4448         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4449
4450 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4451
4452         * elmo-split.el (elmo-split->): New function.
4453         (elmo-split-<): Ditto.
4454
4455 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4456
4457         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4458         workaround for invalid message-id.
4459
4460 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4461
4462         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4463         return normal pop3 session or pop3 biff session.
4464
4465 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4466
4467         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4468         info part to the cur files when the new files already have it.
4469         (Adviced by Jared Rhine <jared@wordzoo.com>)
4470
4471 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4472
4473         * elmo-split.el (elmo-split-default-action): New variable.
4474         (elmo-split-subr): Use it if all other conditions are passed.
4475         Extend `fname' and rename it as `action'. (implemented
4476         Teranishi-san's idea in [wl:10800])
4477
4478 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4479
4480         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4481         * elmo-util.el: Ditto.
4482
4483 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4484
4485         * elmo.el (elmo-message-accessible-p): Renamed from
4486         elmo-message-cached-p and rewritten.
4487
4488 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4489
4490         * elmo.el (elmo-folder-list-flagged): New generic function.
4491         (elmo-folder-list-importants): New implementation.
4492         (elmo-folder-list-answereds): Ditto.
4493         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4494         Added 'digest'.
4495         (elmo-message-cached-p): New function.
4496         (elmo-message-set-flag): Ditto (no content).
4497         (elmo-message-unset-flag): Ditto.
4498         (elmo-folder-list-messages-mark-match): Abolish.
4499
4500         * elmo-util.el (elmo-regexp-opt): New function.
4501
4502         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4503         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4504         Added 'digest'.
4505         (elmo-msgdb-list-flagged): New function.
4506
4507         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4508         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4509         Added 'digest'.
4510
4511         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4512
4513 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4514
4515         * elmo-version.el (elmo-version): Up to 2.11.0.
4516
4517 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4518
4519         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4520         `elmo-file-cache-exists-p'; use proper mark that depends on
4521         `use-cache'.
4522         (elmo-msgdb-unset-flag): Ditto.
4523         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4524
4525         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4526         with 4th argument `use-cache'.
4527
4528 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4529
4530         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4531         (elmo-folder-mark-as-important): Ditto.
4532         (elmo-folder-unmark-read): Ditto.
4533         (elmo-folder-mark-as-read): Ditto.
4534         (elmo-folder-unmark-answered): Ditto.
4535         (elmo-folder-mark-as-answered): Ditto.
4536
4537         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4538         message status.
4539         (elmo-msgdb-mark): Likewise.
4540         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4541         (elmo-msgdb-unset-flag): Likewise.
4542
4543         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4544
4545 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4546
4547         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4548         `last:' filter.
4549
4550 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4551
4552         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4553         set spool-length to 0.
4554
4555 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4556
4557         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4558         (elmo-dop-queue-flush): Fixed last change.
4559
4560 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4561
4562         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4563         if require-msgdb slot is nil.
4564         (elmo-folder-list-importants): Likewise.
4565
4566 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4567
4568         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4569         mark is changed.
4570
4571         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4572         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4573         is changed.
4574
4575 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4576
4577         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4578
4579 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4580
4581         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4582
4583         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4584
4585 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4586
4587         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4588         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4589
4590 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4591
4592         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4593         the problem reported by Sean Rima [wl-en:180].
4594
4595 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4596
4597         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4598
4599         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4600
4601         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4602
4603         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4604
4605         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4606
4607         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4608
4609         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4610
4611 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4612
4613         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4614         status number.
4615
4616 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4617
4618         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4619         (elmo-folder-mark-as-read): Follow the API change.
4620         (elmo-message-set-cached): New function.
4621
4622         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4623
4624         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4625
4626         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4627         (elmo-folder-mark-as-important): Ditto.
4628         (elmo-folder-unmark-read): Ditto.
4629         (elmo-folder-mark-as-read): Ditto.
4630         (elmo-folder-unmark-answered): Ditto.
4631         (elmo-folder-mark-as-answered): Ditto.
4632
4633         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4634         (elmo-folder-unmark-important): Ditto.
4635         (elmo-folder-mark-as-read): Ditto.
4636         (elmo-folder-unmark-read): Ditto.
4637         (elmo-folder-mark-as-answered): Ditto.
4638         (elmo-folder-unmark-answered): Ditto.
4639
4640         * elmo-mark.el (toplevel): Removed some mark method definitions.
4641
4642         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4643         (elmo-map-folder-mark-as-answered): Ditto.
4644         (elmo-folder-unmark-important): Add :before qualifier.
4645         (elmo-folder-mark-as-important): Ditto.
4646         (elmo-folder-unmark-read): Ditto.
4647         (elmo-folder-mark-as-read): Ditto.
4648         (elmo-folder-unmark-answered): Define.
4649         (elmo-folder-mark-as-answered): Ditto.
4650
4651         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4652         (elmo-map-folder-unmark-answered): Ditto.
4653
4654         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4655
4656         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4657         (elmo-folder-mark-as-important): Ditto.
4658         (elmo-folder-unmark-read): Ditto.
4659         (elmo-folder-mark-as-read): Ditto.
4660         (elmo-folder-unmark-answered): Ditto.
4661         (elmo-folder-mark-as-answered): Ditto.
4662
4663         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4664         `mark'; evaluate mark condition.
4665         (elmo-msgdb-match-condition-internal): New function.
4666         (elmo-msgdb-match-condition): Call it; changed argument.
4667
4668         * elmo.el (elmo-folder-search): Follow the API change on
4669         `elmo-msgdb-match-condition'.
4670
4671 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4672
4673         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4674         original mark is non-nil.
4675
4676 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4677
4678         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4679         (elmo-map-folder-list-answereds): New method.
4680         (elmo-folder-list-unreads): Add :around qualifier.
4681         (elmo-folder-list-importants): Ditto.
4682         (elmo-folder-list-answereds): Ditto.
4683
4684 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4685
4686         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4687
4688         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4689         method if msgdb is not required.
4690         (elmo-filter-folder-list-importants): Don't treat global-mark.
4691
4692         * elmo.el (elmo-folder-list-importants): Ditto.
4693
4694         * elmo-net.el (elmo-folder-list-importants): Ditto.
4695
4696         * elmo-map.el (elmo-folder-list-importants): Ditto.
4697
4698         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4699
4700         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4701         (elmo-imap4-folder-list-any-plugged): New function.
4702         (elmo-imap4-search-internal-primitive): Use it.
4703
4704         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4705         only when require-msgdb slot is non-nil.
4706         (elmo-folder-close): Clear target folder's msgdb.
4707
4708 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4709
4710         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4711         (elmo-pop3-msgdb-create-by-header): Ditto.
4712         (elmo-pop3-msgdb-create-message): Ditto.
4713
4714         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4715
4716         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4717
4718         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4719
4720         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4721         (elmo-folder-msgdb-create): Ditto.
4722         (elmo-nntp-folder-msgdb-create): Ditto.
4723         (elmo-nntp-msgdb-create-by-header): Ditto.
4724         (elmo-nntp-msgdb-create-message): Ditto.
4725         (elmo-folder-list-unreads): Define.
4726
4727         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4728         (elmo-folder-append-messages): Ditto.
4729         (elmo-folder-list-unreads): Define.
4730         (elmo-folder-list-importants): Ditto.
4731         (elmo-folder-list-answereds): Ditto.
4732
4733         * elmo-net.el (elmo-folder-list-unreads): Define.
4734         (elmo-folder-list-importants): Ditto.
4735         (elmo-folder-list-answereds): Ditto.
4736         (elmo-folder-list-answereds-plugged): Ditto.
4737         (elmo-folder-msgdb-create): Follow the API change.
4738         (elmo-folder-msgdb-create-unplugged): Ditto.
4739         (elmo-folder-unmark-answered): Define.
4740         (elmo-folder-mark-as-answered-unplugged): Ditto.
4741         (elmo-folder-unmark-answered-unplugged): Ditto.
4742
4743         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4744         (elmo-msgdb-unread-uncached-mark): Ditto.
4745         (elmo-msgdb-unread-cached-mark): Ditto.
4746         (elmo-msgdb-read-uncached-mark): Ditto.
4747         (elmo-msgdb-answered-cached-mark): Ditto.
4748         (elmo-msgdb-answered-uncached-mark): Ditto.
4749         (elmo-msgdb-important-mark): Ditto.
4750         (elmo-msgdb-set-mark): Rewrite.
4751         (elmo-msgdb-count-marks): Rewrite.
4752         (elmo-msgdb-mark-alist-set): Abolish.
4753         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4754         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4755
4756         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4757         (elmo-folder-close): Define.
4758         (elmo-folder-msgdb-create): Follow the API change.
4759         (elmo-folder-list-unreads): Rewrite.
4760         (elmo-folder-mark-as-important): Ditto.
4761         (elmo-folder-unmark-important): Ditto.
4762         (elmo-folder-mark-as-read): Ditto.
4763         (elmo-folder-unmark-read): Ditto.
4764         (elmo-folder-mark-as-answered): Define.
4765         (elmo-folder-unmark-answered): Ditto.
4766
4767         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4768         (elmo-folder-append-messages): Ditto.
4769
4770         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4771
4772         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4773         (elmo-folder-list-importants): Ditto.
4774
4775         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4776         (elmo-folder-append-messages): Ditto.
4777
4778         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4779         change.
4780         (elmo-folder-msgdb-create-plugged): Ditto.
4781         (elmo-folder-append-messages): Ditto.
4782         (elmo-folder-list-answereds-plugged): Define.
4783         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4784         (elmo-folder-unmark-answered-plugged): Define.
4785         (elmo-folder-mark-as-answered-plugged): Ditto.
4786         (elmo-folder-search-requires-msgdb-p): Ditto.
4787
4788         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4789         (elmo-folder-initialize): Set it.
4790         (elmo-folder-msgdb): Define.
4791         (elmo-folder-check): Call elmo-folder-synchronize.
4792         (elmo-folder-close): Define.
4793         (elmo-folder-commit): Ditto.
4794         (elmo-folder-msgdb-create): Rewrite.
4795         (elmo-folder-list-unreads): Ditto.
4796         (elmo-folder-list-importants): Ditto.
4797         (elmo-folder-mark-as-read): Ditto.
4798         (elmo-folder-unmark-read): Ditto.
4799         (elmo-folder-mark-as-important): Ditto.
4800         (elmo-folder-unmark-important): Ditto.
4801         (elmo-folder-mark-as-answered): Define.
4802         (elmo-folder-unmark-answered): Ditto.
4803
4804         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4805         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4806         (elmo-dop-queue-method-name-alist): Likewise.
4807         (elmo-folder-mark-as-answered-dop): New inline function.
4808         (elmo-folder-unmark-answered-dop): Ditto.
4809         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4810
4811         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4812         (elmo-folder-msgdb-create): Ditto.
4813         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4814         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4815         (elmo-archive-parse-mmdf): Ditto.
4816
4817         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4818         (elmo-folder-list-unreads-internal): Ditto.
4819
4820         * elmo.el (elmo-folder-msgdb): Define as generic function.
4821         (elmo-folder-list-messages): Added argument `in-msgdb'.
4822         (elmo-folder-list-unreads): Define as generic function.
4823         (elmo-folder-list-importants): Ditto.
4824         (elmo-folder-list-answereds): Ditto.
4825         (elmo-folder-list-messages-with-global-mark): New function.
4826         (elmo-folder-msgdb-create): Removed mark arguments.
4827         (elmo-folder-unmark-answered): New generic function.
4828         (elmo-folder-mark-as-answered): Ditto.
4829         (elmo-folder-append-messages): Removed argunment `unread-marks'
4830         (elmo-folder-list-unreads-internal): Abolish.
4831         (elmo-folder-list-importants-internal): Ditto.
4832         (elmo-folder-search-requires-msgdb-p): New generic function.
4833         (elmo-folder-search-requires-msgdb-p-internal): New function.
4834         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4835         elmo-msgdb-load.
4836         (elmo-folder-search-fast): Added key 'mark'.
4837         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4838         instead of unread-marks argument.
4839         (elmo-folder-move-messages): Removed argunment `unread-marks'
4840         (elmo-folder-unmark-important): Define.
4841         (elmo-folder-mark-as-important): Ditto.
4842         (elmo-folder-unmark-read): Ditto.
4843         (elmo-folder-mark-as-read): Ditto.
4844         (elmo-folder-unmark-answered): Ditto.
4845         (elmo-folder-mark-as-answered): Ditto.
4846         (elmo-folder-replace-marks): Abolish.
4847         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4848         duplicates.
4849         (elmo-folder-synchronize): Removed mark arguments;
4850         return crosspost only number.
4851
4852 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4853
4854         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4855         Remove redundunt connectivity check.
4856
4857 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4858
4859         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4860         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4861
4862 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4863
4864         * pldap.el (ldap-decode-string): Return string as-is if
4865         `ldap-coding-system' is nil.
4866         (ldap-encode-string): Ditto.
4867         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4868         (ldap-default-host): Fixed docstring.
4869
4870 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4871
4872         * elmo-util.el (elmo-warning): Define as a macro which uses
4873         `display-warning' if it is defined as a function.
4874
4875         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4876         (elmo-split-equal): Use it.
4877         (elmo-split-match): Ditto.
4878         (elmo-split-message-entity): New buffer-local variable.
4879         (elmo-split-subr): Set it.
4880
4881         * elmo-version.el (elmo-version): Up to 2.9.15.
4882
4883 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4884
4885         * elmo-imap4.el (elmo-network-initialize-session):
4886         Check capability after starttls.
4887
4888 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4889
4890         * elmo-util.el (elmo-list-delete): Added optional argument
4891         DELETE-FUNCTION.
4892
4893         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4894
4895         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4896
4897         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4898
4899         * elmo-imap4.el (elmo-folder-initialize): Don't use
4900         elmo-imap4-default-mailbox.
4901
4902 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4903
4904         * elmo-split.el (toplevel): Use `product-provide'.
4905         (elmo-split): Checkdoc.
4906
4907 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4908
4909         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4910         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4911         the function `elmo-imap4-debug-1'.
4912
4913 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4914
4915         * elmo-split.el (elmo-split): Moved to run hooks and to show
4916         message from elmo-split-subr.
4917         (elmo-split-subr): Follow the change above.
4918
4919         * elmo-split.el (elmo-split-subr): New function (renamed from
4920         elmo-split-subr).
4921         (elmo-split): Changed to call elmo-split-subr by element of
4922         elmo-split-folder.
4923         (elmo-split-folder): Changed customization type to choice.
4924
4925 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4926
4927         * elmo-split.el (elmo-split-and): Fixed condition.
4928
4929 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4930
4931         * elmo-split.el: New file.
4932         (elmo-split): Fixed logic.
4933         Display "Test:" instead of "Folder:" when reharsal.
4934
4935         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4936         explicitly.
4937
4938         * elmo-version.el (elmo-version): Up to 2.9.14.
4939
4940         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4941         wl-expand-newtext).
4942
4943 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4944
4945         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4946         message with no message-id field.
4947
4948 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4949
4950         * elmo-version.el (elmo-version): Up to 2.9.13.
4951
4952         * elmo-dop.el (elmo-folder-status-dop): Fix.
4953
4954 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4955
4956         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4957
4958         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4959         changing default value of default-mime-charset.
4960         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4961
4962         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4963
4964         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4965         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4966         instead of elmo-dop-queue-method-name-alist to check merging queue.
4967         (elmo-folder-delete-messages-dop): Delete from queue if negative
4968         message number.
4969         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4970         file is already removed.
4971
4972 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4973
4974         * elmo-vars.el: Bind colon keywords for old Emacsen.
4975
4976 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4977
4978         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4979         against non-exsisting charset.
4980
4981 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4982
4983         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4984         Use eword-decode-and-unfold-unstructured-field-body.
4985
4986         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4987         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4988         exists to decode raw subject string.
4989         (toplevel): Require 'mime.
4990
4991         * elmo-version.el (elmo-version): Up to 2.9.12.
4992
4993 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4994
4995         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4996         (elmo-msgdb-set-mark): Ditto.
4997
4998         * elmo-version.el (elmo-version): Up to 2.9.11.
4999
5000 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5001
5002         * elmo-util.el (elmo-delete-match-files): New function.
5003
5004         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5005         instead of elmo-delete-directory.
5006
5007         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5008         elmo-hash-minimun-size as 63.
5009
5010         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5011         elmo-diff-unread is nil.
5012
5013         * elmo-imap4.el (elmo-folder-open): Fix.
5014
5015         * elmo.el (elmo-message-mark): Rewrite.
5016         (elmo-message-field): Ditto.
5017         (elmo-message-set-mark): Ditto.
5018         (elmo-folder-replace-marks): New function.
5019         (elmo-generic-folder-append-msgdb): Removed third argument for
5020         elmo-msgdb-append.
5021         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5022         (elmo-msgdb-load): New implementation.
5023
5024         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5025
5026         * elmo-util.el (elmo-list-insert): New implementation.
5027
5028         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5029         argument for elmo-msgdb-append.
5030         
5031
5032         * elmo-msgdb.el (elmo-load-msgdb): New function.
5033         (elmo-make-msgdb): Ditto.
5034         (elmo-msgdb-get-index): New inline function.
5035         (elmo-msgdb-set-index): Ditto.
5036         (elmo-msgdb-get-entity-hashtb): Ditto.
5037         (elmo-msgdb-get-mark-hashtb): Ditto.
5038         (elmo-msgdb-get-mark): Ditto.
5039         (elmo-msgdb-set-mark): Ditto.
5040         (elmo-msgdb-count-marks): Ditto.
5041         (elmo-msgdb-get-number): Ditto.
5042         (elmo-msgdb-get-field): Ditto.
5043         (elmo-msgdb-seen-list): Ditto.
5044         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5045         (elmo-msgdb-delete-msgs): Follow the changes above.
5046         (elmo-msgdb-overview-get-entity): Ditto.
5047         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5048         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5049         and rewritten.
5050         (elmo-msgdb-make-index): Likewise.
5051         (elmo-msgdb-append): Removed third argument.
5052         (elmo-msgdb-clear): Clear index as nil.
5053         (elmo-folder-set-info-hashtb): Removed.
5054         (elmo-folder-set-info-max-by-numdb): Ditto.
5055         (elmo-folder-info-make-hashtb): Ditto.
5056
5057         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5058
5059         * elmo-map.el (elmo-folder-pack-number): Ditto.
5060
5061 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5062
5063         * elmo-version.el (elmo-version): Up to 2.9.10.
5064
5065         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5066
5067         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5068
5069 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5070
5071         * elmo-utils.el (elmo-make-directory): Add option.
5072         Default file mode is 700.
5073
5074 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5075
5076         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5077
5078 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5079
5080         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5081         mime-charset.
5082
5083         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5084         and "smaller".
5085
5086 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5087
5088         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5089         (elmo-shimbun-folder-entity-hash): New function.
5090         (elmo-shimbun-folder-shimbun-header): Ditto.
5091         (elmo-shimbun-entity-to-header): Ditto.
5092         (elmo-shimbun-msgdb-to-headers): Removed.
5093         (elmo-shimbun-folder-setup): Ditto.
5094         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5095         for hash key.
5096         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5097         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5098         Removed useless local bind.
5099         (elmo-folder-open-internal): Don't call
5100         `elmo-shimbun-folder-setup'.
5101         (elmo-folder-close-internal): Clear entity-hash slot.
5102         (elmo-folder-clear): Ditto.
5103         (elmo-shimbun-msgdb-create-entity): Use
5104         `elmo-shimbun-folder-shimbun-header'.
5105         (elmo-map-message-fetch): Ditto.
5106         (elmo-shimbun-update-overview): Use overview entity instead of
5107         shimbun header to lookup id by references.
5108         (elmo-map-folder-list-message-locations): Use not only headers but
5109         also overviews to list locations.
5110
5111 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5112
5113         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5114         msgdb path.
5115
5116         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5117
5118 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5119
5120         * elmo-util.el (elmo-read-search-condition-internal): Give default
5121         value for date.
5122
5123 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5124
5125         * elmo-util.el (elmo-condition-parse-search-value): Accept
5126         YYYY-MM-DD format to search.
5127         * elmo-date.el (elmo-date-get-datevec): Likewise.
5128
5129 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5130
5131         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5132         debugging code.
5133
5134 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5135
5136         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5137         from t.
5138
5139         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5140
5141         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5142         case from `elmo-folder-exists-p'.
5143         (elmo-folder-exists-p): Removed.
5144         (elmo-folder-creatable-p) Ditto.
5145
5146         * elmo-net.el (elmo-folder-create): Defined.
5147         (elmo-folder-create-unplugged): New function.
5148         (elmo-folder-exists-p): Changed default value to nil from t.
5149
5150         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5151         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5152
5153         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5154         `elmo-create-folder-dop' and append queue
5155         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5156         (elmo-folder-create-dop-delayed): New function.
5157
5158         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5159
5160         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5161
5162         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5163         (elmo-folder-writable-p) : Ditto.
5164
5165         * elmo-version.el (elmo-version): Up to 2.9.9.
5166
5167 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5168
5169         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5170         `elmo-message-use-cache-p' returns nil.
5171         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5172         (ignore cache file and refer the substance in local folders)
5173
5174 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5175
5176         * elmo-version.el (elmo-version): Up to 2.9.8.
5177
5178 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5179
5180         * elmo-version.el (elmo-version): Up to 2.9.7.
5181
5182         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5183
5184 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5185
5186         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5187
5188 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5189
5190         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5191         from --early.
5192         (elmo-map-folder-list-message-locations): Reverse location list.
5193
5194 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5195
5196         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5197
5198 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5199
5200         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5201         as a key.
5202         (elmo-nntp-folder-list-subfolders): Follow the change above.
5203
5204 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5205
5206         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5207         name if authentication type is specified.
5208
5209 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5210
5211         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5212         variable.
5213         (elmo-default-nntp-stream-type): Ditto.
5214         (elmo-default-pop3-stream-type): Ditto.
5215
5216 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5217
5218         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5219
5220 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5221
5222         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5223         elmo-vars.el.
5224         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5225
5226         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5227         (elmo-maildir-folder-path): Ditto.
5228         (elmo-maildir-list): Ditto (abolished).
5229
5230 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5231
5232         * elmo-version.el (elmo-version): Up to 2.9.6.
5233
5234 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5235
5236         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5237         (elmo-maildir-folder-path): Ditto.
5238         (elmo-msgdb-directory): Ditto.
5239         (elmo-passwd-life-time): Ditto.
5240         (elmo-msgdb-extra-fields): Ditto.
5241         (elmo-enable-disconnected-operation): Ditto.
5242
5243 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5244
5245         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5246         other choices.
5247         (elmo-pop3-default-authenticate-type): Ditto.
5248
5249 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5250
5251         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5252         choices for custom.
5253         (elmo-pop3-default-authenticate-type): Ditto.
5254
5255 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5256
5257         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5258         mailbox to new-folder.
5259
5260 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5261
5262         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5263         less than new, set new as unread.
5264
5265         * elmo-util.el (elmo-string): Don't put text-property if nil.
5266
5267 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5268
5269         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5270         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5271
5272 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5273
5274         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5275         is nil on `completing-read'.
5276
5277 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5278
5279         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5280         for namespace part.
5281         (elmo-imap4-parse-namespace-subr): Ditto.
5282         (elmo-folder-list-subfolders): Append a delimiter when the specified
5283         folder path is a root with namespace and does not end with delimiter.
5284
5285 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5286
5287         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5288         was used.
5289
5290 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5291
5292         * elmo-util.el (elmo-save-buffer): The first argument of message
5293         is a format control string.
5294
5295 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5296
5297         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5298         `elmo-folder-diff').
5299         (elmo-diff-unread): Likewise.
5300
5301 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5302
5303         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5304         is t on `completing-read'.
5305
5306 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5307
5308         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5309         method of target folder with self mark-alist if MARK-ALIST is nil.
5310
5311 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5312
5313         * elmo-version.el (elmo-version): Up to 2.9.5.
5314
5315 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5316
5317         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5318         (elmo-dop-merge-funcs): Remove.
5319
5320 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5321
5322         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5323         Return t if PATH is directory, too.
5324         Use `dolist' instead of while loop.
5325
5326 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5327
5328         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5329         is deleted.
5330
5331 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5332
5333         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5334         return value to t.
5335         (elmo-folder-list-messages-unplugged): Return t if
5336         elmo-enable-disconnected-operation is nil.
5337
5338         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5339         `elmo-folder-list-messages-internal'.
5340
5341 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5342
5343         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5344         Change to looking-at `[23][0-9]+'.
5345         (elmo-network-initialize-session): Use 'error-msg'
5346         * elmo-net.el (elmo-network-open-session): Set unplugged
5347         if elmo-network-initialize-session returns 'elmo-open-err.
5348
5349 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5350
5351         * elmo-version.el (elmo-version): Up to 2.9.4.
5352
5353 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5354
5355         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5356         `elmo-folder-list-messages-internal'.
5357
5358 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5359
5360         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5361         (elmo-message-match-condition): New method.
5362         (elmo-folder-search-fast): New inline function.
5363         (elmo-msgdb-search): Removed.
5364
5365         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5366         target folder if it is unplugged.
5367         (elmo-folder-list-messages-internal): Return t if target folder is
5368         unplugged and itself is persistent; In this case, use list be
5369         searched already.
5370
5371         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5372         (elmo-msgdb-search-internal-primitive): Ditto.
5373         (elmo-msgdb-match-condition): New function.
5374         (elmo-msgdb-match-condition-primitive): Ditto.
5375
5376         * elmo-util.el (elmo-filter-condition-p): New macro.
5377
5378         * elmo-cache.el (elmo-folder-search): Removed.
5379
5380         * elmo-localdir.el (elmo-folder-search): Ditto.
5381
5382         * elmo-maildir.el (elmo-folder-search): Ditto.
5383
5384         * elmo-mark.el (elmo-folder-search): Ditto.
5385
5386         * elmo-nmz.el (elmo-folder-search): Ditto.
5387
5388         * elmo-sendlog.el (elmo-folder-search): Ditto.
5389
5390         * elmo-shimbun.el (elmo-folder-search): Ditto.
5391
5392         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5393         if folder is unplugged.
5394
5395         * elmo-nntp.el (elmo-folder-search): Likewise.
5396         (elmo-nntp-search-internal): New function.
5397
5398         * elmo-version.el (elmo-version): Up to 2.9.3.
5399
5400 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5401
5402         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5403
5404 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5405
5406         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5407
5408 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5409
5410         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5411
5412 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5413
5414         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5415         (elmo-map-folder-list-message-locations): Do drive letter conversion
5416         on Windows environment.
5417         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5418         (elmo-map-message-fetch): Ditto.
5419
5420 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5421
5422         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5423         (elmo-network-initialize-session): Ditto.
5424
5425 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5426
5427         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5428
5429         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5430
5431         * elmo-util.el (elmo-progress-clear): Ditto.
5432
5433         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5434         `DD-Mon-YYYY' type date.
5435
5436 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5437
5438         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5439         `elmo-date-make-sortable-string' instead of
5440         `timezone-make-date-sortable'.
5441
5442         * elmo-date.el (elmo-date-make-sortable-string): Use
5443         `timezone-make-time-string'.
5444
5445 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5446
5447         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5448
5449         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5450         `since'; Fix timezone.
5451
5452         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5453
5454         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5455
5456 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5457
5458         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5459
5460 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5461
5462         * elmo.el (elmo-generic-folder-append-messages): Make
5463         fetch-strategy with `use-cache' as 'maybe. Check return value of
5464         `elmo-message-fetch'.
5465         (elmo-message-fetch): Return return value of
5466         `elmo-message-fetch-with-cache-process'.
5467         (elmo-message-fetch-with-cache-process): Return non-nil if
5468         fetching was succeed. Load cache when fetching was failed and
5469         fetch-strategy-use-cache is 'maybe.
5470
5471         * elmo-util.el (elmo-file-cache-load): New function.
5472
5473         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5474         defun.
5475
5476         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5477         non-nil if fetching was succeed.
5478
5479         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5480
5481         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5482
5483         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5484         (elmo-message-fetch-with-cache-process): Likwise.
5485
5486         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5487
5488         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5489
5490         * elmo-version.el (elmo-version): Up to 2.9.2.
5491
5492 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5493
5494         * elmo.el (elmo-folder-delete): Delete msgdb path.
5495
5496         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5497
5498         * elmo-maildir.el (elmo-folder-delete): Ditto.
5499
5500         * elmo-localdir.el (elmo-folder-delete): Ditto.
5501
5502         * elmo-imap4.el (elmo-folder-delete): Ditto.
5503
5504 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5505
5506         * elmo.el (luna-define-class): Added `biff' slot.
5507
5508         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5509         (elmo-pop3-debug-inhibit-logging): Abolished.
5510         (elmo-network-close-session): Eliminated needless let.
5511         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5512         (elmo-pop3-send-command): Added `no-log' argument.
5513         (elmo-pop3-process-filter): Use `with-current-buffer'.
5514         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5515         if login failure.
5516         (elmo-pop3-auth-apop): Likewise.
5517         (elmo-network-authenticate-session): Likewise.
5518
5519         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5520         if biff folder.
5521
5522         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5523         string to determine protocol.
5524         (elmo-network-session-name-prefix): Abolished.
5525         (elmo-network-session-cache-key): Follow the change above.
5526         (elmo-network-open-session): Ditto.
5527
5528         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5529         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5530
5531         * elmo-version.el (elmo-version): Up to 2.9.1.
5532
5533         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5534         unmatch condition checking.
5535
5536         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5537         condition.
5538
5539 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5540
5541         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5542
5543 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5544
5545         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5546         test for while loop to execute at least one SEARCH command.
5547
5548 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5549
5550         * elmo-version.el (elmo-version): Up to 2.9.0.
5551
5552 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5553
5554         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5555         (elmo-archive-folder-path): Define.
5556         (elmo-folder-initialize): Setup `dir-name' slot.
5557         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5558         Use `dir-name' as prefix of each subfolders.
5559         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5560
5561 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5562
5563         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5564         (elmo-pipe-folder-list-target-messages): New internal function.
5565         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5566         `killed-list'.
5567         (elmo-pipe-folder-copied-list-load): New function.
5568         (elmo-pipe-folder-copied-list-save): Ditto.
5569         (elmo-folder-open-internal): Follow the change above.
5570         (elmo-folder-status): Fixed for copy.
5571
5572 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5573
5574         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5575
5576 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5577
5578         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5579         elmo-copy-file instead of elmo-add-name-to-file.
5580
5581         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5582
5583         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5584         "file://..." index.
5585
5586         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5587         of accept-process-output as 1.
5588         (elmo-pop3-read-contents): Ditto.
5589         (elmo-pop3-read-body): Ditto.
5590
5591 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5592
5593         * elmo-version.el (product-version-as-string): Remove define.
5594
5595 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5596
5597         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5598         (elmo-imap4-copy-messages): Chop number set using
5599         `elmo-imap4-number-set-chop-length'.
5600         (elmo-imap4-set-flag): Ditto.
5601         (elmo-imap4-search-internal-primitive): Ditto.
5602
5603 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5604
5605         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5606         `elmo-folder-make-temp-dir'
5607
5608         * elmo-vars.el (elmo-cache-directory): New variable.
5609         (elmo-cache-dir): Abolished.
5610         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5611
5612         * elmo-version.el (elmo-version): Up to 2.7.7.
5613
5614 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5615
5616         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5617         defcustom; Set default value as t.
5618
5619 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5620
5621         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5622         (ldap-search-program-arguments): Changed default value.
5623         (ldap-search-basic): Accept exit status 4.
5624         (ldap/field-body): Parse options.
5625         (ldap/collect-field): Ditto.
5626         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5627
5628         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5629         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5630         (elmo-imap4-accept-ok): Ditto.
5631         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5632         'notify-bye, only BYE error is reported.
5633         (elmo-folder-exists-p-plugged): Set no-error argument of
5634         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5635
5636         * elmo.el (elmo-imap4-bye-error): Changed message.
5637
5638         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5639         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5640         queues (It causes infinite loop).
5641
5642 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5643
5644         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5645         (RECENT UNSEEN MESSAGES) extension.
5646
5647 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5648
5649         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5650         Check number of overview fields.
5651
5652 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5653
5654         * elmo.el (elmo-folder-confirm-appends): Changed message.
5655         (elmo-folder-confirm-appends): Ditto.
5656
5657         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5658         `with-temp-buffer'.
5659         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5660
5661 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5662
5663         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5664         of elmo-folder-update-threshold is nil, which can be set by
5665         wl-summary-update-confirm-threshold.
5666
5667 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5668
5669         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5670         (elmo-nmz-index-alias-alist): Ditto.
5671         (elmo-map-folder-list-message-locations): Follow the change above.
5672
5673 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5674
5675         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5676
5677         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5678
5679         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5680
5681         * elmo-util.el (elmo-read): Ditto.
5682         (elmo-display-error): Ditto.
5683
5684         * elmo-vars.el (elmo-date-match): Ditto.
5685
5686         * pldap.el (ldap-coding-system): Ditto.
5687
5688         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5689         `elmo-inhibit-number-mapping' as nil.
5690
5691 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5692
5693         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5694         space delimiter for list response.
5695
5696 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5697
5698         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5699
5700 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5701
5702         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5703         (elmo-map-message-fetch): Fix.
5704         * elmo-map.el (elmo-folder-status): Fix for killed.
5705
5706 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5707
5708         * elmo-sendlog.el: New file.
5709         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5710
5711 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5712
5713         * acap.el (acap-logging-out): New buffer local variable.
5714         (acap-close): Set it.
5715         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5716         an error.
5717
5718 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5719
5720         * acap.el (acap-response-bye-p): New function.
5721         (acap-response-bye-message): Ditto.
5722         (acap-wait-for-response): If bye response is received, cause an error.
5723         (acap-parse-response): Make bye response when 'Bye' is received.
5724
5725 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5726
5727         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5728
5729 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5730
5731         * elmo-util.el (elmo-copy-file): Added argument
5732         `ok-if-already-exists'.
5733         (elmo-copy-file): Fixed typo.
5734
5735 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5736
5737         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5738
5739 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5740
5741         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5742
5743 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5744
5745         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5746         to killed-list.
5747
5748 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5749
5750         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5751         (elmo-folder-initialize): Fix for `copy'.
5752         (elmo-pipe-drain): Ditto.
5753         (elmo-folder-open-internal): Ditto.
5754         (elmo-folder-newsgroups): Fix.
5755
5756 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5757
5758         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5759         for each message.
5760
5761         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5762         recent value is returned from imap folder.
5763
5764         * elmo.el (elmo-folder-newsgroups): New generic function.
5765
5766         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5767         (elmo-folder-initialize): Set it.
5768         (elmo-folder-expand-msgdb-path): Use it.
5769         (elmo-folder-newsgroups): Define.
5770
5771         * elmo-filter.el (elmo-folder-newsgroups): Define.
5772
5773         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5774
5775         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5776
5777         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5778
5779 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5780
5781         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5782         user option.
5783         (elmo-shimbun-header-extra-field): New inline function.
5784         (elmo-shimbun-header-set-extra-field): Ditto.
5785         (elmo-shimbun-folder-header-hash-setup): Ditto.
5786         (elmo-shimbun-update-overview): Ditto.
5787         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5788         (elmo-shimbun-folder-setup): Use
5789         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5790         (elmo-shimbun-get-headers): Ditto.
5791         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5792         Insert `X-Shimbun-Id:' header if extra field is set.
5793         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5794         field's value instead of `shimbun-header-id'.
5795
5796         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5797         inline function.
5798         (elmo-msgdb-overview-entity-set-date): Ditto.
5799         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5800
5801 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5802
5803         * mmimap.el (mmimap-entity-section): Changed body node number from
5804         "0" to "1".
5805
5806 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5807
5808         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5809         `elmo-folder-delete-messages'.
5810
5811         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5812         (elmo-folder-initialize): Changed to expand alias into index path.
5813
5814         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5815         `elmo-mime-insert-header-from-buffer' with 6th arg
5816         `sorted-fields'.
5817
5818 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5819
5820         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5821
5822         * elmo.el (elmo-diff-new): New inline function.
5823         (elmo-diff-unread): Ditto.
5824         (elmo-diff-all): Ditto.
5825
5826         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5827         value from responseb.
5828         (elmo-imap4-folder-diff-plugged): Ditto.
5829         (elmo-imap4-server-diff-async): Added recent argument.
5830         (elmo-server-diff-async): Ditto.
5831         (elmo-imap4-folder-diff-plugged): Ditto.
5832
5833         * elmo-version.el (elmo-version): Up to 2.7.6.
5834
5835 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5836
5837         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5838         in quoted-stirng.
5839
5840 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5841
5842         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5843
5844         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5845
5846         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5847
5848         * elmo-multi.el (elmo-folder-initialize): Ditto.
5849
5850         * elmo-util.el (elmo-parse-token): New function.
5851         (elmo-parse-prefixed-element): Ditto.
5852
5853 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5854
5855         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5856         delete process.
5857         (elmo-imap4-accept-ok): Ditto.
5858
5859 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5860
5861         * mmimap.el (mime-imap-entity-header-string): Don't check first
5862         element of node-id is `0' (Follow last change).
5863
5864 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5865
5866         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5867         assigned irregular node-id to nested multipart section.
5868         (initialize-instance): Followed above change.
5869
5870 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5871
5872         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5873         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5874         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5875         `elmo-shimbun-get-headers');
5876         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5877         visible article on summary exists in headers).
5878         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5879
5880 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5881
5882         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5883         definition.
5884
5885 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5886
5887         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5888
5889 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5890
5891         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5892         header separator into loop condition.
5893
5894 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5895
5896         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5897         Return duplicate folder if it has subfolder.
5898
5899 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5900
5901         * elmo.el (elmo-make-folder): Add folder name error check.
5902
5903         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5904         (elmo-nntp-encode-group-string): New inline function.
5905         (elmo-nntp-decode-group-string): Ditto.
5906         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5907         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5908         Use `not' instead of `null';
5909         Use elmo-nntp-decode-group-string.
5910
5911         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5912
5913         * elmo-version.el (elmo-version): Up to 2.7.5.
5914
5915 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5916
5917         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5918         Hide progress gauge if `elmo-folder-move-messages' exits
5919         nonlocally.
5920
5921 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5922
5923         * elmo-imap4.el (elmo-folder-initialize): Use
5924         `elmo-imap4-encode-folder-string' for folder name.
5925
5926 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5927
5928         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5929         `done'.
5930
5931 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5932
5933         * elmo-util.el (elmo-progress-counter-alist): New internal
5934         variable.
5935         (elmo-progress-counter-value): New macro.
5936         (elmo-progress-counter-all-value): Ditto.
5937         (elmo-progress-counter-format): Ditto.
5938         (elmo-progress-counter-set-value): Ditto.
5939         (elmo-progress-set): New function.
5940         (elmo-progress-clear): Ditto.
5941         (elmo-progress-notify): Ditto.
5942
5943         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5944         counter.
5945
5946         * elmo.el (elmo-generic-folder-append-messages): Call
5947         `elmo-progress-notify'.
5948         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5949
5950         * elmo-archive.el (elmo-folder-append-messages): Call
5951         `elmo-progress-notify'.
5952
5953         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5954
5955         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5956
5957         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5958
5959 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5960
5961         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5962         'Create'.
5963         (elmo-message-encache-dop): Added argument `read'.
5964
5965         * elmo-shimbun.el (elmo-message-encache): Ditto.
5966
5967         * elmo-net.el (elmo-message-encache): Ditto.
5968
5969         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5970         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5971         elmo-imap4-seen-messages.
5972         (elmo-folder-msgdb-create-plugged): Initialize
5973         elmo-imap4-seen-messages;
5974         Set seen mark on elmo-imap4-seen-messages.
5975
5976         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5977
5978         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5979         elmo-folder-append-buffer.
5980         (elmo-folder-encache): Added optional argument `read'.
5981         (elmo-message-encache): Ditto.
5982
5983         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5984
5985         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5986
5987         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5988         if append buffer content succeds.
5989
5990 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5991
5992         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5993         elmo-display-progress.
5994
5995         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5996         Set 4th argument of mime-display-message.
5997         (elmo-mime-display-as-is): Ditto.
5998
5999 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6000
6001         * elmo-nmz.el (toplevel): Require 'mime-edit.
6002         (elmo-nmz-content-type-alist): Abolished.
6003         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6004         content is not a message.
6005         (elmo-map-message-fetch): Changed behavior exept for message content;
6006         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6007         content-type, Add From: and Subject: field.
6008
6009 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6010
6011         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6012         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6013         not a message.
6014
6015 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6016
6017         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6018         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6019
6020         * elmo-archive.el (elmo-folder-writable-p): Defined.
6021
6022         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6023
6024         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6025
6026         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6027
6028         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6029
6030         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6031
6032         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6033
6034         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6035
6036         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6037
6038 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6039
6040         * elmo-util.el (elmo-address-quote-specials): New function;
6041         Renamed from `wl-address-quote-specials'.
6042
6043 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6044
6045         * elmo-version.el (elmo-version): Up to 2.7.4.
6046
6047 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6048
6049         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6050
6051 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6052
6053         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6054         both compile-time and run-time to avoid byte-compile warning.
6055
6056 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6057
6058         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6059
6060 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6061
6062         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6063         option.
6064         (elmo-mime-display-as-is-internal): Use it.
6065
6066         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6067         if `read-passwd' is not defined.
6068
6069 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6070
6071         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6072         by original number.
6073         (elmo-folder-status): Call `elmo-folder-open-internal';
6074         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6075         (elmo-folder-close-internal): Set location-alist as nil.
6076         (elmo-folder-clear): Define.
6077         (elmo-folder-check): Don't set location-alist as nil.
6078
6079         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6080
6081 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6082
6083         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6084         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6085
6086         * mmimap.el (mime-imap-entity::requested): New slot.
6087         (mime-imap-location-fetch-entity-p): New generic function.
6088         (mime-decode-parameters): Define using `defun-maybe'.
6089         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6090         content-type structure.
6091         (mime-entity-body): Return empty body if
6092         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6093
6094         * elmo.el (elmo-message-displaying): New variable.
6095
6096         * elmo-mime.el (elmo-mime-message-display): Bind
6097         elmo-message-displaying as t.
6098
6099         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6100
6101 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6102
6103         * acap.el (acap-open): erase buffer before starting network process.
6104         (acap-store): Rewrite.
6105
6106 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6107
6108         * elmo-imap4.el (elmo-imap4-default-mailbox,
6109         elmo-imap4-default-server
6110         elmo-imap4-default-authenticate-type,
6111         elmo-imap4-default-user,
6112         elmo-imap4-default-port,
6113         elmo-imap4-default-stream-type,
6114         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6115
6116         * elmo-pop3.el (elmo-pop3-default-user,
6117         elmo-pop3-default-server,
6118         elmo-pop3-default-authenticate-type,
6119         elmo-pop3-default-port,
6120         elmo-pop3-default-stream-type,
6121         elmo-pop3-stream-type-alist): Ditto.
6122
6123         * elmo-nntp.el (elmo-nntp-default-server,
6124         elmo-nntp-default-user,
6125         elmo-nntp-default-port,
6126         elmo-nntp-default-stream-type,
6127         elmo-nntp-stream-type-alist): Ditto.
6128
6129         * elmo-vars.el: Follow changes above.
6130         (elmo-setting): New custom group; added 'elmo-setting group to
6131         above variables.
6132
6133         * elmo-version.el (elmo-version): Up to 2.7.3.
6134
6135         * acap.el (acap-parse-response): Don't delete process when BYE
6136         response (It causes hang-up on slow network environment).
6137         (toplevel): Added comment.
6138
6139 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6140
6141         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6142
6143         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6144         parsing NIL.
6145         (acap-parse-return-metadata): Ditto.
6146
6147         * slp.el: New file.
6148         (toplevel): Fixed typo.
6149
6150         * acap.el: New file.
6151         (acap-network-stream-open): Show "Connecting..." message.
6152         (acap-parse-response): Fixed problem for BYE untagged response.
6153         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6154         (toplevel): Added tiny comments.
6155
6156 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6157
6158         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6159         space delimiter for uidl response.
6160
6161 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6162
6163         * elmo-vars.el (elmo-use-semi): Eliminated.
6164
6165         * elmo-util.el (elmo-string-assoc-all): New function.
6166
6167 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6168
6169         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6170         property 'mime-preview-situation for `mime-preview-quit'.
6171
6172 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6173
6174         * elmo.el (elmo-message-fetch-with-cache-process): Call
6175         elmo-message-fetch-internal instead of causing an error when fetch
6176         strategy is 'entire but only 'section cache is available.
6177
6178 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6179
6180         * elmo-version.el (elmo-version): Up to 2.7.2.
6181
6182         * elmo.el (elmo-generic-folder-append-messages): Make
6183         fetch-strategy with `use-cache'.
6184
6185         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6186         (elmo-dop-queue-method-name): New macro.
6187
6188 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6189
6190         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6191         unbalanced parenthesis.
6192
6193 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6194
6195         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6196
6197 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6198
6199         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6200         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6201
6202 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6203
6204         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6205         local variables.
6206
6207 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6208
6209         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6210         (elmo-message-use-cache-p): Define.
6211         (elmo-folder-msgdb-create): Treat cache.
6212
6213 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6214
6215         * elmo-nntp.el (elmo-network-initialize-session): Call
6216         `elmo-nntp-send-mode-reader'.
6217         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6218
6219 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6220
6221         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6222         alist.
6223         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6224         assoc.
6225
6226         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6227         for `elmo-plugged-p'.
6228         (elmo-open-network-stream): Fixed stream-type argument.
6229
6230 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6231
6232         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6233         unknown archive type is specified.
6234
6235 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6236
6237         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6238
6239         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6240         while loading msgdb.
6241
6242         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6243         (elmo-folder-open-internal): Rewrite.
6244
6245 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6246
6247         * elmo-mime.el (elmo-mime-display-as-is-internal):
6248         Adjust buffer-multibyte status.
6249
6250 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6251
6252         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6253         of elmo-condition-find-key.
6254
6255         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6256         (elmo-condition-in-msgdb-p): Ditto.
6257         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6258         argument.
6259
6260 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6261
6262         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6263
6264 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6265
6266         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6267         label for elmo-display-progress.
6268
6269 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6270
6271         * elmo.el (elmo-folder-clear): New method.
6272         (elmo-folder-clear): Define.
6273         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6274
6275         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6276         (elmo-folder-clear): Define.
6277
6278         * elmo-map.el (elmo-folder-clear): Define.
6279
6280         * elmo-version.el (elmo-version): Up to 2.7.1.
6281
6282 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6283
6284         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6285         updates.
6286
6287 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6288
6289         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6290         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6291
6292 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6293
6294         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6295
6296         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6297         and re-written.
6298
6299         * elmo-imap4.el (elmo-folder-initialize): Use
6300         elmo-get-network-stream-type.
6301
6302         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6303
6304         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6305
6306 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6307
6308         * elmo.el (elmo-message-encache): Set unread argument for
6309         elmo-message-fetch.
6310
6311         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6312
6313         * elmo.el (elmo-net-port-info): New method.
6314
6315         * elmo-shimbun.el (elmo-net-port-info): Define.
6316         (elmo-message-encache): Ditto.
6317
6318         * elmo-net.el (elmo-net-port-info): Define as method.
6319
6320         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6321         unplugged status when elmo-enable-disconnected-operation is t.
6322
6323         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6324         of spool folder before checking new number.
6325
6326 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6327
6328         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6329         (elmo-network-setup-session): Ditto.
6330         (elmo-message-fetch-plugged): Ditto.
6331         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6332         (elmo-network-initialize-session): Ditto.
6333         (elmo-pop3-read-response): Abolish 3rd argument.
6334         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6335         (elmo-pop3-read-contents): Ditto.
6336         (elmo-pop3-read-body): Ditto.
6337         (elmo-folder-status): Call elmo-folder-close.
6338         (elmo-pop3-lock): Abolish.
6339         (elmo-pop3-unlock): Ditto.
6340         (elmo-pop3-locked-p): Ditto.
6341         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6342
6343 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6344
6345         * elmo-version.el (elmo-version): Up to 2.7.0.
6346
6347         * elmo-pop3.el (elmo-pop3-debug): New variable.
6348         (elmo-pop3-debug-inhibit-logging): Ditto.
6349         (elmo-pop3-debug): New function.
6350         (elmo-pop3-send-command): Call elmo-pop3-debug.
6351         (elmo-pop3-read-response): Added keep-lock optional argument;
6352         Don't unlock if keep-lock is non-nil.
6353         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6354         (elmo-network-authenticate-session): Bind
6355         elmo-pop3-debug-inhibit-logging as t.
6356         (elmo-network-setup-session): Call elmo-pop3-read-response with
6357         keep-lock argument.
6358         (elmo-pop3-read-msg): Ditto.
6359         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6360         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6361         (elmo-network-initialize-session): Call elmo-pop3-lock.
6362         (elmo-folder-close-internal): Don't clear location-alist slot.
6363         (elmo-folder-check): Clear location-alist slot.
6364
6365 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6366
6367         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6368         (elmo-pop3-send-command): Call elmo-pop3-lock.
6369         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6370         (elmo-pop3-read-contents): Ditto.
6371         (elmo-pop3-lock): New function.
6372         (elmo-pop3-unlock): Ditto.
6373         (elmo-pop3-locked-p): Ditto.
6374         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6375         returns t.
6376
6377 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6378
6379         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6380
6381         * elmo-util.el (elmo-file-field-primitive-condition-match):
6382         New inline function (Don't fetch file content if "first" or "last").
6383         (elmo-file-field-condition-match): Use
6384         elmo-file-field-primitive-condition-match.
6385
6386         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6387         "first".
6388
6389         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6390         (elmo-message-fetch-plugged): Fixed.
6391
6392         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6393
6394 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6395
6396         * elmo.el (elmo-folder-move-messages): Bind
6397         elmo-inhibit-display-retrieval-progress as t while moving messages.
6398
6399         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6400         New variable.
6401         (elmo-inhibit-display-retrieval-progress): Ditto.
6402
6403         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6404         for retrieval progress;
6405         Don't display progress when total buffer size is smaller than
6406         elmo-display-retrieval-progress-threshold.
6407         (elmo-message-fetch-plugged): Don't display progress when
6408         elmo-inhibit-display-retrieval-progress is non-nil.
6409
6410         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6411         for retrieval progress;
6412         Don't display progress when literal size is smaller than
6413         elmo-display-retrieval-progress-threshold.
6414         (elmo-imap4-message-fetch): Don't display progress when
6415         elmo-inhibit-display-retrieval-progress is non-nil.
6416
6417 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6418
6419         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6420         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6421         (elmo-imap4-message-fetch): Likewise.
6422
6423         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6424         (elmo-shimbun-index-range-alist): Ditto.
6425         (elmo-shimbun-use-entire-index): Abolish.
6426         (shimbun-mua-use-entire-index): Ditto.
6427         (elmo-shimbun-folder): Added new slot `range'.
6428         (elmo-folder-initialize): Setup slot `range'.
6429
6430 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6431
6432         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6433         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6434         (elmo-shimbun-get-headers): Use return value of
6435         `shimbun-article-expiration-days'.
6436         (elmo-folder-close-internal): Clean up last-check slot.
6437
6438         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6439         (elmo-pop3-total-size): New variable.
6440         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6441
6442         * elmo.el (elmo-folder-reserve-status-p): New method.
6443
6444         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6445         (elmo-shimbun-use-entire-index): New user option.
6446         (shimbun-elmo-mua): New class.
6447         (shimbun-mua-search-id): Define.
6448         (shimbun-mua-use-entire-index): Ditto.
6449         (elmo-shimbun-folder:last-check): New slot.
6450         (elmo-shimbun-headers-cache-header-list): Abolish.
6451         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6452         (elmo-shimbun-headers-cache-header-hash): Ditto.
6453         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6454         (elmo-shimbun-headers-cache-last-check): Ditto.
6455         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6456         (elmo-shimbun-headers-check-p): Rewrite.
6457         (elmo-shimbun-msgdb-to-headers): New function.
6458         (elmo-shimbun-get-headers): Rewrite.
6459         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6460         (elmo-folder-open-internal): Get headers only if
6461         `elmo-shimbun-headers-check-p' is non-nil.
6462         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6463         is non-nil.
6464         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6465         (elmo-quit): Removed.
6466
6467         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6468         function.
6469         (elmo-msgdb-overview-entity-set-extra): Ditto.
6470         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6471
6472         * elmo-map.el (elmo-folder-status): Don't call
6473         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6474         is non-nil.
6475
6476 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6477
6478         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6479         of `elmo-msgdb-search-internal-primitive' when condition's car is
6480         `and' or `or'.
6481
6482 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6483
6484         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6485
6486 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6487
6488         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6489         call `elmo-pipe-drain'.
6490
6491 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6492
6493         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6494         typo. (elmo-cache-folder -> elmo-mark-folder)
6495
6496 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6497
6498         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6499         `elmo-message-fetch'.
6500
6501 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6502
6503         * elmo-net.el (elmo-message-encache): Fixed typo.
6504         (elmo-message-fetch-unplugged): Changed call
6505         `elmo-message-fetch-internal' without argument `outbuf'.
6506
6507 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6508
6509         * elmo.el (elmo-message-encache): Define as generic function.
6510         (elmo-message-fetch-field): New generic function.
6511         (elmo-message-fetch-with-cache-process): Cause an error when
6512         fetch strategy is 'entire but only 'section cache is available.
6513         (toplevel): Fixed nmz folder definition.
6514
6515         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6516         (elmo-msgdb-resume-list-filename): Ditto.
6517         (elmo-queue-filename): Ditto.
6518         (elmo-enable-disconnected-operation): Changed default value to t.
6519
6520         * elmo-util.el (elmo-cache-path-section-p): New function.
6521         (elmo-file-cache-get): Use it.
6522         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6523         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6524         (elmo-dop-queue-save): Ditto.
6525
6526         * elmo-net.el (elmo-folder-status-unplugged): Call
6527         elmo-folder-status-dop.
6528         (elmo-folder-list-messages-unplugged): Implemented.
6529         (elmo-folder-delete-messages-unplugged): Define.
6530         (elmo-folder-msgdb-create): Define.
6531         (elmo-folder-msgdb-create-unplugged): Define.
6532         (elmo-folder-mark-as-read-unplugged): Ditto.
6533         (elmo-folder-unmark-read-unplugged): Ditto.
6534         (elmo-folder-mark-as-important-unplugged): Ditto.
6535         (elmo-folder-unmark-important-unplugged): Ditto.
6536         (elmo-message-encache): Ditto.
6537
6538         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6539         (elmo-dop-queue-save): Ditto.
6540
6541         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6542         `elmo-folder-msgdb-create'.
6543         (elmo-folder-append-buffer): Implemented unplugged operation.
6544         (elmo-folder-append-messages): Call parent method in unplugged status.
6545         (elmo-message-fetch-unplugged): Removed definition.
6546         (elmo-message-fetch-field): Implemented.
6547
6548         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6549         (elmo-dop-folder): Removed variable definition.
6550         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6551         (elmo-dop-queue-flush): Implemented.
6552         (elmo-dop-queue-merge): Removed definition (TODO).
6553         (elmo-dop-spool-folder): New function.
6554         (elmo-dop-spool-folder-append-buffer): Ditto.
6555         (elmo-dop-spool-folder-list-messages): Ditto.
6556         (elmo-dop-list-deleting-messages): Ditto.
6557         (elmo-folder-append-buffer-dop): Ditto.
6558         (elmo-folder-delete-messages-dop): Ditto.
6559         (elmo-message-encache-dop): New inline function.
6560         (elmo-create-folder-dop): Ditto.
6561         (elmo-folder-mark-as-read-dop): Ditto.
6562         (elmo-folder-unmark-read-dop): Ditto.
6563         (elmo-folder-mark-as-important-dop): Ditto.
6564         (elmo-folder-unmark-important-dop): Ditto.
6565         (elmo-folder-status-dop): Fixed.
6566         (elmo-folder-append-buffer-dop-delayed): New function.
6567         (elmo-folder-delete-messages-dop-delayed): Ditto.
6568         (elmo-dop-msgdb): Ditto.
6569
6570 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6571
6572         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6573
6574 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6575
6576         * elmo.el (elmo-folder-move-messages): Fixed problem when
6577         `dst-folder' is 'null.
6578
6579 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6580
6581         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6582         instead of current mark.
6583
6584         * elmo-multi.el (elmo-folder-list-importants-internal): No
6585         operation if importants is not list.
6586
6587         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6588         Return t if importants is not list.
6589
6590         * elmo-map.el (elmo-map-folder-list-importants): Define.
6591         (elmo-folder-list-importants-internal): Check return value of
6592         `elmo-map-folder-list-importants-internal'.
6593
6594         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6595
6596         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6597
6598         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6599
6600         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6601
6602 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6603
6604         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6605         (Patch is provided by <kita@coe.nttdata.co.jp>).
6606
6607 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6608
6609         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6610         mark folder.
6611
6612 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6613
6614         * elmo.el (elmo-message-fetch): Define.
6615         (elmo-message-fetch-with-cache-process): New generic method.
6616         (elmo-message-fetch-internal): New generic method.
6617         (elmo-folder-synchronize):
6618
6619         * elmo-archive.el (elmo-message-fetch-internal): Define.
6620         (elmo-message-fetch): Eliminated.
6621
6622         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6623         (elmo-message-fetch): Eliminated.
6624
6625         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6626         argument OUTBUF.
6627         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6628
6629         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6630         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6631
6632         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6633         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6634
6635         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6636
6637         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6638
6639         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6640
6641         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6642         (elmo-message-fetch-unplugged): New generic method.
6643         (elmo-message-fetch-internal): Remove cache process (Renamed from
6644         `elmo-message-fetch').
6645
6646         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6647         (elmo-message-fetch): Eliminated.
6648         (elmo-message-fetch-unplugged): Ditto.
6649
6650         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6651
6652 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6653
6654         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6655         of `to-be-deleted' from number-alist to number-list.
6656
6657 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6658
6659         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6660         (elmo-folder-mark-as-important): Ditto.
6661
6662 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6663
6664         * elmo.el (elmo-folder): Added process-duplicates slot.
6665
6666         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6667         (elmo-folder-unmark-read): Ditto.
6668         (elmo-folder-unmark-important): Ditto.
6669         (elmo-folder-mark-as-important): Ditto.
6670
6671         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6672         duplicated message processing.
6673
6674         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6675
6676 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6677
6678         * elmo-util.el (elmo-list-subdirectories-1): New function.
6679         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6680         (elmo-mapcar-list-of-list): New function.
6681
6682         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6683         `elmo-mapcar-list-of-list' instead of `mapcar'.
6684
6685         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6686
6687         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6688         `elmo-have-link-count'. Return the fully qualified folder name.
6689
6690 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6691
6692         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6693         (elmo-shimbun-headers-cache): New internal variable.
6694         (elmo-shimbun-headers-cache-header-list): New inline function.
6695         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6696         (elmo-shimbun-headers-cache-header-hash): Ditto.
6697         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6698         (elmo-shimbun-headers-cache-last-check): Ditto.
6699         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6700         (elmo-shimbun-lapse-seconds): Ditto.
6701         (elmo-shimbun-headers-cache-check-p): Ditto.
6702         (elmo-shimbun-get-headers): New function.
6703         (elmo-folder-open-internal): Call it.
6704         (elmo-quit): Define (Clear headers-cache).
6705
6706 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6707
6708         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6709
6710         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6711         (elmo-msgdb-flist-save): Ditto.
6712
6713         * elmo-shimbun.el (elmo-folder-list-subfolders):
6714         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6715         (elmo-folder-exists-p): Ditto.
6716
6717         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6718         argument for `shimbun-header-insert'.
6719
6720 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6721
6722         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6723         at first time.
6724
6725         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6726         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6727
6728 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6729
6730         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6731         (elmo-folder-plugged-p): Define.
6732         (elmo-folder-set-plugged): Ditto.
6733         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6734         (elmo-folder-list-messages-internal): Return t if unplugged.
6735         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6736
6737         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6738         when elmo-folder-list-messages-internal method of children returns t.
6739
6740         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6741         pair is nil.
6742         (elmo-folder-open-internal): Don't update if unplugged status.
6743
6744 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6745
6746         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6747         new message.
6748
6749 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6750
6751         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6752
6753         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6754         saving.
6755
6756 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6757
6758         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6759
6760         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6761         (elmo-folder-open-internal): Set up headers slot.
6762         (elmo-folder-check): Call elmo-folder-close-internal and
6763         elmo-folder-open-internal.
6764         (elmo-folder-close-internal): Clean up headers slot.
6765
6766 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6767
6768         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6769         exactly folder list.
6770         (elmo-folder-append-messages): Fixed append archive with prefix.
6771
6772         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6773         make temp files with start-number.
6774
6775         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6776
6777 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6778
6779         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6780         argument `visible-only'.
6781         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6782         instead of `if'.
6783
6784         * elmo-pop3.el (elmo-folder-open-internal): Check
6785         `elmo-inhibit-number-mapping' is non-nil.
6786
6787         * elmo-pipe.el (elmo-folder-status): Fixed.
6788
6789 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6790
6791         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6792
6793         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6794         (elmo-folder-open-internal): Setup `header-hash' slot.
6795         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6796         information.
6797         (elmo-map-message-fetch): Ditto.
6798
6799 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6800
6801         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6802         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6803         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6804         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6805
6806         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6807
6808 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6809
6810         * sb-airs.el: Added footer.
6811
6812         * shimbun.el (shimbun-article): Define as luna-method.
6813
6814         * sb-tcup.el: New file.
6815
6816         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6817         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6818
6819 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6820
6821         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6822         (shimbun-get-headers): Ditto.
6823
6824         * elmo.el: Moved obsolete variable definitions from
6825         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6826
6827         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6828         groups.
6829
6830         * shimbun.el: New file.
6831
6832         * elmo-shimbun.el: New file.
6833
6834         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6835         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6836         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6837         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6838
6839 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6840
6841         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6842         hierarchy is t.
6843
6844 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6845
6846         * elmo.el (elmo-folder-msgdb): Define as macro.
6847         (elmo-folder-open): Added argument `load-msgdb'.
6848         (elmo-generic-folder-open): Ditto.
6849         (elmo-folder-encache): New function.
6850
6851         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6852
6853         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6854
6855         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6856         Eliminated argument FOLDER and added argument MSGDB.
6857         (elmo-dop-queue-load): Moved from elmo-dop.el.
6858         (elmo-dop-queue-save): Ditto.
6859
6860         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6861
6862         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6863
6864         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6865         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6866         (elmo-filter-folder-list-importants-internal): Ditto.
6867
6868         * elmo-map.el (elmo-folder-pack-number): Ditto.
6869
6870         * elmo-mime.el (elmo-mime-message-display): Ditto.
6871
6872         * elmo.el (elmo-generic-folder-commit): Ditto.
6873         (elmo-folder-list-unreads): Ditto.
6874         (elmo-folder-list-importants): Ditto.
6875         (elmo-generic-folder-commit): Ditto.
6876         (elmo-message-set-mark): Ditto.
6877         (elmo-generic-folder-append-msgdb): Ditto.
6878         (elmo-folder-synchronize): Ditto.
6879         (elmo-folder-messages): Ditto.
6880         (elmo-init): Call elmo-dop-queue-load.
6881         (elmo-folder-list-messages): Ditto.
6882
6883         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6884         (elmo-nntp-folder-process-crosspost): Ditto.
6885         (elmo-folder-list-unreads-internal): Ditto.
6886
6887         * elmo-dop.el: Removed old functions.
6888
6889 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6890
6891         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6892         `folder' to `msgdb'.
6893
6894 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6895
6896         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6897         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6898
6899         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6900         case-fold-search.
6901
6902 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6903
6904         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6905         defined.
6906
6907         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6908         (mmimap-parse-parameters-from-list): Define as alias for
6909         `mime-decode-parameter-plist' if it is defined as function.
6910         (mmimap-make-mime-entity): Added argument `number'.
6911         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6912         as 0.
6913         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6914
6915         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6916
6917         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6918
6919         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6920
6921 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6922
6923         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6924
6925         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6926         when elmo-imap4-default-authenticate-type is nil.
6927         (elmo-folder-list-subfolders): Ditto
6928         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6929         (elmo-imap4-fetch-callback-1-subr): Renamed from
6930         `elmo-imap4-fetch-callback-1' and define as inline function.
6931         (elmo-imap4-fetch-callback-1):
6932         Renamed from `elmo-imap4-fetch-callback'.
6933         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6934
6935         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6936         msgdb path (To keep compatibility with main trunk).
6937
6938         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6939
6940         * elmo-util.el (elmo-make-file-cache): Moved position of
6941         some macros.
6942
6943         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6944         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6945         instead of `elmo-pop3-inhibit-uidl'.
6946         (elmo-folder-exists-p): Ditto.
6947         (elmo-pop3-folder-list-messages): Ditto.
6948
6949         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6950         instead of `elmo-pop3-inhibit-uidl'.
6951         (elmo-folder-status): Ditto.
6952
6953         * elmo-dop.el (elmo-dop-folder): New variable.
6954         (elmo-dop-lock-message): Eliminated.
6955         (elmo-dop-unlock-message): Ditto.
6956         (elmo-dop-lock-list-load): Ditto.
6957         (elmo-dop-lock-list-save): Ditto.
6958         (elmo-dop-delete-folder): Ditto.
6959         (elmo-dop-rename-folder): Ditto.
6960
6961         * elmo.el: Removed incomplete commentary.
6962
6963 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6964
6965         * elmo.el (toplevel): Require 'elmo-version first;
6966         for little `recursive-load-depth' settings.
6967         Fix "ends here" comment.
6968
6969 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6970
6971         * elmo-util.el (toplevel): Require 'poem;
6972         Some functions are moved from elmo-cache.el.
6973
6974         * elmo-net.el (toplevel): Require 'elmo-cache.
6975
6976         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6977
6978         * elmo.el (toplevel): Ditto.
6979
6980         * elmo-cache.el: Rewrite with luna;
6981         Some functions are moved to elmo-util.el.
6982
6983         * elmo-internal.el (elmo-internal-folder-list): New variable.
6984         (elmo-internal-folder-initialize): Rewrite.
6985         (elmo-folder-list-subfolders): Ditto.
6986
6987         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6988         (elmo-cache-collect-sub-directories): Ditto.
6989
6990 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6991
6992         * elmo-version.el (elmo-version): Up to 2.5.8.
6993
6994         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6995
6996         * elmo-util.el (elmo-list-insert): New function.
6997
6998 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6999
7000         * elmo.el (elmo-init): New function.
7001         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7002
7003         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7004         (Renamed from `elmo-localdir-header-chop-length').
7005
7006         * elmo-pop3.el (elmo-pop3-use-cache,
7007         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7008
7009         * elmo-nntp.el (elmo-message-fetch): Define.
7010         (elmo-message-fetch-unplugged): Ditto.
7011         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7012         (elmo-nntp-use-cache): Ditto.
7013         (elmo-nntp-max-number-precedes-list-active): Ditto.
7014
7015         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7016
7017         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7018         `elmo-msgdb-insert-file-header'.
7019         Use `elmo-msgdb-file-header-chop-length'.
7020
7021         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7022         `elmo-vars.el'.
7023
7024         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7025         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7026         `elmo-msgdb-insert-file-header'.
7027
7028         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7029         Use new variable;
7030         Define obsolete variables with `elmo-define-obsolete-variable',
7031
7032         * elmo-util.el (elmo-warning-buffer-name): New constant.
7033         (elmo-warning): New function.
7034         (elmo-obsolete-variable-alist): New variable.
7035         (elmo-obsolete-variable-show-warnings): New variable.
7036         (elmo-define-obsolete-variable): New function.
7037         (elmo-resque-obsolete-variable): Ditto.
7038         (elmo-resque-obsolete-variables): Ditto.
7039
7040 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7041
7042         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7043         Eliminated.
7044
7045         * elmo-pop3.el, elmo-nntp.el: Use custom.
7046
7047 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7048
7049         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7050         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7051
7052 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7053
7054         * Luna-fy Kenichi OKADA's following changes.
7055         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7056         `nohide'.
7057         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7058
7059 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7060
7061         * elmo-util.el (elmo-display-progress): Prefer
7062         `progress-feedback-with-label' to `lprogress-display'.
7063
7064 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7065
7066         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7067
7068 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7069
7070         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7071         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7072         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7073         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7074         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7075         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7076         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7077         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7078         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7079         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7080         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7081         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7082         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7083
7084 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7085
7086         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7087         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7088
7089 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7090
7091         * elmo.el (elmo-folder-process-crosspost): New generic method.
7092         (elmo-folder-writable-p): Ditto.
7093         (elmo-folder-message-appendable-p): Eliminated.
7094         (elmo-generic-folder-append-msgdb): Rewrite.
7095         (elmo-newsgroups-hashtb): New internal variable.
7096         (elmo-crosspost-message-set): Eliminated.
7097         (elmo-crosspost-message-delete): Ditto.
7098         (elmo-setup-subscribed-newsgroups): New function.
7099         (elmo-crosspost-message-alist-modified): New internal variable.
7100         (elmo-crosspost-message-alist-load): New function (Renamed from
7101         `wl-crosspost-alist-load').
7102         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7103         `wl-crosspost-alist-save').
7104
7105         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7106
7107         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7108         `unreads'.
7109         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7110         elmo-newsgroups-hashtb).
7111         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7112         `elmo-nntp-folder-update-crosspost-message-alist'.
7113         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7114         `elmo-nntp-groups-hashtb'.
7115         (elmo-nntp-make-groups-hashtb): Eliminated.
7116         (elmo-nntp-parse-newsgroups): New function (Renamed from
7117         `wl-parse-newsgroups').
7118         (elmo-folder-creatable-p, elmo-folder-writable-p,
7119         elmo-folder-close-internal, elmo-folder-mark-as-read,
7120         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7121         Define.
7122         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7123
7124         * elmo-net.el (elmo-message-fetch): Check buffer size.
7125
7126         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7127
7128         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7129
7130         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7131         before `close' command.
7132
7133         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7134         `mark-alist' (All other related portions are changed).
7135
7136 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7137
7138         * elmo-util.el (elmo-create-hash-size): Eliminated.
7139         (elmo-make-hash) Make a hash with `one less than a power of two'
7140         length.
7141
7142         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7143         (elmo-hash-maximum-size): Changed value.
7144
7145 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7146
7147         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7148         (elmo-mime-message-display-as-is): Ditto.
7149
7150 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7151
7152         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7153         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7154
7155 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7156
7157         * elmo-mark.el: New file.
7158
7159         * elmo-internal.el: Rewrite (Almost empty).
7160
7161 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7162
7163         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7164         (mime-imap-entity-header-string): Ditto.
7165         (mmimap-entity-section): Rewrite.
7166
7167 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7168
7169         * elmo-nmz.el: New file.
7170
7171         * elmo-pipe.el: Rewrite with luna.
7172
7173 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7174
7175         * elmo-archive.el: Rewrite with luna.
7176
7177         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7178         (elmo-folder-list-importants-internal): Ditto.
7179
7180 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7181
7182         * elmo-archive.el (elmo-archive-version): Abolish.
7183         (toplevel) Removed `boso' comment.
7184
7185 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7186
7187         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7188         elmo-msgdb-add-msgs-to-seen-list-subr;
7189         Changed argument seen-marks to unread-marks.
7190
7191         * elmo-nntp.el: Rewrite with luna.
7192
7193 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7194
7195         * elmo-filter.el: Rewrite with luna.
7196
7197 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7198
7199         * elmo-pop3.el: Rewrite with luna.
7200
7201 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7202
7203         * elmo-multi.el: Rewrite with luna.
7204
7205         * elmo-vars.el (elmo-use-killed-list): Abolish.
7206         All other related portions are changed.
7207         (elmo-filename-replace-string-alist): Renamed from
7208         elmo-msgid-replace-string-alist.
7209
7210 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7211
7212         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7213
7214         * elmo-map.el: New file.
7215         * elmo-maildir.el: Rewrite with luna.
7216
7217 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7218
7219         * elmo.el: Changed meaning of `elmo-folder-commit'.
7220         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7221
7222 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7223
7224         * elmo.el (elmo-folder-append-buffer): New function.
7225         (Renamed from `elmo-append-msg')
7226
7227 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7228
7229         * elmo-mime.el: New file.
7230
7231 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7232
7233         * elmo-cache.el: Rewrite.
7234
7235 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7236
7237         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7238
7239 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7240
7241         * elmo-vars.el (elmo): New group.
7242         (elmo-strict-diff-folder-regexp): New variable.
7243
7244         * elmo-util.el (elmo-call-func): Abolish.
7245         (elmo-folder-get-type): Ditto.
7246         (elmo-*-get-spec): Ditto.
7247         (elmo-*-spec-*): Ditto.
7248         (elmo-imap4-identical-name-space-p): Ditto.
7249         (elmo-folder-identical-system-p): Ditto.
7250         (elmo-folder-direct-copy-alist): Ditto.
7251         (elmo-folder-direct-copy-p): Ditto.
7252
7253         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7254         (elmo-folder-initialize): Define.
7255         (elmo-folder-get-primitive-list): Ditto.
7256
7257         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7258         (elmo-folder-initialize): Define.
7259         Renamed `elmo-network-session-host-internal' to
7260         `elmo-network-session-server-internal'.
7261
7262         * elmo-multi.el (elmo-multi-folder): New luna class.
7263         (elmo-folder-initialize): Define.
7264         (elmo-folder-get-primitive-list): Ditto.
7265         (elmo-folder-contains-type): Ditto.
7266         (elmo-message-use-cache-p): Ditto.
7267
7268         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7269         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7270
7271         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7272         (elmo-folder-initialize): Define.
7273
7274         * elmo-filter.el (elmo-filter-folder): New luna class.
7275         (elmo-folder-initialize): Define.
7276         (elmo-folder-get-primitive-list): Ditto.
7277         (elmo-folder-contains-type): Ditto.
7278
7279 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7280
7281         * elmo-imap4.el: Rewrite with luna.
7282
7283         * mmimap.el: New file.
7284
7285         * mmelmo.el, mmelmo-imap4.el: Removed.
7286
7287         * elmo-net.el: Ditto.
7288
7289         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7290         (elmo-folder-initialize): Define.
7291
7292         * elmo-archive.el (elmo-archive-folder): New luna class.
7293         (elmo-folder-initialize): Define.
7294
7295         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7296         `elmo-folder-msgdb-path'.
7297         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7298         `elmo-make-folder'.
7299
7300 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7301
7302         * elmo.el: New file.
7303
7304         * elmo2.el: Renamed to elmo.el.
7305
7306 \f
7307 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7308
7309         * elmo-cache.el (elmo-cache-expire-by-size): Count
7310         a disk usage for a cache file entry in KB even when
7311         its kind is a directory.
7312
7313 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7314
7315         * elmo-version.el (elmo-version): Up to 2.5.7.
7316
7317 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7318
7319         * elmo-version.el (elmo-version): Up to 2.5.6.
7320
7321 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7322
7323         * elmo-version.el (elmo-version): Up to 2.5.5.
7324
7325 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7326
7327         * elmo-imap4.el (elmo-network-authenticate-session):
7328         Fixed a logic for response checking.
7329
7330 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7331
7332         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7333         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7334         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7335         `sasl-mechanisms'.
7336
7337         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7338         for `starttls-open-stream' and `starttls-negotiate'.
7339
7340         * elmo-nntp.el: Remove autoload settings for
7341         `starttls-open-stream' and `starttls-negotiate'.
7342
7343         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7344         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7345         `luna-define-class' with `eval-and-compile'.
7346
7347 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7348
7349         * elmo-util.el (elmo-read-search-condition-internal):
7350         Require an element of table for searching field.
7351
7352 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7353
7354         * elmo-version.el (elmo-version): Up to 2.5.4.
7355
7356 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7357
7358         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7359
7360 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7361
7362         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7363
7364 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7365
7366         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7367         before greeting.
7368
7369 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7370
7371         * elmo-imap4.el (elmo-imap4-delete-folder):
7372         Send "close" before "delete" (Use commented out line).
7373         (elmo-imap4-rename-folder): Ditto.
7374
7375         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7376         folder string itself.
7377         (elmo-dop-list-deleted): New function.
7378         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7379         killed.
7380
7381         * elmo-util.el (elmo-string-rassoc-all): New function.
7382
7383 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7384
7385         * elmo-version.el (elmo-version): Up to 2.5.3.
7386
7387         * elmo-net.el (elmo-network-get-session): Changed logic for
7388         checking process status.
7389
7390         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7391         process is nil;
7392         Changed logic for checking process status.
7393
7394 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7395
7396         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7397         before greeting.
7398         (elmo-network-setup-session): Set UIDL hash size according to
7399         the length of list response.
7400         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7401         according to the length of list response;
7402         Return the length of list response.
7403         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7404
7405 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7406
7407         * elmo-imap4.el (toplevel): Require 'ssl.
7408         Add autoload 'starttls.
7409         * elmo-pop3.el (toplevel): Ditto.
7410         * elmo-nntp.el (toplevel): Ditto.
7411
7412 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7413
7414         * elmo-imap4.el (toplevel): defun at compile time.
7415         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7416         sasl-next-step, sasl-step-data, sasl-step-set-data.
7417         * elmo-pop3.el (toplevel): Ditto.
7418
7419 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7420
7421         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7422
7423 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7424
7425         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7426         if error.
7427         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7428         and `elmo-pop-auth-apop'.
7429
7430 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7431
7432         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7433
7434 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7435
7436         * elmo-pop3.el (elmo-network-authenticate-session): Split
7437         encoded response value.
7438
7439 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7440
7441         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7442         `elmo-pop3-force-login'.
7443         Redefine `sasl-mechanisms'.
7444         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7445
7446 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7447
7448         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7449         Delete `elmo-imap4-authenticator-alist'.
7450         (elmo-imap4-auth-cram-md5): Delete.
7451         (elmo-imap4-auth-digest-md5): Delete.
7452
7453 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7454
7455         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7456         (elmo-pop3-auth-scram-md5): Ditto.
7457         (elmo-pop3-auth-cram-md5): Ditto.
7458
7459 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7460
7461         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7462         Delete `elmo-pop3-authenticator-alist'.
7463
7464 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7465
7466         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7467         new SASL API.
7468         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7469
7470 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7471
7472         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7473
7474 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7475
7476         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7477         Fixed problem when `elmo-pop3-use-uidl' is nil.
7478         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7479
7480 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7481
7482         * elmo-version.el (elmo-version): Up to 2.5.2.
7483
7484 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7485
7486         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7487         New function.
7488         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7489         (elmo-pop3-msgdb-create-as-numlist): Use it.
7490
7491         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7492         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7493
7494         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7495         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7496
7497 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7498
7499         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7500         when elmo-mark-as-read is called with second argument nil.
7501
7502 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7503
7504         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7505         Moved to elmo-util.el.
7506
7507         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7508         Moved from elmo-pipe.el
7509
7510         * elmo-archive.el (elmo-archive-call-process): Enclose with
7511         static-if.
7512
7513         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7514         "RFC822" (because RFC822.PEEK is obsolete).
7515         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7516
7517 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7518
7519         * elmo-archive.el (elmo-archive-call-process): Don't check for
7520         the exit status when Nemacs is running.
7521
7522 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7523
7524         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7525         'plain.
7526
7527         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7528         (elmo-pop3-get-spec): Set default of auth to 'user.
7529
7530         * elmo-imap4.el (elmo-imap4-session-check):
7531         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7532         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7533         (elmo-imap4-auth-login): New function; Revival.
7534         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7535         `elmo-imap4-auth-login'.
7536
7537 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7538
7539         * elmo2.el (toplevel): Move `product-provide' declare.
7540         * mmelmo.el (toplevel): Ditto.
7541
7542 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7543
7544         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7545
7546 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7547
7548         * elmo-util.el (elmo-folder-get-store-type): New function.
7549         (elmo-folder-direct-copy-p): Use it.
7550
7551 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7552
7553         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7554         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7555         and result of `elmo-imap4-use-flag-p'.
7556         (elmo-imap4-fetch-callback-1): Set mark according to
7557         the result of `elmo-imap4-use-flag-p'.
7558
7559 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7560
7561         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7562         (elmo-generic-list-folder-unread): Ditto.
7563         (elmo-folder-get-info): Ditto.
7564         (elmo-folder-set-info-max-by-numdb): Ditto.
7565         (elmo-folder-get-info-max): Ditto.
7566         (elmo-folder-get-info-length): Ditto.
7567         (elmo-folder-get-info-unread): Ditto.
7568         (elmo-folder-info-make-hashtb): Ditto.
7569
7570         * elmo2.el: Removed above functions.
7571
7572 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7573
7574         * elmo-imap4.el (toplevel): Require 'ssl.
7575         Add autoload 'starttls.
7576         * elmo-pop3.el (toplevel): Ditto.
7577         * elmo-nntp.el (toplevel): Ditto.
7578
7579 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7580
7581         * elmo-imap4.el (toplevel): defun at compile time.
7582         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7583         sasl-next-step, sasl-step-data, sasl-step-set-data.
7584         * elmo-pop3.el (toplevel): Ditto.
7585
7586 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7587
7588         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7589
7590 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7591
7592         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7593         if error.
7594         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7595         and `elmo-pop-auth-apop'.
7596
7597 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7598
7599         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7600
7601 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7602
7603         * elmo-pop3.el (elmo-network-authenticate-session): Split
7604         encoded response value.
7605
7606 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7607
7608         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7609         `elmo-pop3-force-login'.
7610         Redefine `sasl-mechanisms'.
7611         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7612
7613 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7614
7615         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7616         Delete `elmo-imap4-authenticator-alist'.
7617         (elmo-imap4-auth-cram-md5): Delete.
7618         (elmo-imap4-auth-digest-md5): Delete.
7619
7620 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7621
7622         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7623         (elmo-pop3-auth-scram-md5): Ditto.
7624         (elmo-pop3-auth-cram-md5): Ditto.
7625
7626 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7627
7628         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7629         Delete `elmo-pop3-authenticator-alist'.
7630
7631 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7632
7633         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7634         new SASL API.
7635         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7636
7637 \f
7638 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7639
7640         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7641
7642 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7643
7644         * elmo-nntp.el (elmo-nntp-get-folders-info):
7645         Fixed problem when '\' character is contained in user-id.
7646         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7647
7648 \f
7649 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7650
7651         * elmo-imap4.el (elmo-imap4-delete-folder):
7652         Send "close" before "delete" (Use commented out line).
7653         (elmo-imap4-rename-folder): Ditto.
7654
7655         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7656         folder string itself.
7657         (elmo-dop-list-deleted): New function.
7658         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7659         killed.
7660
7661         * elmo-util.el (elmo-string-rassoc-all): New function.
7662
7663         * elmo-version.el (elmo-version): Up to 2.5.1.
7664
7665 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7666
7667         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7668
7669         * elmo-internal.el (elmo-internal-search): Fix last change.
7670
7671 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7672
7673         * elmo-internal.el (elmo-internal-search): Rewrite.
7674         (Fixed problem which is pointed out by Akihiro MOTOKI
7675         <motoki@da.jp.nec.com>)
7676
7677         * elmo-version.el (elmo-version): Up to 2.5.0.
7678
7679 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7680
7681         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7682
7683 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7684
7685         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7686         non-nil, make hierarchy.
7687
7688 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7689
7690         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7691         `elmo-pop3-use-uidl' must be bound to nil.
7692         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7693
7694 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7695
7696         * elmo-util.el (elmo-copy-file): Don't cause an error after
7697         `add-name-to-file' failed.
7698
7699         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7700         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7701
7702 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7703
7704         * elmo-version.el (elmo-version): Up to 2.3.93.
7705
7706 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7707
7708         * elmo-util.el (elmo-flatten): New function.
7709
7710 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7711
7712         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7713         sync Author header.
7714         * elmo-cache.el (toplevel): Ditto.
7715         * elmo-database.el (toplevel): Ditto.
7716         * elmo-date.el (toplevel): Ditto.
7717         * elmo-dop.el (toplevel): Ditto.
7718         * elmo-filter.el (toplevel): Ditto.
7719         * elmo-imap4.el (toplevel): Ditto.
7720         * elmo-internal.el (toplevel): Ditto.
7721         * elmo-localdir.el (toplevel): Ditto.
7722         * elmo-localnews.el (toplevel): Ditto.
7723         * elmo-maildir.el (toplevel): Ditto.
7724         * elmo-msgdb.el (toplevel): Ditto.
7725         * elmo-multi.el (toplevel): Ditto.
7726         * elmo-net.el (toplevel): Ditto.
7727         * elmo-nntp.el (toplevel): Ditto.
7728         * elmo-pipe.el (toplevel): Ditto.
7729         * elmo-pop3.el (toplevel): Ditto.
7730         * elmo-util.el (toplevel): Ditto.
7731         * elmo-vars.el (toplevel): Ditto.
7732         * elmo2.el (toplevel): Ditto.
7733         * mmelmo-imap4.el (toplevel): Ditto.
7734         * mmelmo.el (toplevel): Ditto.
7735
7736         * elmo-version.el (elmo-version): Move to top.
7737
7738         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7739         * elmo-imap4.el (toplevel): Ditto.
7740         * elmo-localdir.el (toplevel): Ditto.
7741         * elmo-msgdb.el (toplevel): Ditto.
7742         * elmo-nntp.el (toplevel): Ditto.
7743         * elmo-pop3.el (toplevel): Ditto.
7744         * elmo-version.el (toplevel): Ditto.
7745
7746         * elmo-localnews.el (toplevel): Added Keyword header.
7747
7748 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7749
7750         * elmo-version.el (product-version-as-string): Defined using
7751         `defun-maybe'.
7752         (toplevel): Use it.
7753
7754         * elmo-localdir.el (toplevel): Updated copyright notice.
7755         * elmo-version.el (toplevel): Ditto.
7756         * elmo-msgdb.el (toplevel): Ditto.
7757         * elmo-imap4.el (toplevel): Ditto.
7758         * elmo-nntp.el (toplevel): Ditto.
7759         * elmo-pop3.el (toplevel): Ditto.
7760
7761 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7762
7763         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7764         messages.
7765
7766         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7767         parameter value (It sometimes contains raw kanji).
7768
7769 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7770
7771         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7772         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7773
7774 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7775
7776         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7777
7778 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7779
7780         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7781         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7782
7783 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7784
7785         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7786         value if selecting folder succceeded.
7787         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7788
7789 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7790
7791         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7792         representation.
7793
7794         * elmo-util.el (elmo-string-matched-member): New function.
7795
7796 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7797
7798         * elmo-util.el (elmo-unintern): New macro.
7799         (elmo-number-set-member): Fixed docstring.
7800
7801         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7802         tag token.
7803
7804 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7805
7806         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7807         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7808
7809 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7810
7811         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7812         `no-error'.
7813         Added docstring.
7814         Return non-nil if selecting folder succeeded.
7815         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7816
7817 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7818
7819         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7820         `file-name-completion' returns t.
7821         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7822         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7823         directory if it does not exist.
7824         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7825         for iteration.
7826
7827 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7828
7829         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7830         enclosure (It's harmful in unplugged status).
7831
7832         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7833
7834         * mmelmo-1.el: Removed.
7835
7836         * mmelmo-2.el: Ditto.
7837
7838         * mmelmo-imap4-1.el: Ditto.
7839
7840         * mmelmo-imap4-2.el: Ditto.
7841
7842         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7843
7844         * mmelmo.el: Merged mmelmo-2.el.
7845
7846         * elmo-version.el (elmo-version): Up to 2.3.92.
7847
7848 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7849
7850         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7851         elmo-update-number): Remove last period in "...done." message.
7852         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7853         Ditto.
7854         * elmo-cache.el (elmo-cache-expire-by-size,
7855         elmo-cache-get-sorted-cache-file-list,
7856         elmo-cache-msgdb-create-as-numlist): Ditto.
7857         * elmo-dop.el (elmo-dop-save-pending-messages,
7858         (elmo-dop-flush-pending-append-operations): Ditto.
7859         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7860         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7861         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7862         (elmo-localdir-pack-number): Ditto.
7863         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7864         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7865         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7866         mime-write-entity-content): Ditto.
7867         * pldap.el (ldap-search-basic): Ditto.
7868
7869 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7870
7871         * elmo-version.el (elmo-version): Up to 2.3.91.
7872
7873         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7874         Only when filter is 'last'.
7875
7876         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7877         (elmo-condition-parse-search-value): Use it.
7878         (elmo-read-search-condition-internal): Quote value only when
7879         it is not an atom.
7880
7881 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7882
7883         * elmo2.el (elmo-generic-folder-diff): Fix.
7884
7885 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7886
7887         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7888         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7889         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7890         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7891         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7892         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7893
7894 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7895
7896         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7897         extra-fields.
7898
7899 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7900
7901         * elmo-version.el (elmo-version): Up to 2.3.90.
7902
7903         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7904         (elmo-imap4-list-folder-important): Ditto.
7905
7906 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7907
7908         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7909
7910 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7911
7912         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7913
7914 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7915
7916         * elmo-nntp.el (elmo-network-initialize-session):
7917         Add starttls negotiation.
7918
7919 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7920
7921         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7922         response.
7923         (elmo-network-setup-session): Define.
7924         Call `elmo-nntp-send-mode-reader' when session opened.
7925
7926 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7927
7928         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7929
7930 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7931
7932         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7933         an invalid SPACE character ahead of `SEARCH' command.  Move
7934         a valid SPACE character following `SEARCH' from conditional
7935         `format' arguments to control-strings.
7936
7937 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7938
7939         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7940         was succeeded.
7941
7942         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7943
7944 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7945
7946         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7947         `w32-get-true-file-link-count' as t.
7948
7949         * elmo-imap4.el (elmo-imap4-read): Abolished.
7950         (Renamed to `elmo-read' and moved to elmo-util.el)
7951         All other related portions are changed.
7952
7953         * elmo-util.el (elmo-read): New function.
7954         (elmo-condition-parse-search-value): Use it.
7955
7956 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7957
7958         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7959
7960         * elmo-nntp.el (elmo-nntp-session): Define.
7961         (elmo-nntp-setting): Abolished.
7962         All other related portions are changed.
7963         (elmo-nntp-get-server-command): Changed argument.
7964         (elmo-nntp-set-server-command): Ditto.
7965         (elmo-nntp-xover-p): Ditto.
7966         (elmo-nntp-set-xover): Ditto.
7967         (elmo-nntp-listgroup-p): Ditto.
7968         (elmo-nntp-set-listgroup): Ditto.
7969         (elmo-nntp-list-active-p): Ditto.
7970         (elmo-nntp-set-list-active): Ditto.
7971         (elmo-nntp-xhdr-p): Ditto.
7972         (elmo-nntp-set-xhdr): Ditto.
7973         (elmo-nntp-flush-connection): Abolished.
7974         (elmo-nntp-get-connection): Abolished.
7975         (elmo-nntp-get-session): New function.
7976         (elmo-network-initialize-session): Defined.
7977         (elmo-network-authenticate-session): Ditto.
7978         (elmo-nntp-send-mode-reader): Changed argument.
7979         (elmo-nntp-send-command): Changed argument.
7980         All other related portions are changed.
7981         (elmo-nntp-read-response): Ditto.
7982         (elmo-nntp-read-raw-response): Ditto.
7983         (elmo-nntp-read-contents): Ditto.
7984         (elmo-nntp-read-body): Ditto.
7985         (elmo-nntp-goto-folder): Abolished.
7986         (elmo-nntp-select-group): New function.
7987         All other related portions are changed.
7988         (This function substitutes `elmo-nntp-goto-folder')
7989         (elmo-nntp-msgdb-create-by-header): Rewrite.
7990         (elmo-nntp-get-overview): Eliminated.
7991         (elmo-nntp-get-message): Ditto.
7992         (elmo-nntp-open-connection) Abolished.
7993         (elmo-nntp-read-msg): Rewrite.
7994         (elmo-nntp-post): Ditto.
7995         (elmo-nntp-send-data): Abolished.
7996         (elmo-nntp-send-buffer): New function.
7997         (elmo-nntp-send-data-line): Define as inline function.
7998         (elmo-nntp-get-folders-info-prepare): Use session as key.
7999         (elmo-nntp-groups-read-response): Changed argument.
8000         (elmo-nntp-retrieve-headers): Ditto.
8001         (elmo-nntp-msgdb-create-message): Ditto.
8002
8003         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8004         when searching by 'since' or 'before'.
8005
8006 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8007
8008         * elmo-version.el (toplevel): Use product-version-as-string for set
8009         verstion-string, if defined.
8010
8011 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8012
8013         * elmo-util.el: Doc fixes.
8014
8015 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8016
8017         * elmo-archive.el (toplevel): Use product-provide.
8018         * elmo-cache.el (toplevel): Ditto.
8019         * elmo-database.el (toplevel): Ditto.
8020         * elmo-date.el (toplevel): Ditto.
8021         * elmo-dop.el (toplevel): Ditto.
8022         * elmo-filter.el (toplevel): Ditto.
8023         * elmo-imap4.el (toplevel): Ditto.
8024         * elmo-internal.el (toplevel): Ditto.
8025         * elmo-localdir.el (toplevel): Ditto.
8026         * elmo-localnews.el (toplevel): Ditto.
8027         * elmo-maildir.el (toplevel): Ditto.
8028         * elmo-msgdb.el (toplevel): Ditto.
8029         * elmo-multi.el (toplevel): Ditto.
8030         * elmo-net.el (toplevel): Ditto.
8031         * elmo-nntp.el (toplevel): Ditto.
8032         * elmo-pipe.el (toplevel): Ditto.
8033         * elmo-pop3.el (toplevel): Ditto.
8034         * elmo-util.el (toplevel): Ditto.
8035         * elmo-vars.el (toplevel): Ditto.
8036         * elmo2.el (toplevel): Ditto.
8037         * mmelmo-1.el (toplevel): Ditto.
8038         * mmelmo-2.el (toplevel): Ditto.
8039         * mmelmo-imap4-1.el (toplevel): Ditto.
8040         * mmelmo-imap4-2.el (toplevel): Ditto.
8041         * mmelmo-imap4.el (toplevel): Ditto.
8042         * mmelmo.el (toplevel): Ditto.
8043
8044 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8045
8046         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8047         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8048
8049 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8050
8051         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8052         before splitting.
8053         (elmo-multi-split-number-alist): Ditto.
8054
8055 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8056
8057         * elmo-version.el: New file.  Use product.el.
8058         * elmo2.el: Add (require 'elmo-version).
8059         * elmo-vars.el (elmo-appname, elmo-version): Move to
8060         elmo-version.el
8061
8062 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8063
8064         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8065         `elmo-msgdb-expand-path'.
8066         (elmo-msgdb-load): Ditto.
8067         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8068         (elmo-generic-list-folder-unread): Rewrite.
8069         (elmo-generic-list-folder-important): Changed argument.
8070         (elmo-list-folder-unread): Ditto.
8071         (elmo-list-folder-important): Ditto.
8072         (elmo-folder-diff): Rewrite.
8073         (elmo-generic-folder-diff): New function.
8074         (elmo-multi-get-number-alist-list): Abolished
8075         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8076         (elmo-multi-folder-diff): Moved to elmo-multi.el
8077         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8078
8079         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8080         `elmo-msgdb-expand-path'.
8081         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8082         (elmo-pop3-read-msg): Ditto.
8083         (elmo-pop3-delete-msgs): Ditto.
8084         (elmo-pop3-folder-diff): New alias.
8085
8086         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8087         `elmo-msgdb-expand-path'.
8088         (elmo-pipe-list-folder-unread): Changed arguments.
8089         (elmo-pipe-list-folder-important): Ditto.
8090         (elmo-pipe-folder-diff): New alias.
8091
8092         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8093         `elmo-msgdb-expand-path'.
8094         (elmo-nntp-max-of-folder): Ditto.
8095         (elmo-nntp-msgdb-create): Ditto.
8096         (elmo-nntp-delete-msgs): Ditto.
8097         (elmo-nntp-folder-diff): New alias.
8098
8099         * elmo-multi.el (elmo-multi-folder-diff): New function.
8100         (elmo-multi-split-mark-alist): Ditto.
8101         (elmo-multi-split-number-alist): Ditto.
8102         (elmo-multi-mark-alist-list): Abolished (Renamed to
8103         elmo-multi-split-mark-alist).
8104         (elmo-multi-list-folder-unread): Rewrite.
8105         (elmo-multi-list-folder-important): Ditto.
8106         (elmo-multi-list-folder): Set `spec' as 1st argument for
8107         `elmo-msgdb-expand-path'.
8108         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8109         instead of `elmo-multi-get-number-alist-list'.
8110
8111         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8112         If 1st argument is not string, treat as spec.
8113         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8114         `elmo-msgdb-expand-path'.
8115         (elmo-msgdb-flist-load): Ditto.
8116         (elmo-msgdb-flist-save): Ditto.
8117         (elmo-msgdb-delete-path): Ditto.
8118         (elmo-msgdb-rename-path): Ditto.
8119
8120         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8121         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8122         (elmo-maildir-delete-mark-msgs): Ditto.
8123         (elmo-maildir-msgdb-create): Ditto.
8124         (elmo-maildir-read-msg): Ditto.
8125         (elmo-maildir-delete-msgs): Ditto.
8126         (elmo-maildir-list-folder-subr): Ditto.
8127         (elmo-maildir-search): Ditto.
8128         (elmo-maildir-get-msg-filename): Ditto.
8129         (elmo-maildir-pack-number): Ditto.
8130         (elmo-maildir-folder-diff): New alias.
8131
8132         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8133
8134         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8135         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8136         (elmo-localdir-folder-diff): New alias.
8137
8138         * elmo-internal.el (elmo-internal-list-folder-subr):
8139         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8140         (elmo-internal-list-folder-by-location): Ditto.
8141         (elmo-internal-msgdb-create): Ditto.
8142         (elmo-internal-delete-msgs): Ditto.
8143         (elmo-internal-read-msg): Ditto.
8144         (elmo-internal-folder-diff): New alias.
8145
8146         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8147         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8148         `elmo-msgdb-expand-path'.
8149         (elmo-imap4-list-folder-unread): Changed arguments.
8150         (elmo-imap4-list-folder-important): Ditto.
8151
8152         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8153         (elmo-filter-list-folder-important): Ditto.
8154         (elmo-filter-folder-diff): New function.
8155
8156         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8157
8158         * elmo-cache.el (elmo-cache-list-folder):
8159         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8160         (elmo-cache-copy-msgs): Ditto.
8161         (elmo-cache-folder-diff): New alias.
8162
8163         * elmo-archive.el (elmo-archive-list-folder-subr):
8164         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8165         (elmo-archive-get-archive-name): Ditto.
8166         (elmo-archive-create-file): Ditto.
8167         (elmo-archive-append-msg): Ditto.
8168         (elmo-archive-copy-msgs): Ditto.
8169         (elmo-archive-copy-msgs-froms): Ditto.
8170         (elmo-archive-get-msg-filename): Ditto.
8171         (elmo-archive-folder-diff): New alias.
8172
8173 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8174
8175         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8176         (elmo-pop3-stream-type-alist): New variable.
8177         (elmo-nntp-stream-type-alist): New variable.
8178
8179         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8180         (elmo-kill-buffer): Ditto.
8181         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8182         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8183         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8184         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8185         (elmo-imap4-get-spec): Take into account
8186         `elmo-imap4-stream-type-alist'.
8187
8188 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8189
8190         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8191         (elmo-nntp-list-folders-get-cache): Ditto.
8192
8193 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8194
8195         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8196         character before 'uid'.
8197
8198 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8199
8200         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8201
8202         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8203
8204         * elmo-util.el (elmo-number-set-member): New function.
8205         (elmo-number-set-append-list): Ditto.
8206         (elmo-number-set-append): Ditto.
8207
8208         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8209         Use `elmo-number-set-member'.
8210         (elmo-living-messages): Ditto.
8211         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8212         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8213
8214         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8215         (elmo-imap4-add-to-cont-list): Abolished.
8216         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8217         instead of elmo-imap4-add-to-cont-list.
8218
8219         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8220         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8221
8222         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8223
8224 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8225
8226         * elmo-util.el (elmo-condition-parse-search-value):
8227         Fixed date parsing.
8228
8229 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8230
8231         * elmo-util.el (elmo-condition-find-key-internal): New function.
8232         (elmo-condition-find-key): Ditto.
8233
8234         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8235         (elmo-msgdb-search-internal): Ditto.
8236         (elmo-msgdb-search): Ditto.
8237
8238 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8239
8240         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8241         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8242
8243         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8244         (elmo-nntp-search-primitive): Fixed problem when condition is
8245         'unmatch'.
8246
8247         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8248
8249         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8250         (elmo-nntp-xhdr-p): New macro.
8251         (elmo-nntp-set-xhdr): Ditto.
8252         (elmo-nntp-parse-xhdr-response): New function.
8253         (elmo-nntp-retrieve-field): Ditto.
8254         (elmo-nntp-search-primitive): Ditto.
8255         (elmo-nntp-search): Implemented.
8256
8257         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8258
8259         * elmo-archive.el (elmo-archive-search): Set all number list to
8260         `elmo-archive-field-condition-match'
8261
8262         * elmo-localdir.el (elmo-localdir-search): Likewise.
8263
8264         * elmo-maildir.el (elmo-maildir-search): Likewise.
8265
8266 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8267
8268         * elmo-msgdb.el (elmo-living-messages): New function.
8269         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8270         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8271         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8272         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8273         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8274         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8275         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8276         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8277         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8278         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8279         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8280
8281 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8282
8283         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8284
8285         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8286
8287         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8288
8289         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8290         arguments for `SEARCH' command.
8291         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8292         All other related portions are changed.
8293
8294         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8295
8296         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8297         (elmo-list-folder-unread): Rewrite.
8298         (elmo-list-folder-important): Ditto.
8299
8300         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8301         (elmo-condition-parse-error): New inline function.
8302         (elmo-read-search-condition): New function.
8303         (elmo-read-search-condition-internal): Ditto.
8304         (elmo-parse-search-condition): Rewrite.
8305         (elmo-condition-parse): New function.
8306         (elmo-condition-parse-or-expr): Ditto.
8307         (elmo-condition-parse-and-expr): Ditto.
8308         (elmo-condition-parse-primitive): Ditto.
8309         (elmo-condition-parse-search-value): Ditto.
8310         (elmo-buffer-field-primitive-condition-match): Ditto.
8311         (elmo-buffer-field-condition-match): Rewrite.
8312         (elmo-file-field-condition-match): Ditto.
8313
8314         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8315         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8316
8317         * elmo-internal.el (elmo-internal-search): Set `number' and
8318         `number-list' argument of `elmo-file-field-condition-match'.
8319
8320         * elmo-maildir.el (elmo-maildir-search): Ditto.
8321
8322         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8323         `msgdb' as argument instead of `mark-alist'.
8324         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8325         `overview'.
8326
8327         * elmo-multi.el: Likewise.
8328
8329         * elmo-pipe.el: Likewise.
8330
8331         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8332         (elmo-imap4-search-internal): Rewrite.
8333         (elmo-imap4-search): Ditto.
8334
8335         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8336         (elmo-filter-list-folder-unread): Ditto.
8337         (elmo-filter-list-folder-important): Ditto.
8338         (elmo-filter-search): Rewrite.
8339
8340         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8341         `number-list' argument of `elmo-file-field-condition-match'.
8342         (elmo-cache-search): Ditto.
8343
8344         * elmo-localdir.el: Likewise.
8345
8346         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8347         number-list and pass it to `elmo-buffer-field-condition-match'.
8348         (elmo-archive-field-condition-match): Pass `number-list' to
8349         `elmo-archive-field-condition-match'
8350
8351 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8352
8353         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8354         `listgroup'.
8355
8356         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8357         (elmo-folder-diff-async-callback-data): Ditto.
8358         (elmo-folder-diff-async): New function.
8359
8360         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8361         (elmo-network-session-cache-key): Use it as a prefix of the session
8362         name.
8363         (elmo-network-open-session): Ditto.
8364
8365         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8366         (elmo-imap4-status-callback-data): Ditto.
8367         (elmo-imap4-server-diff-async-callback): New variable.
8368         (elmo-imap4-server-diff-async-callback-data): Ditto.
8369         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8370         `elmo-imap4-status-callback-data'.
8371         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8372         `elmo-imap4-status-callback-data' as nil.
8373         (elmo-imap4-server-diff): Ditto.
8374         (elmo-imap4-server-diff-async-callback-1): New function.
8375         (elmo-imap4-server-diff-async): Ditto.
8376         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8377
8378 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8379
8380         * elmo-util.el (elmo-list-delete): Doc fix.
8381         (elmo-delete-lists): Abolish.
8382         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8383         instead of `elmo-delete-lists'.
8384
8385 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8386
8387         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8388         before `sort'.
8389
8390 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8391
8392         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8393         `elmo-imap4-literal-subr'.
8394         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8395         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8396
8397 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8398
8399         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8400         (elmo-archive-list-folder): Fix.
8401         (elmo-archive-max-of-folder): Fix.
8402
8403 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8404
8405         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8406          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8407         (elmo-localdir-append-msg): Ditto.
8408         (elmo-localdir-list-folder): Fix for `nonsort'.
8409         (elmo-localdir-list-folder-subr): Fix for `killed'.
8410         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8411         (elmo-maildir-list-folder-subr): Ditto.
8412         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8413         (elmo-archive-list-folder-subr): Ditto.
8414         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8415         (elmo-internal-list-folder-subr): Ditto.
8416
8417 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8418
8419         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8420
8421 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8422
8423         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8424
8425 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8426
8427         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8428         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8429
8430         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8431         before greeting.
8432         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8433         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8434
8435 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8436
8437         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8438
8439         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8440         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8441         before STORE command.
8442
8443 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8444
8445         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8446
8447         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8448         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8449         of `response'.
8450         (elmo-imap4-list-folders): Removed unused local variable.
8451         (elmo-network-initialize-session): Ditto.
8452         (elmo-imap4-delete-msg-by-id): Ditto.
8453         (elmo-imap4-parse-fetch): Ditto.
8454         (elmo-imap4-copy-msgs): Ditto.
8455         Use `dst-spec' instead of `dst-folder'.
8456         (elmo-network-authenticate-session): Check authenticate type `plain'.
8457
8458 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8459
8460         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8461         garbage checking.
8462         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8463         `elmo-imap4-response-value'.
8464         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8465
8466 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8467
8468         * elmo-imap4.el (elmo-imap4-send-command):
8469         Cause elmo-imap4-bye-error when current response is BYE.
8470         (elmo-imap4-arrival-filter): Changed greeting response value.
8471
8472         * elmo2.el (elmo-imap4-bye-error): Define.
8473
8474         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8475         (elmo-imap4-server-diff): Ditto.
8476         (elmo-imap4-response-bye-p): New macro.
8477         (elmo-imap4-response-error-text): Get text from BYE response.
8478         (elmo-imap4-read-response): Return if BYE response.
8479         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8480         (elmo-imap4-folder-exists-p): Ditto.
8481         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8482         (elmo-imap4-parse-bye): New function.
8483         (elmo-imap4-parse-response): Remove needless let.
8484         Call `elmo-imap4-parse-bye'.
8485
8486 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8487
8488         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8489         the mailbox does not exist.
8490         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8491
8492 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8493
8494         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8495
8496 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8497
8498         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8499
8500         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8501         (elmo-network-initialize-session-buffer): Defined.
8502
8503         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8504         Abolished.
8505         (mmelmo-imap4-get-mime-entity): Rewrite.
8506
8507         * elmo2.el (elmo-error): Capitalize error message.
8508
8509         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8510         (elmo-network-session-buffer): New macro.
8511         (elmo-network-open-session): Use it.
8512
8513         * elmo-imap4.el: Rewrite.
8514
8515 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8516
8517         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8518
8519 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8520
8521         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8522         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8523         (elmo-imap4-create-msgdb-from-overview-string): Use
8524         `elmo-msgdb-create-overview-from-buffer'.
8525
8526 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8527
8528         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8529         (elmo-imap4-default-hierarchy-delimiter): New variable.
8530         (elmo-imap4-list-folders): Use it.
8531
8532 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8533
8534         * elmo-net.el (elmo-network-open-session): Add user and
8535         stream-type for process-buffer name.
8536
8537         * elmo-pop3.el (elmo-network-initialize-session): Call
8538         buffer-disable-undo.
8539
8540         * elmo-imap4.el (elmo-network-initialize-session):
8541         Set current-buffer as an argument for `buffer-disable-undo'.
8542
8543         * elmo-pop3.el (elmo-network-close-session): Don't use
8544         `process-live-p'.
8545
8546         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8547         Set default as 'user.
8548
8549         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8550
8551         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8552         and `elmo-imap4-flush-connection'.
8553
8554         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8555         (elmo-pop3-get-spec): Assume auth as symbol.
8556         (elmo-open-network-stream): Moved to `elmo-net'.
8557
8558         * elmo-pop3.el (toplevel): Require 'elmo-net.
8559         Define `sasl-cram-md5' to silence byte compilier.
8560         (elmo-pop3-connection-cache) Abolished.
8561         (elmo-pop3-authenticator-alist) New variable.
8562         (elmo-pop3-session): Define.
8563         (elmo-pop3-connection-get-process): Abolished.
8564         (elmo-pop3-connection-get-buffer): Ditto.
8565         (elmo-pop3-close-connection): Ditto.
8566         (elmo-pop3-flush-connection): Ditto.
8567         (elmo-pop3-get-connection): Ditto.
8568         (elmo-pop3-get-session): New function.
8569         (Replacement for `elmo-pop3-get-connection').
8570         All other related modules are changed.
8571         (elmo-network-close-session): Define.
8572         (elmo-pop3-send-command): Abolished argument `buffer'.
8573         All other related modules are changed.
8574         (elmo-pop3-read-response): Likewise.
8575         (elmo-pop3-open-connection): Abolished.
8576         (elmo-pop3-auth-user): New function.
8577         (elmo-pop3-auth-apop): Ditto.
8578         (elmo-pop3-auth-cram-md5): Ditto.
8579         (elmo-pop3-auth-scram-md5): Ditto.
8580         (elmo-pop3-auth-digest-md5): Ditto.
8581         (elmo-network-initialize-session): Define.
8582         (elmo-network-authenticate-session): Ditto.
8583         (elmo-network-setup-session): Ditto.
8584
8585         * elmo-imap4.el (toplevel): Require 'elmo-net.
8586         (elmo-imap4-session): Define.
8587         (elmo-imap4-connection-cache): Abolished.
8588         (elmo-imap4-password-key): Ditto.
8589         (elmo-imap4-flush-connection): Ditto.
8590         (elmo-imap4-get-connection): Ditto.
8591         All other related modules are changed.
8592         (elmo-imap4-get-session): New function
8593         (Replacement for `elmo-imap4-get-connection').
8594         (elmo-imap4-read-response): Abolished argument `buffer'.
8595         All other related modules are changed.
8596         (elmo-imap4-send-command): Likewise.
8597         (elmo-imap4-select-folder): Abolished.
8598         All other related modules are changed.
8599         (elmo-imap4-select-mailbox): New function.
8600         (Replacement for `elmo-imap4-select-folder').
8601         (elmo-imap4-auth-login): Simplify.
8602         (Assume current buffer as process buffer)
8603         (elmo-imap4-auth-cram-md5): Ditto.
8604         (elmo-imap4-auth-digest-md5): Ditto.
8605         (elmo-imap4-login): Ditto.
8606         (elmo-imap4-open-connection): Abolished.
8607         (elmo-imap4-open-connection-1): Abolished.
8608         (elmo-network-initialize-sessoin): Define.
8609         (elmo-network-authenticate-session): Ditto.
8610         (elmo-network-setup-session): Ditto.
8611
8612         * elmo-net.el: New module.
8613
8614 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8615
8616         * elmo-util.el (elmo-define-error): New function.
8617
8618         * elmo2.el (elmo-error): Define.
8619         (elmo-open-error): Define.
8620         (elmo-authenticate-error): Define.
8621
8622         * elmo-imap4.el (elmo-imap4-error): Abolish.
8623         (elmo-imap4-error-type): Abolish.
8624         (elmo-imap4-error-process): Abolish.
8625         (elmo-imap4-error-message): Abolish
8626         (elmo-imap4-list-folders): Don't quote lambda.
8627         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8628         (elmo-imap4-parse-namespace): Ditto.
8629         (elmo-imap4-open-connection): Rewrite.
8630         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8631         (elmo-imap4-get-connection): Abolish local variable `result'.
8632
8633 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8634
8635         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8636         wrong-type-argument error when auth is nil.
8637
8638 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8639
8640         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8641         (elmo-default-nntp-stream-type): Ditto.
8642         (elmo-default-pop3-stream-type): Ditto.
8643         (elmo-network-stream-type-alist): Ditto.
8644         (elmo-default-imap4-ssl): Abolished.
8645         (elmo-default-nntp-ssl): Ditto.
8646         (elmo-default-pop3-ssl): Ditto.
8647
8648         * elmo-util.el: (toplevel): Removed needless requires.
8649         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8650         (elmo-open-network-stream): Open network stream according to
8651         the value of `elmo-network-stream-type-alist'.
8652         (elmo-get-network-stream-type): New function.
8653         (elmo-network-stream-type-spec-string): New macro.
8654         (elmo-network-stream-type-symbol): Ditto.
8655         (elmo-network-stream-type-function): Ditto.
8656
8657         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8658         network-stream-type. All other related portions are changed.
8659         (elmo-pop3-open-connection): Ditto.
8660
8661         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8662         network-stream-type. All other related portions are changed.
8663
8664         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8665         network-stream-type.All other related portions are changed.
8666         (elmo-imap4-error): New macro.
8667         (elmo-imap4-error-type): Ditto.
8668         (elmo-imap4-error-process): Ditto.
8669         (elmo-imap4-error-message): Ditto.
8670         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8671         (elmo-imap4-auth-cram-md5): Ditto.
8672         (elmo-imap4-auth-digest-md5): Ditto.
8673         (elmo-imap4-login): Ditto.
8674         (elmo-imap4-open-connection): Remove password entry if authentication
8675         was in vain.
8676         (elmo-imap4-user-at-host): Abolished.
8677         (elmo-imap4-password-key): New buffer local variable.
8678         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8679         using protocol, port, auth and stream-type.
8680
8681         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8682
8683 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8684
8685         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8686
8687         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8688
8689         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8690         (elmo-imap4-authenticator-alist): New variable.
8691         (elmo-imap4-open-connection-1): Rename from
8692         elmo-imap4-open-connection.
8693         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8694         only wraps elmo-imap4-open-connection-1.
8695         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8696         user-at-host.
8697         (elmo-imap4-auth-login): New function.
8698         (elmo-imap4-auth-cram-md5): New function.
8699         (elmo-imap4-auth-digest-md5): New function.
8700         (elmo-imap4-login): New function.
8701
8702 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8703
8704         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8705         function `error'.
8706
8707 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8708
8709         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8710
8711 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8712
8713         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8714
8715 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8716
8717         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8718         for server responses, quote `*' regardless of where it appears.
8719
8720 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8721
8722         * elmo-maildir.el (elmo-maildir-commit): New alias.
8723
8724 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8725
8726         * elmo-util.el (elmo-display-progress):
8727                 Use `progress-feedback-with-label'.
8728
8729 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8730
8731         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8732         (elmo-imap4-non-atom-char-regex): Ditto.
8733         (elmo-imap4-non-text-char-regex): Ditto.
8734         (elmo-imap4-literal-threshold): Ditto.
8735         (elmo-imap4-atom-p): New function.
8736         (elmo-imap4-quotable-p): Ditto.
8737         (elmo-imap4-nil): Ditto.
8738         (elmo-imap4-atom): Ditto.
8739         (elmo-imap4-quoted): Ditto.
8740         (elmo-imap4-literal-subr): Ditto.
8741         (elmo-imap4-literal): Ditto.
8742         (elmo-imap4-buffer-literal): Ditto.
8743         (elmo-imap4-string-subr): Ditto.
8744         (elmo-imap4-string): Ditto.
8745         (elmo-imap4-buffer-string): Ditto.
8746         (elmo-imap4-astring-subr): Ditto.
8747         (elmo-imap4-astring): Ditto.
8748         (elmo-imap4-buffer-astring): Ditto.
8749         (elmo-imap4-nstring): Ditto.
8750         (elmo-imap4-buffer-nstring): Ditto.
8751         (elmo-imap4-mailbox): New alias.
8752         (elmo-imap4-field-body): Ditto.
8753         (elmo-imap4-userid): Ditto.
8754         (elmo-imap4-password): Ditto.
8755         (elmo-imap4-format-quoted): New function.
8756         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8757         arguments and handle "atom", "quoted" and "literal" string here.
8758         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8759         `elmo-imap4-send-command'.
8760         (elmo-imap4-folder-exists-p): Likewise.
8761         (elmo-imap4-create-folder): Likewise.
8762         (elmo-imap4-delete-folder): Likewise.
8763         (elmo-imap4-rename-folder): Likewise.
8764         (elmo-imap4-max-of-folder): Likewise.
8765         (elmo-imap4-check-validity): Likewise.
8766         (elmo-imap4-sync-validity): Likewise.
8767         (elmo-imap4-server-diff): Likewise.
8768         (elmo-imap4-select-folder): Likewise.
8769         (elmo-imap4-copy-msgs): Likewise.
8770         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8771         (elmo-imap4-mark-set-on-msgs): Likewise.
8772         (elmo-imap4-read-part): Likewise.
8773         (elmo-imap4-read-msg): Likewise.
8774         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8775         `elmo-imap4-password' for `elmo-imap4-send-command'.
8776         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8777         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8778         `elmo-imap4-buffer-literal'.
8779         (elmo-imap4-append-msg): Likewise.
8780
8781         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8782         `delete' for removing dead connection from the connection cache.
8783         Move deletion of the process buffer after that.
8784         (elmo-imap4-list): Change `defsubst' to `defun'.
8785         (elmo-imap4-commit): Make error message verbose.
8786         (elmo-imap4-search): Ditto.
8787         (elmo-imap4-list): Ditto.
8788         (elmo-imap4-select-folder): Ditto.
8789         (elmo-imap4-copy-msgs): Ditto.
8790         (elmo-imap4-delete-msg-by-id): Ditto.
8791         (elmo-imap4-append-msg-by-id): Ditto.
8792         (elmo-imap4-append-msg): Ditto.
8793
8794 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8795
8796         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8797         when dired is used on XEmacs.
8798
8799 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8800
8801         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8802         instead of `append'.
8803         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8804         `elmo-plugged-p' directly.
8805         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8806         of `elmo-plugged-p' directly.
8807
8808         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8809         Eliminate unused variable.  Use `memq' for checking a process status.
8810         Use `cons' instead of `append' for updating the connection cache.
8811         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8812         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8813
8814 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8815
8816         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8817         `elmo-imap4-read-point' exactly.
8818
8819         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8820         the local variable `folder' to `mailbox'.
8821         Rename the argument `fld' to `folder'.
8822
8823 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8824
8825         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8826         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8827
8828 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8829
8830         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8831         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8832         (elmo-pop3-uidl-number-hash): Ditto.
8833         (elmo-pop3-size-hash): Ditto.
8834         (elmo-pop3-uidl-done): Ditto.
8835         (elmo-pop3-list-done): Ditto.
8836         (elmo-pop3-connection-get-process): New defmacro.
8837         (elmo-pop3-connection-get-buffer): Ditto.
8838         (elmo-pop3-close-connection): Delete buffer and process.
8839         (elmo-pop3-flush-connection): Don't delete buffer and process.
8840         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8841         Setup UIDL and size hash.
8842         (elmo-pop3-send-command-no-erase): Deleted
8843         (elmo-pop3-send-command): Added optional argument `no-erase'.
8844         (elmo-pop3-parse-uidl-response): New function.
8845         (elmo-pop3-parse-list-response): Set size hash.
8846         (elmo-pop3-list-location): New function.
8847         (elmo-pop3-list-by-uidl-subr): Ditto.
8848         (elmo-pop3-list-by-list): Ditto.
8849         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8850         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8851         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8852         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8853         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8854         Use uidl.
8855         (elmo-pop3-uidl-to-number): New function.
8856         (elmo-pop3-number-to-uidl): Ditto.
8857         (elmo-pop3-number-to-size): Ditto.
8858         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8859         Set number by use of uidl.
8860         (elmo-pop3-msgdb-create-message): Likewise.
8861         Set size, loc-alist in msgdb.
8862         (elmo-pop3-read-msg): Set number by use of uidl.
8863         Added optional argument `msgdb'.
8864         (elmo-pop3-delete-msg): Ditto.
8865         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8866         (elmo-pop3-commit): Close connection.
8867
8868         * elmo-pipe.el (elmo-pipe-max-of-folder):
8869         Bind `elmo-pop3-use-uidl' as nil.
8870         (elmo-pipe-drain): Ditto.
8871         Call `elmo-commit'.
8872
8873         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8874         (elmo-msgdb-overview-entity-set-size): New defsubst.
8875
8876 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8877
8878         * elmo-vars.el (elmo-use-killed-list): New variable
8879         (Renamed from `elmo-nntp-use-killed-list').
8880         (elmo-nntp-use-killed-list): Eliminated.
8881
8882         * elmo-msgdb.el (elmo-msgdb-expand-path):
8883         Changed expanding msgdb path for elmo-multi.
8884
8885         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8886         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8887         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8888         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8889         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8890         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8891         (toplevel): Deleted time-stamp line.
8892
8893         * elmo2.el (elmo-clear-killed ): Defined as function
8894         (Abolished defining as a backend function).
8895         All other related modules are changed.
8896
8897 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8898
8899         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8900
8901 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8902
8903         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8904
8905 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8906
8907         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8908
8909 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8910
8911         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8912         asynchronous folder check.
8913
8914         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8915
8916         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8917         `elmo-nntp-use-killed-list'.
8918         (elmo-nntp-list-folder): Use killed list.
8919         (elmo-nntp-max-of-folder): Ditto.
8920         (elmo-nntp-msgdb-create): Set killed list.
8921
8922         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8923
8924         * elmo2.el (elmo-clear-killed): New backend function.
8925         All other related modules are changed.
8926
8927 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8928
8929         * elmo-util.el (elmo-imap4-spec-folder): Use
8930         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8931         All callers changed.
8932
8933 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8934
8935         * mmelmo-2.el (initialize-instance):
8936         Use `mime-buffer-entity-buffer-internal' instead of
8937         `mime-entity-buffer'.
8938
8939         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8940         (mime-entity-body): Implemented.
8941         (mime-goto-header-start-point): Deleted.
8942         (mime-goto-body-end-point): Ditto.
8943         (mime-entity-point-min): Ditto.
8944         (mime-entity-point-max): Ditto.
8945         (mime-entity-children): Ditto.
8946         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8947         instead of `mime-entity-buffer'.
8948         (mime-entity-header-buffer): Ditto.
8949         (mime-entity-body-buffer): Ditto.
8950         (mime-write-entity-content): Ditto.
8951
8952         * pldap.el (ldap-static-if): New macro.
8953         (toplevel): Use it instead of `static-if'.
8954
8955 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8956
8957         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8958         included in `attrs' argument.
8959
8960 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8961
8962         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8963
8964         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8965         (ldap-ldif-safe-init-char-regexp): Ditto.
8966         (ldap-ldif-safe-string-regexp): Ditto.
8967         (ldap/ldif-safe-string-p): New macro.
8968         (ldap/ldif-insert-field): Ditto.
8969         (ldap-modify): Use it.
8970         (ldap-add): Ditto.
8971         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8972         (ldap-decode-attribute): Decode only when `attr' is consp.
8973         (ldap-delete): Bind `ret'.
8974         (toplevel): Require 'cl at compile time.
8975         Removed (require 'poe) and (require 'std11).
8976         (pldap-version): Eliminated.
8977         (ldap-search-basic): Removed auth and dn binding.
8978         (ldap-ldif-field-name-regexp): New constant.
8979         (ldap-ldif-field-head-regexp): Ditto.
8980         (ldap-ldif-next-field-head-regexp): Ditto.
8981         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8982         (ldap/field-end): New function.
8983         (ldap/field-body): Use it.
8984         (ldap/collect-field): Ditto.
8985         (ldap-search-basic): Use `ldap/field-body'.
8986
8987 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8988
8989         * pldap.el (ldap-default-attribute-encoder): New user option.
8990         (ldap/field-body): Decode base64 string.
8991         (ldap/collect-field): Ditto.
8992         (ldap-encode-attribute): New function.
8993         (ldap-add-entries): Use it.
8994         (ldap-modify-entries): Ditto.
8995         (ldap-search-entries): Enclosed decoding function with
8996         `with-temp-buffer' and set as unibyte.
8997         (ldap-search-basic): Set process buffer as unibyte.
8998
8999         * elmo-util.el (elmo-folder-identical-system-p):
9000         Eliminated name space checking.
9001
9002         * pldap.el: New module.
9003         toplevel: Changed condition to detect built-in ldap feature.
9004         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9005         (ldap-add): Added error handling.
9006         (ldap-modify): Ditto.
9007         (ldap-delete): Ditto.
9008
9009 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9010
9011         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9012         Initialize local variables with `let'.  Inline a temporary
9013         variable for the progress percentage.  Sort `setq' to reduce
9014         function call in the while-loop.
9015
9016         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9017         into the conditional branch.
9018
9019 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9020
9021         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9022         Move a conditional out of the while-loop.
9023
9024 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9025
9026         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9027         elmo-msgdb-overview-get-entity-by-number.
9028         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9029         throw.
9030
9031 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9032
9033         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9034         the local variable for a packed number self descriptively.
9035
9036 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9037
9038         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9039         * elmo-localdir.el (elmo-localdir-pack-number): Use
9040         `elmo-msgdb-overview-get-entity' instead of
9041         `elmo-msgdb-overview-get-entity-by-number'.
9042         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9043         (elmo-msgdb-search-overview-entity): Removed.
9044         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9045         by message-id or number.
9046         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9047         instead of `elmo-msgdb-overview-get-entity-by-number'.
9048
9049 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9050
9051         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9052         non-nil, use hash table for overview.
9053         (elmo-hash-maximum-size): New variable.
9054         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9055         (elmo-msgdb-make-overview-hashtb): New function.
9056         (elmo-msgdb-clear-overview-hashtb): New function.
9057         (elmo-clear-hash-val): New macro.
9058         All other related modules are changed.
9059
9060 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9061
9062         * elmo2.el (elmo-move-msgs): If there's other message with
9063         same message-id, don't use cache.
9064
9065 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9066
9067         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9068         number is already packed.
9069
9070 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9071
9072         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9073
9074 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9075
9076         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9077         All other related modules are changed.
9078
9079 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9080
9081         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9082         of refiling failure on Maildir.
9083
9084 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9085
9086         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9087         decoded mime-charset with cache.
9088         (elmo-msgdb-overview-entity-get-from): Ditto.
9089         (elmo-msgdb-overview-entity-get-subject): Ditto.
9090         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9091
9092 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9093
9094         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9095         (elmo-remove-passwd): Fill password with 0 before erase.
9096         * elmo-vars.el (elmo-passwd-life-time): New variable.
9097
9098 \f
9099 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9100
9101         * elmo-cache.el (elmo-buffer-cache-add):
9102         Set message cache buffer as unibyte.
9103
9104 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9105
9106         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9107         become nil.
9108
9109 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9110
9111         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9112         when display is finished.
9113         (elmo-nntp-msgdb-create): Ditto.
9114         (elmo-nntp-groups-read-response): Ditto.
9115         (elmo-nntp-retrieve-headers): Ditto.
9116         (elmo-nntp-msgdb-create-message): Ditto.
9117         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9118         (elmo-pop3-msgdb-create-message): Ditto.
9119
9120 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9121
9122         * elmo-maildir.el (elmo-maildir-msgdb-create):
9123         Use `elmo-msgdb-sort-by-date'.
9124
9125 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9126
9127         * elmo2.el (elmo-read-msg-no-cache):
9128         Eliminated arguments after `outbuf'.
9129         Don't use cache even if it exists.
9130         (elmo-read-msg): Don't pass arguments after `outbuf' to
9131         `elmo-read-msg-no-cache'.
9132
9133 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9134
9135         * elmo-archive.el (elmo-archive-list-folders):
9136         Use `file-name-directory' if base folder does not exist.
9137
9138 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9139
9140         * elmo-archive.el (elmo-archive-list-folders): Don't use
9141         `file-name-directory'.
9142
9143 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9144
9145         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9146         If `force' is non-nil, try flushing all operation queues.
9147
9148 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9149
9150         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9151         as-binary-process.
9152
9153 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9154
9155         * elmo-util.el (elmo-display-progress): Fixed.
9156
9157 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9158
9159         * elmo-util.el (elmo-display-progress): New function.
9160         All other related modules are changed.